All models

Flux 3 Video

black-forest-labs/flux-3-video
Black Forest Labs

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "black-forest-labs/flux-3-video",
    "prompt": "<your prompt>",
    "mode": "<value>"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "black-forest-labs/flux-3-video", "prompt": "<your prompt>", "mode": "<value>"}'

Parameters

Input
mode string required
prompt string required

Free-form prompt describing the video.

aspect_ratio string optional

Output aspect ratio. `auto` (default) picks one from the prompt and any references.

draft boolean optional

Generate a fast, low-cost preview instead of a final render, at a reduced flat price. Only available at hd resolution.

duration integer optional default: 5

Video duration in whole seconds, 5-20 (default 5). Billed per second: hd or fhd, and the higher v2v rate when start_video is given.

generate_audio boolean optional

Generate synchronized audio alongside the video. Defaults to true.

keyframes string optional

A single image (HTTPS URL or base64) as the opening frame. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

resolution string optional

`hd` (default) or `fhd` for a higher-resolution result finished by the video upsampler.

safety_tolerance integer optional

Tolerance for input/output harm moderation, 0 (strictest) to 4. Defaults to 2. Sexual content is capped at level 3 and hate content at level 2 regardless of the requested tolerance; requests with conditioning media are capped at level 2.

start_video string optional

The video to continue: an HTTPS URL or base64 mp4 (<= 50MB, <= 15s). The generated clip carries on from its final frames. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

Output