FLUX.3 Video API
https://api.hiapi.ai /v1/tasks Image, video, and audio models are called through the Unified Async API POST /v1/tasks endpoint; only the input fields differ (see input parameters below).
Model summary
| Model name | flux-3 |
|---|---|
| Type | Text-to-video / image-to-video / video continuation |
| Endpoint | POST /v1/tasks |
| Pricing | See HiAPI Pricing |
FLUX.3 Video combines text-to-video, 1-10 image keyframe control, and video continuation in one model, with clips up to 20 seconds, 720p/1080p output, and optional synchronized audio.
Production guidance
- For production, pass callback.url at the top level of the request body so HiAPI can notify your service when the task reaches a terminal state.
- GET /v1/tasks/:id is better for local debugging, low-volume jobs, or fallback reconciliation if a callback is missed.
- Use callback.when=final. Both success and fail are terminal states, so your service should deduplicate by taskId.
Best suited for
Coordinate visuals, ambience, effects, and dialogue in one generation for ad concepts, storyboards, and social content.
promptgenerate_audioUse one image for the opening frame, two for opening and closing frames, or 3-10 images for an evenly timed storyboard.
imagesdurationContinue the picture and sound from the end of an MP4 up to 15 seconds long.
start_videodurationValidate composition and motion with a 720p Draft before switching to full quality or 1080p.
draftresolutionRequest parameters
model string required Fixed value flux-3.
input object required Business parameters. Put FLUX.3 Video-specific configuration here.
prompt string required Describe the scene, action, camera movement, dialogue, and sound. The prompt is interpreted and expanded before generation.
images string[] optional Optional PNG, JPEG, or WebP images. One image sets the opening frame, two set opening and closing frames, and 3-10 images form an evenly timed storyboard. Cannot be combined with start_video.
start_video string optional Optional MP4 to continue from its final frames. Maximum 50 MB and 15 seconds. Cannot be combined with images.
aspect_ratio enum optional Output aspect ratio. Auto selects a ratio from the prompt and media inputs.
resolution enum optional Output resolution. Draft generation is available at 720p only.
duration integer optional Generated clip duration in seconds. HiAPI uses an explicit 5-20 second duration for deterministic billing.
generate_audio boolean optional Generate synchronized ambient sound, dialogue, and effects. Disable for a silent clip.
draft boolean optional Generate a faster, lower-cost 720p preview instead of a full-quality clip.
callback object optional Optional callback configuration. When set, HiAPI notifies your service when the task reaches a terminal state.
url string required Required when callback is set; HTTPS URL that receives terminal task notifications.
when enum optional Callback trigger timing. Use final.
Example requests
Generate a five-second 16:9 clip at 720p with synchronized audio.
{
"model": "flux-3",
"input": {
"prompt": "A silver maglev train glides through a solar-panel field at golden hour, low tracking shot, cinematic lighting and stable motion",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"draft": false
}
}The first image defines the opening frame and the second defines the closing frame. Do not combine images with start_video.
{
"model": "flux-3",
"input": {
"prompt": "A smooth cinematic transition from sunrise to a neon-lit night city, stable camera motion",
"images": [
"https://example.com/start.webp",
"https://example.com/end.webp"
],
"resolution": "1080p",
"duration": 8,
"generate_audio": true
}
}Continue from an existing MP4 using the lower-cost 720p Draft tier.
{
"model": "flux-3",
"input": {
"prompt": "Continue the forward camera move as the train enters a bright mountain tunnel",
"start_video": "https://example.com/source.mp4",
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"draft": true
}
}Getting the result
- The response returns a taskId immediately without waiting for generation to finish.
- In production, prefer waiting for callback.url to receive the terminal notification. For local debugging, poll GET /v1/tasks/:id.
- When status=success, download the generated video from output[].url.
- When status=fail, fix the request based on the returned error instead of retrying the same invalid payload.
FAQ
How long can FLUX.3 Video generate?
Set an explicit output duration from 5 to 20 seconds. A start_video input can be up to 15 seconds long.
How do multiple images control the timeline?
One image defines the opening frame, two define the opening and closing frames, and 3-10 form an evenly timed storyboard. images cannot be combined with start_video.
How is Draft different from full quality?
Draft is a faster, lower-cost 720p preview tier and cannot run at 1080p. Full quality supports both 720p and 1080p.
How is FLUX.3 Video priced?
Billing is per generated second. The rate depends on resolution, Draft mode, and whether a source video is continued. View live video API pricing