Flux 3 Video
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
Free-form prompt describing the video.
Output aspect ratio. `auto` (default) picks one from the prompt and any references.
Generate a fast, low-cost preview instead of a final render, at a reduced flat price. Only available at hd resolution.
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 synchronized audio alongside the video. Defaults to true.
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.
`hd` (default) or `fhd` for a higher-resolution result finished by the video upsampler.
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.
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.