Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Videos

Create a video
Deprecated
client.videos.create(body, options?): Video { id, completed_at, created_at, 10 more }
POST
/videos
Create a character
Deprecated
client.videos.createCharacter(body, options?): VideoCreateCharacterResponse { id, created_at, name }
POST
/videos/characters
Delete a video
Deprecated
client.videos.delete(videoID, options?): VideoDeleteResponse { id, deleted, object }
DELETE
/videos/{video_id}
Download video content
Deprecated
client.videos.downloadContent(videoID, query?, options?): Response
GET
/videos/{video_id}/content
Create a video edit
Deprecated
client.videos.edit(body, options?): Video { id, completed_at, created_at, 10 more }
POST
/videos/edits
Create a video extension
Deprecated
client.videos.extend(body, options?): Video { id, completed_at, created_at, 10 more }
POST
/videos/extensions
Retrieve a character
Deprecated
client.videos.getCharacter(characterID, options?): VideoGetCharacterResponse { id, created_at, name }
GET
/videos/characters/{character_id}
List videos
Deprecated
client.videos.list(query?, options?): ConversationCursorPage<Video { id, completed_at, created_at, 10 more } >
GET
/videos
Create a video remix
Deprecated
client.videos.remix(videoID, body, options?): Video { id, completed_at, created_at, 10 more }
POST
/videos/{video_id}/remix
Retrieve a video
Deprecated
client.videos.retrieve(videoID, options?): Video { id, completed_at, created_at, 10 more }
GET
/videos/{video_id}
Models
ImageInputReferenceParam { file_id, image_url }
Video { id, completed_at, created_at, 10 more }

Structured information describing a generated video job.

VideoCreateCharacterResponse { id, created_at, name }
VideoCreateError { code, message, headers, 3 more }

An error that occurred while generating the response.

VideoDeleteResponse { id, deleted, object }

Confirmation payload returned after deleting a video.

VideoGetCharacterResponse { id, created_at, name }
VideoModel = (string & {}) | "sora-2" | "sora-2-pro" | "sora-2-2025-10-06" | 2 more
VideoSeconds = "4" | "8" | "12"
VideoSize = "720x1280" | "1280x720" | "1024x1792" | "1792x1024"