Videos
Create video
client.videos.create(VideoCreateParams { prompt, input_reference, model, 2 more } body, RequestOptionsoptions?): Video { id, completed_at, created_at, 10 more }
POST/videos
Create a new video generation job by editing a source video or existing generated video.
client.videos.edit(VideoEditParams { prompt, video } body, RequestOptionsoptions?): Video { id, completed_at, created_at, 10 more }
POST/videos/edits
Create an extension of a completed video.
client.videos.extend(VideoExtendParams { prompt, seconds, video } body, RequestOptionsoptions?): Video { id, completed_at, created_at, 10 more }
POST/videos/extensions
Create a character from an uploaded video.
client.videos.createCharacter(VideoCreateCharacterParams { name, video } body, RequestOptionsoptions?): VideoCreateCharacterResponse { id, created_at, name }
POST/videos/characters
Fetch a character.
client.videos.getCharacter(stringcharacterID, RequestOptionsoptions?): VideoGetCharacterResponse { id, created_at, name }
GET/videos/characters/{character_id}
List videos
client.videos.list(VideoListParams { after, limit, order } query?, RequestOptionsoptions?): ConversationCursorPage<Video { id, completed_at, created_at, 10 more } >
GET/videos
Retrieve video
client.videos.retrieve(stringvideoID, RequestOptionsoptions?): Video { id, completed_at, created_at, 10 more }
GET/videos/{video_id}
Delete video
client.videos.delete(stringvideoID, RequestOptionsoptions?): VideoDeleteResponse { id, deleted, object }
DELETE/videos/{video_id}
Remix video
client.videos.remix(stringvideoID, VideoRemixParams { prompt } body, RequestOptionsoptions?): Video { id, completed_at, created_at, 10 more }
POST/videos/{video_id}/remix
Retrieve video content
client.videos.downloadContent(stringvideoID, VideoDownloadContentParams { variant } query?, RequestOptionsoptions?): Response
GET/videos/{video_id}/content