OpenAI Sora 2 Image-to-Video
Video
OpenAI Sora 2 Image-to-Video
POST
OpenAI Sora 2 Image-to-Video
OpenAI Sora 2 converts a single reference image into a coherent video clip with synchronized audio. Based on Sora 2’s core advancements, the image-to-video workflow preserves identity, lighting, and composition while synthesizing believable motion and camera dynamics.
Request Headers
string
required
Enum value:
application/jsonstring
required
Bearer authentication format: Bearer {{API key}}.
Request Body
string
required
Positive text prompt for video generation.
string
required
The input image supports URL and Base64 formats. Supported image formats include .jpg, .jpeg, and .png.
string
The resolution of the generated video.Enum values:
- When professional is true (Pro version):
720p,1080p. - When professional is false:
720p.
720p.integer
The duration of the generated video, in seconds.Enum values:
4, 8, 12.Default: 4.bool
default:false
This parameter specifies whether to use the Pro version. If not provided, the default value is false.
Response
string
required
The task_id of the asynchronous task. You should use this task_id to call the Get Task Result API to obtain the generation result.