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.New(ctx, body) (*Video, error)
POST/videos
Create a character
Deprecated
client.Videos.NewCharacter(ctx, body) (*VideoNewCharacterResponse, error)
POST/videos/characters
Delete a video
Deprecated
client.Videos.Delete(ctx, videoID) (*VideoDeleteResponse, error)
DELETE/videos/{video_id}
Download video content
Deprecated
client.Videos.DownloadContent(ctx, videoID, query) (*Response, error)
GET/videos/{video_id}/content
Create a video edit
Deprecated
client.Videos.Edit(ctx, body) (*Video, error)
POST/videos/edits
Create a video extension
Deprecated
client.Videos.Extend(ctx, body) (*Video, error)
POST/videos/extensions
Retrieve a character
Deprecated
client.Videos.GetCharacter(ctx, characterID) (*VideoGetCharacterResponse, error)
GET/videos/characters/{character_id}
List videos
Deprecated
client.Videos.List(ctx, query) (*ConversationCursorPage[Video], error)
GET/videos
Create a video remix
Deprecated
client.Videos.Remix(ctx, videoID, body) (*Video, error)
POST/videos/{video_id}/remix
Retrieve a video
Deprecated
client.Videos.Get(ctx, videoID) (*Video, error)
GET/videos/{video_id}
ModelsExpand Collapse
type ImageInputReferenceParamResp struct{…}
type Video struct{…}

Structured information describing a generated video job.

type VideoCreateError struct{…}

An error that occurred while generating the response.

type VideoModel interface{…}
type VideoSeconds string
type VideoSize string