/videos/extensionsDeprecatedCreate a video extension
Creates an extension of a completed video and returns a video generation job. Provide the source video, an updated prompt, and seconds set to an accepted duration. This operation is closing down and will be removed on a date not specified in the API definition.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Video extension parameters. Send the body as JSON or multipart form data, including the source video, updated prompt, and extension duration.
One documented failure
slow_downYour request rate increased too quickly. Please reduce the request rate and gradually increase it again.
Traffic increased too quickly
One documented failure
server_is_overloadedThe model is temporarily overloaded. Please retry your request after a brief delay.
The requested model is temporarily overloaded
A 400 is returned when the extension request or source video is invalid or video generation is unsupported; a 404 indicates the source video is unavailable, not ready, or the Videos API is unavailable; a 429 indicates a rate limit was exceeded; a 500 means the source media is unavailable or the task could not be created; and a 503 indicates temporary service unavailability. The request must include video, prompt, and seconds; prompt must be 1 to 32,000 characters, and seconds must be 4, 8, or 12.