Image To Video
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | ✅ Yes | sora-2-pro | The video generation model to use. |
prompt | string | ✅ Yes | - | The positive prompt for the generation. |
images | string[] | ✅ Yes | - | Array of image URLs to use as reference for video generation. |
size | string | ✅ Yes | small | Video size quality. Options: small, large. Only sora-2-pro supports high-definition (large). Note: large is not supported when duration is 25s. |
orientation | string | ❌ No | portrait | Video orientation, does not support specific size control. Options: portrait, landscape. |
duration | integer | ❌ No | 10 | The duration of the generated video in seconds. For sora-2: 10, 15. For sora-2-pro: 15, 25. |
character_url | string | ❌ No | - | Non-human IP video URL. Used for character reference in video generation. |