Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Continue a video with a new 3 to 10 second segment.

prompt
string
required

Describe the scene, motion, or edit to produce.

Minimum string length: 1
video
string<uri>
required

Publicly reachable HTTP(S) URL of the source video. Its aspect ratio is retained.

Minimum string length: 1
Pattern: ^https?://
resolution
enum<string>
default:720p

Output resolution.

Available options:
360p,
720p,
1080p,
4k
seed
integer

Optional generation seed. Omit it to leave seed selection to the model.

referenceImages
string<uri>[]

Optional visual references for the edit or continuation.

Required array length: 1 - 2 elements

Publicly reachable HTTP(S) URL of a reference image.

Minimum string length: 1
Pattern: ^https?://
duration
string
default:8

Length of the added segment in seconds, not the combined output. The model uses up to the last 10 seconds of the source and joins the new segment to at most the last 30 seconds of source footage.

Pattern: ^([3-9]|10)$

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.