Sora 2 Image to Video
Video
Sora 2 Image to Video
POST
Sora 2 Image to Video
Submit an async image-to-video task. This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the video generation result.
Request Headers
Enum:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
Input image supports URL and Base64 formats. Supported image formats include .jpg, .jpeg, .png.
Positive text prompt for video generation.Length limit: 1 - 2000
Duration of the generated video (in seconds).Possible values:
4, 8, 12Resolution of the generated video.Possible values:
720p, 1080pWhether to use the Pro version. If not provided, defaults to false. When professional is true (Pro version), 720p and 1080p resolutions are supported. When professional is false, only 720p resolution is supported.
Response
Use the task_id to call the Get Async Task Result API to retrieve the generated output.