Videos
Create an extension of a completed video.
post/videos/extensions
Request body
promptstring required
Updated text prompt that directs the extension generation.
seconds'4' | '8' | '12' required
Example request
{
"video": {
"id": "video_123"
}
}Response
Success
idstring required
Unique identifier for the video job.
object'video' required
The object type, which is always video.
status'queued' | 'in_progress' | 'completed' | 'failed' required
progressinteger required
Approximate completion percentage for the generation task.
created_atinteger required
Unix timestamp (seconds) for when the job was created.
completed_atinteger nullable required
Unix timestamp (seconds) for when the job completed, if finished.
expires_atinteger nullable required
Unix timestamp (seconds) for when the downloadable assets expire, if set.
promptstring nullable required
The prompt that was used to generate the video.
size'720x1280' | '1280x720' | '1024x1792' | '1792x1024' required
secondsstring required
Duration of the generated clip in seconds. For extensions, this is the stitched total duration.
remixed_from_video_idstring nullable required
Identifier of the source video if this video is a remix.