VideoEditRequest schema
| Field | Type and description |
|---|---|
modelRequired | string Video editing model identifier. |
videoRequired | string Source video file for editing.
|
prompt | string Text prompt describing the edit (required for text_prompt mode). |
mask | string Mask video for region-based editing (mask_video mode).
|
mask_url | string Public HTTPS URL to the mask video (alternative to uploading mask binary).
|
key_points | string JSON-encoded string representing an array of key-point objects for key_points mode.
Each object must have numeric |
frame_index | integer Frame index for key_points editing mode.
|
auto_trim | boolean Whether to auto-trim the output video.
|
preserve_audio | boolean Whether to preserve the original audio track in the output.
|
background_color | string Background fill color (background_color mode). CSS color name or hex value.
|
desired_increase | integer Upscale factor for upscale_factor mode. Only 2 or 4 are accepted; other values are coerced to 2. Allowed values:
|
output_container_and_codec | string Output container and codec string. |