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
Enum value:
application/jsonBearer authentication format: Bearer {{API key}}.
Request Body
Positive text prompt for video generation.
The input image supports URL and Base64 formats. Supported image formats include .jpg, .jpeg, and .png.
The resolution of the generated video.Enum values:
- When professional is true (Pro version):
720p,1080p. - When professional is false:
720p.
720p.The duration of the generated video, in seconds.Enum values:
4, 8, 12.Default: 4.This parameter specifies whether to use the Pro version. If not provided, the default value is false.
Response
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.