Skip to content

Flux 3 Text to Video

Integrate

Model id blackforestlabs/flux-3/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $3.40 3,400 API credits Run it on this page

Get API key
Black Forest Labs Text to Video Native audio4K outputLipsync5–20 sup to 2160p #stylized#transform

Text-to-video at full quality, with optional audio and output up to 2160p

Black Forest Labs · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Text description of the desired video.

duration auto

Video length: specify seconds or select `auto` for a model-chosen duration.

aspect_ratio default auto

Output video's aspect ratio; `auto` delegates the choice to the model.

resolution default 720p

Output resolution, with pixel dimensions determined by aspect ratio. Finishing uses the video upsampler for `1080p`, `1440p` (2K), and `2160p` (4K).

Advanced safety_tolerance
default 2

Video safety tolerance uses a scale whose most permissive setting is 4 and whose strictest setting is 0.

POST /run/blackforestlabs/flux-3/text-to-video?wait=20 quote → $3.40
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Flux 3 Text to Video

Creates a video clip from a written `prompt`. Resolution can be 720p, 1080p, 1440p or 2160p, and the higher tiers are finished by an upsampler. Duration is `auto` or a whole number of seconds from 5 to 19. Aspect ratio ranges from 21:9 to 9:16, or `auto`, and `generate_audio` toggles a soundtrack.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
Text description of the desired video.
aspect_ratiooptional
Typeenum
Defaultauto
auto21:92:116:94:31:13:49:16
Output video's aspect ratio; `auto` delegates the choice to the model.
resolutionoptional
Typeenum
Default720p
720p1080p1440p2160p
Output resolution, with pixel dimensions determined by aspect ratio. Finishing uses the video upsampler for `1080p`, `1440p` (2K), and `2160p` (4K).
durationoptional
Typeenum
Defaultauto
auto5678910111213141516171819
+1 more20
Video length: specify seconds or select `auto` for a model-chosen duration.
generate_audiooptional
Typeboolean
Defaulttrue
Controls whether the video includes generated audio.
safety_toleranceoptional
Typeinteger
Default2
0 – 4
Video safety tolerance uses a scale whose most permissive setting is 4 and whose strictest setting is 0.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/text-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 3400,
    "usd": "3.40",
    "charged": 3400,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size}Video produced by the model.
seed
integerSeed value used during generation.

More models: Text to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/blackforestlabs/flux-3/text-to-video.md. All models and guides: https://doitong.com/developers/llms.txt