FLUX video API

FLUX 3 Video text-to-video, image-guided video, HD drafts, draft-to-final rendering, parameters and per-second pricing.

Use an Official Group API key to call flux-3-video. It supports text-to-video, image-guided video, HD drafts and rendering a standard draft into a final video. Each generation produces one 5–20 second video, and results are retrieved through an asynchronous task.

Pricing

TierUS$ / second5-second example
HD final video0.170.85
FHD final video0.291.45
HD draft0.060.30

Text-to-video and image-guided video cost the same and are billed by the requested integer seconds. audio:false does not lower the price. Failed tasks are not charged; if a submission result is unclear, keep the task ID and wait for reconciliation instead of resubmitting.

Create a task

curl https://app.apipool.dev/v1/videos/generations \
  -H "Authorization: Bearer $APIPOOL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"flux-3-video","prompt":"The camera slowly moves toward a blue ceramic cup on a table","duration":5,"resolution":"hd","aspect_ratio":"16:9","audio":true}'

The response is HTTP 202 with an APIPool task ID. Call GET /v1/tasks/{task_id} with the same key, wait for completed, then read the video links in data. File links expire, so save them promptly.

Parameters

  • prompt: required when creating a video, 1–4000 characters; must not be sent when rendering a draft into a final video.
  • duration: integer seconds from 5 to 20, default 5; auto, decimals and strings are not accepted.
  • resolution: hd or fhd, also accepted as 720p and 1080p respectively, default hd.
  • aspect_ratio: auto, 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16. You can use size instead; send only one of the two.
  • image_urls: optional JSON array of up to 10 public HTTP(S) image URLs. 1 image is the starting reference; 2 images are the start and end frames; 3–10 images are distributed through the video in order. Base64 images are not currently accepted.
  • audio: boolean, default true; when off, the video is silent.
  • draft: boolean, default false; true generates a low-cost draft, HD only.
  • safety_tolerance: integer from 0 to 4, default 2.
  • mode: usually omitted and inferred from the image parameters. If set explicitly, it must be t2v or i2v matching the media.

Render a standard draft into a final video

First create an HD text-to-video or image-guided draft with draft:true and wait for that task to complete. Then, with the same key in the Official Group, submit the APIPool task ID of the parent draft:

{
  "model": "flux-3-video",
  "draft_from_task_id": "vidtask_YOUR_COMPLETED_DRAFT_TASK_ID",
  "resolution": "fhd"
}

This request accepts only model, draft_from_task_id and an optional resolution (default hd). Duration, prompt, images and audio settings carry over from the draft and cannot be sent again or changed. You cannot reference another user's task, an unfinished task or a task that is not a draft.

Rendering creates a new asynchronous task, billed at the full price of the selected HD/FHD final video for the parent draft's original requested duration; the draft fee is not credited. For example, a 5-second HD draft costs $0.30, and rendering it as an FHD final video costs another $1.45, for a total of $1.75. Query completion with GET /v1/tasks/{task_id} as usual. This operation is available through the API only; the playground form does not currently offer it.

Current limits and troubleshooting

Video continuation, video_url / video_urls, rendering continuation drafts into final videos, automatic duration, additional paid moderation and custom output counts are not currently available. Drafts and final videos are separately billed tasks.

Conflicting parameters or unavailable fields return 400; insufficient balance returns 402. A 202 response only means the task was accepted; do not create duplicate tasks before it completes. submission_unknown means the result is pending reconciliation and meter_pending means metering is not yet confirmed; in both cases, keep querying the original task.

Generate a video online · Asynchronous video tasks