Create a video
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parameters for creating a new video generation job.
Text prompt that describes the video to generate.
1 - 32000The video generation model to use. Defaults to sora-2.
sora-2, sora-2-pro Optional image reference that guides generation.
Clip duration in seconds. Defaults to 4 seconds.
4, 8, 12 Output resolution formatted as width x height. Defaults to 720x1280.
720x1280, 1280x720, 1024x1792, 1792x1024 Success
Structured information describing a generated video job.
Unique identifier for the video job.
The object type, which is always video.
video The video generation model that produced the job.
sora-2, sora-2-pro Current lifecycle status of the video job.
queued, in_progress, completed, failed Approximate completion percentage for the generation task.
Unix timestamp (seconds) for when the job was created.
Unix timestamp (seconds) for when the job completed, if finished.
Unix timestamp (seconds) for when the downloadable assets expire, if set.
The prompt that was used to generate the video.
The resolution of the generated video.
720x1280, 1280x720, 1024x1792, 1792x1024 Duration of the generated clip in seconds.
4, 8, 12 Identifier of the source video if this video is a remix.
Error payload that explains why generation failed, if applicable.