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 video
Deprecated
client.Videos.New(ctx, body) (*Video, error)
POST/videos
Create a character from an uploaded video.
Deprecated
client.Videos.NewCharacter(ctx, body) (*VideoNewCharacterResponse, error)
POST/videos/characters
Delete video
Deprecated
client.Videos.Delete(ctx, videoID) (*VideoDeleteResponse, error)
DELETE/videos/{video_id}
Retrieve video content
Deprecated
client.Videos.DownloadContent(ctx, videoID, query) (*Response, error)
GET/videos/{video_id}/content
Create a new video generation job by editing a source video or existing generated video.
Deprecated
client.Videos.Edit(ctx, body) (*Video, error)
POST/videos/edits
Create an extension of a completed video.
Deprecated
client.Videos.Extend(ctx, body) (*Video, error)
POST/videos/extensions
Fetch 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
Remix video
Deprecated
client.Videos.Remix(ctx, videoID, body) (*Video, error)
POST/videos/{video_id}/remix
Retrieve 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