Model
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | No | Text description |
start_image_url | string | Yes | Starting frame image URL |
end_image_url | string | No | Ending frame (disables preset_id, sound, slow_motion) |
duration | integer | No | 5 or 10 seconds |
aspect_ratio | string | No | 1:1, 3:4, 2:3, 9:16, 3:2, 4:3, 16:9, 21:9 |
preset_id | string | No | Camera movement preset ID |
sound | boolean | No | Enable AI-generated sound |
slow_motion | boolean | No | Enable slow motion effect |
seed | integer | No | 0-999999 for reproducibility |
Generation Modes
Mode 1: Start Image Only (Full Features)- Camera movement presets (
preset_id) - Sound generation (
sound) - Slow motion effect (
slow_motion)
- Video transitions between the two images
preset_id,sound, andslow_motionare ignored
Example - Basic Generation
Example - With Camera Movement
Example - Image Transition
Supported Aspect Ratios
| Aspect Ratio | Resolution |
|---|---|
| 1:1 | 1280x1280 |
| 3:4 | 1080x1440 |
| 2:3 | 1080x1620 |
| 9:16 | 1080x1920 |
| 3:2 | 1620x1080 |
| 4:3 | 1440x1080 |
| 16:9 | 1920x1080 |
| 21:9 | 2520x1080 |
Response
Pricing
| Duration | Sound | Price |
|---|---|---|
| 5s | On | $0.16 |
| 5s | Off | $0.10 |
| 10s | On | $0.36 |
| 10s | Off | $0.20 |
