create_video_with_image
Turn a reference image into a video using it as the first frame. Describe the motion in a text prompt to generate a video matching the image's style and composition.
Instructions
Create a video using an image as the first frame reference. The image guides the visual style and composition of the generated video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Resolution of the output video. Should match the input image aspect ratio. | 1280x720 |
| model | No | Model to use. | sora-2 |
| prompt | Yes | Text description of the action/motion to apply to the reference image. | |
| seconds | No | Duration of the video in seconds. | |
| image_url | No | URL of the reference image to use as the first frame. Must be publicly accessible. | |
| image_base64 | No | Base64-encoded image data (alternative to image_url). Include the data URI prefix, e.g., 'data:image/jpeg;base64,...' |