Edit a video
Submits a video edit task: the supplied clip is transformed according to the edit instruction. Duration, resolution, aspect ratio, and audio follow the source clip; inference controls are pinned server-side.
video and an edit prompt to FLUX Video Edit. This is a
FLUX Tools endpoint, separate from /v1/flux-3-video; do not send a mode.
Retrieve the edited clip
The submission returns anid and a polling_url. Poll that URL while status
is Pending, Reasoning, or Generating. Polling does not require an API key.
When status is Ready, download the video from result.sample.
Do not send the API key to the video download URL.
Stop on Request Moderated, Content Moderated, Error, or Task not found.
Requests to use the clip as a reference for a new video or to extend it fail
with HTTP 422, status: "Error", and an explanation in details.error.
Use video continuation
for extension.
A polling HTTP 503 with Retry-After means to wait and retry the same URL,
not submit another generation. Download completed results promptly; their
signed URLs expire after about one hour.
Limits and pricing
Input limits, output behavior and pricing are on the FLUX Video Edit page, with a quick start that submits and polls.Authorizations
Body
Video edit on a dedicated route: the clip and the instruction.
The public /flux-tools/video-edit-v1 body. The route pins the recipe, so
the body has no mode and no version to pick, and every serving control
-- duration, resolution, aspect ratio, audio, steps, guidance, seed --
stays server-pinned.
The video to edit, an http(s) URL or base64-encoded mp4.
Edit instruction, stripped of surrounding whitespace.
1 - 4096Opaque identifier for the end user supplied by the calling platform.
1 - 256Tolerance level for input and output harm moderation. Between 0 and 4, with 0 the strictest. Sexual content is limited to level 3 and hate content to level 2 regardless of the requested tolerance.
0 <= x <= 4
