v1

latestOpenAPI 3.1.0MIT2026-07-132429592.7 MB
Videos

Create a new video generation job by editing a source video or existing generated video.

post/videos/edits

Request body

promptstring required

Text prompt that describes how to edit the source video.

Example request

{
  "video": {
    "id": "video_123"
  }
}

Response

Success

idstring required

Unique identifier for the video job.

object'video' required

The object type, which is always video.

status'queued' | 'in_progress' | 'completed' | 'failed' required
progressinteger required

Approximate completion percentage for the generation task.

created_atinteger required

Unix timestamp (seconds) for when the job was created.

completed_atinteger nullable required

Unix timestamp (seconds) for when the job completed, if finished.

expires_atinteger nullable required

Unix timestamp (seconds) for when the downloadable assets expire, if set.

promptstring nullable required

The prompt that was used to generate the video.

size'720x1280' | '1280x720' | '1024x1792' | '1792x1024' required
secondsstring required

Duration of the generated clip in seconds. For extensions, this is the stitched total duration.

remixed_from_video_idstring nullable required

Identifier of the source video if this video is a remix.