Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Edit an existing video with a text instruction. Output length and aspect ratio follow the source video.

prompt
string
required

Text instruction describing the desired edit.

Minimum string length: 1
Example:

"Change the scene to a snowy winter night"

video
string
required

HTTPS URL of the source video (3 to 10 seconds).

Example:

"https://example.com/clip.mp4"

resolution
enum<string>
default:720p

Output resolution.

Available options:
360p,
720p,
1080p,
4k
Example:

"720p"

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.