sora_generate_video_from_image
Convert static images into AI videos by describing motion and uploading reference photos. Animate artwork and scenes while preserving visual style using OpenAI Sora.
Instructions
Generate an AI video from reference images using Sora (Image-to-Video).
This allows you to animate or create videos based on provided images.
The AI will use the images as visual references for the generated video.
Use this when:
- You have reference images you want to animate
- You want the video to match a specific visual style
- You want to bring static images to life
Returns:
Task ID and generated video information including URLs and state.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the video to generate based on the image. Describe the action or motion you want to see. | |
| image_urls | Yes | List of reference image URLs to use for video generation. Can be image URLs or Base64 encoded images. | |
| model | No | Sora model version. 'sora-2' or 'sora-2-pro' for higher quality. | sora-2 |
| size | No | Video resolution. 'small' for lower resolution, 'large' for higher resolution. | large |
| duration | No | Video duration in seconds. Options: 10, 15, or 25 (25 only for sora-2-pro). | |
| orientation | No | Video orientation. 'landscape', 'portrait'. | landscape |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |