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
string
required
Enum:
application/jsonstring
required
Bearer authentication format: Bearer {{API Key}}.
Request Body
string
required
Input image supports URL and Base64 formats. Supported image formats include .jpg, .jpeg, .png.
string
required
Positive text prompt for video generation.Length limit: 1 - 2000
integer
default:4
Duration of the generated video (in seconds).Possible values:
4, 8, 12string
default:"720p"
Resolution of the generated video.Possible values:
720p, 1080pboolean
default:false
Whether 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
string
required
Use the task_id to call the Get Async Task Result API to retrieve the generated output.