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
videos.create(VideoCreateParams**kwargs) -> Video
POST/videos
Create a character
Deprecated
videos.create_character(VideoCreateCharacterParams**kwargs) -> VideoCreateCharacterResponse
POST/videos/characters
Delete a video
Deprecated
videos.delete(strvideo_id) -> VideoDeleteResponse
DELETE/videos/{video_id}
Download video content
Deprecated
videos.download_content(strvideo_id, VideoDownloadContentParams**kwargs) -> BinaryResponseContent
GET/videos/{video_id}/content
Create a video edit
Deprecated
videos.edit(VideoEditParams**kwargs) -> Video
POST/videos/edits
Create a video extension
Deprecated
videos.extend(VideoExtendParams**kwargs) -> Video
POST/videos/extensions
Retrieve a character
Deprecated
videos.get_character(strcharacter_id) -> VideoGetCharacterResponse
GET/videos/characters/{character_id}
List videos
Deprecated
videos.list(VideoListParams**kwargs) -> SyncConversationCursorPage[Video]
GET/videos
Create a video remix
Deprecated
videos.remix(strvideo_id, VideoRemixParams**kwargs) -> Video
POST/videos/{video_id}/remix
Retrieve a video
Deprecated
videos.retrieve(strvideo_id) -> Video
GET/videos/{video_id}
ModelsExpand Collapse
class ImageInputReferenceParam: …
class Video: …

Structured information describing a generated video job.

class VideoCreateCharacterResponse: …
class VideoCreateError: …

An error that occurred while generating the response.

class VideoDeleteResponse: …

Confirmation payload returned after deleting a video.

class VideoGetCharacterResponse: …
Union[str, Literal["sora-2", "sora-2-pro", "sora-2-2025-10-06", 2 more]]
Literal["4", "8", "12"]
Literal["720x1280", "1280x720", "1024x1792", "1792x1024"]