v1

latestOpenAPI 3.1.02026-07-224941145.6 KB

Create Video Generation Task

Create a video generation task using the Sora 2 model. Supports text-to-video and image-to-video (via input_reference). The workflow is: create task -> query status -> download video.

post/v1/videos

Response

Task created

idstring

Video task ID

objectstring
modelstring
statusstring
progressinteger
created_atinteger
secondsstring
sizestring

Example response

{
  "id": "video_69b131ea03548190925a6a06febf993b",
  "object": "video",
  "model": "sora-2",
  "status": "queued",
  "created_at": 1773220330,
  "seconds": "12",
  "size": "1280x720"
}