POST
javascript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 const axios = require('axios'); const api_key = "YOUR API-KEY"; const url = "https://api.segmind.com/v1/flux-3-extend-video"; const data = { "start_video": "https://segmind-resources.s3.amazonaws.com/input/flux-3-extend-video-start-video.mp4", "prompt": "Continue the scene: the explorer stays at the cliff edge as the camera slowly pulls back and cranes upward, revealing the vast sea of clouds and distant snow peaks stretching to the horizon, wind gusts and birds cross the golden sunrise sky as sweeping orchestral music swells.", "duration": 5, "resolution": "hd", "aspect_ratio": "auto", "draft": false, "generate_audio": true }; (async function() { try { const response = await axios.post(url, data, { headers: { 'x-api-key': api_key } }); console.log(response.data); } catch (error) { console.error('Error:', error.response.data); } })();
RESPONSE
image/jpeg
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


start_videostr *

MP4 clip to continue; its framing and motion carry forward. Use clean, stable footage.


promptstr *

Describe the next beat: action, camera move, mood. Avoid restating the source clip.


durationint ( default: 5 ) Affects Pricing

Extension length in seconds, 5 to 20. Short 5 for tests; higher for full scenes.

min : 5,

max : 20


resolutionenum:str ( default: hd ) Affects Pricing

Output quality, hd or fhd. Use hd to iterate, fhd for final delivery.

Allowed values:


aspect_ratioenum:str ( default: auto )

Frame shape; auto keeps the source. 16:9 cinematic, 9:16 for social verticals.

Allowed values:


draftbool ( default: 1 ) Affects Pricing

Fast, cheaper hd preview when true. Enable to explore, disable for final render.


generate_audiobool ( default: true )

Adds synchronized speech, effects and ambience. Keep true; set false for a silent clip.

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

FLUX 3 Extend Video — AI Video Continuation Model

What is FLUX 3 Extend Video?

FLUX 3 Extend Video is Black Forest Labs' video continuation mode, exposed on Segmind as a simple video-to-video API. You hand it a short MP4 clip and a prompt describing what happens next, and it renders a seamless continuation that carries the source's framing, motion, camera behavior, and audio across the seam. It is part of FLUX 3, BFL's multimodal model trained jointly on video, images, and audio, so the extension is generated with native synchronized sound rather than a bolt-on pass.

Because the continuation is framing-aware, the new footage does not restart the shot — it extends it. In testing, a five-second cliff-top clip continued into a sweeping pull-back that revealed the wider landscape as birds crossed the sky, complete with matching ambient audio.

Key Features

  • Seamless video extension that preserves composition, motion, and scene logic
  • Native synchronized audio: dialogue, sound effects, and ambience generated with the frames
  • HD and Full HD (fhd) output at 24 fps
  • Aspect ratio control (auto, 16:9, 9:16, 1:1, and more) with auto matching the source
  • Extension length from 5 to 20 seconds
  • Draft mode for fast, low-cost previews before a final render

Best Use Cases

Use FLUX 3 Extend Video to lengthen an existing shot without a reshoot: continue a product demo, extend an establishing shot, add a next beat to a narrative scene, or push a social clip past its original cut. It is well suited to cinematic reveals, camera moves such as pull-backs and cranes, and continuations that need matching sound. Creators use it to turn short generations into longer, edit-ready sequences.

Prompt Tips and Output Quality

Describe the next beat — the action, camera move, and mood — rather than restating the source clip. Keep the starting footage clean and stable for the most coherent seam. Leave aspect_ratio on auto to inherit the source frame, or set 16:9 for cinematic and 9:16 for verticals. Iterate with draft enabled, then disable draft and choose fhd for final delivery. In our tests the model produced clean 720p continuations with coherent motion and synchronized audio; an occasional transient artifact on a given seed clears on a re-run.

FAQs

What input does FLUX 3 Extend Video need? An MP4 start video and a text prompt describing what should happen next.

Does it generate audio? Yes. Synchronized audio is on by default; set generate_audio to false for a silent clip.

How long can the extension be? Between 5 and 20 seconds per request.

What resolutions are supported? HD by default, with Full HD (fhd) for final output. Drafts render at HD.

How is it different from text-to-video? It continues footage you already have, keeping the original framing and motion, instead of generating a shot from scratch.

Are the benchmark claims independent? BFL's FLUX 3 preference scores are self-reported and preliminary, so treat them as directional.