Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Edit a source video while retaining its length and aspect ratio.

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. Source length must be 3 to 15 seconds.

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?://

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.