flux-3-generate
Use when submitting or polling a FLUX 3 video API job.
Skill by Black Forest Labs
Chalk Labs
Need help deploying flux-3-generate?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/black-forest-labs-flux-3-generate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/flux-3-generate
What's inside
- Skill name
flux-3-generate- Description
- Use when submitting or polling a FLUX 3 video API job. Also covers drafts, downloads, and technical validation.
- License
- MIT
- Metadata
- tags: flux, flux-3, bfl, video-api, generation, polling, drafts, qc · author: Black Forest Labs · version: 1.0.0
- Instructions
- 76 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- metadata.json
- api-quick-reference.md · references/
SKILL.md (first lines)
# FLUX 3 Generate
Execute a ready plan through the asynchronous API, preserve expiring artifacts, and
verify the MP4. Read the [FLUX 3 API reference](https://docs.bfl.ai) before building a
request; it is authoritative wherever this skill disagrees. Authenticate with the
`x-key` header from `BFL_API_KEY`; check the variable exists without printing it, and
never put keys in prompts, logs, or saved request bodies.
## Request shape
Every request names its `mode` (required, exact strings) and carries the matching media
field:
| `mode` | Media field | What the model does |
| --- | --- | --- |
| `t2v` | none | Generates the clip from your text alone |
| `i2v` | `keyframes` (required) | Puts your images on screen, pixel for pixel, as pinned frames |
| `v2v` | `start_video` (required) | Continues from the final frames of your clip |
| `draft_enhance` | `draft_cache` (required) | Replays a cached draft at full quality; accepts no other fields, not even `prompt` |
- The schema is strict: any field it does not know returns a `422` naming it
(`Extra inputs are not permitted`). A missing required field 422s the same way.
- Settings on the generating modes: `aspect_ratio` (`auto`, `21:9`, `2:1`, `16:9`,
`4:3`, `1:1`, `3:4`, `9:16`), `duration` (integer 5-20 or `"auto"`), `resolution`
(`hd` or `fhd`), `generate_audio` (bool), `draft` (bool), `version`.
- Constraints couple (a video input at higher resolution may cap duration): read the
reference rather than assuming fields are independent.
- Three or more bare keyframes, and all `[seconds, image]` timestamped keyframes, need
an integer `duration`. Media travels as a public URL or inline base64; keyframe
images are at least 256x256.
## Run a job
1. **Submit once.** Persist the returned task `id` and `polling_url` with the
secret-free request.
2. **Poll every 6 seconds** to a terminal state with the `x-key` header, following
redirects. Planning time on a complex brief is normal, not a stall. The API status
strings are exact. KEEP POLLING on `Pending`, `Reasoning`, `Generating`. STOP on
`Ready` (success) and on `Error`, `Request Moderated`, `Content Moderated`, or
`Task not found` (failures). None of these terminal statuses ever later becomes
`Ready`.
- `429` on submit means your org's concurrency ceiling is full and **no task was
created**. There is nothing to poll. Wait for a slot, then resubmit the same body.
- `429` on poll means the task exists and is unaffected. Back off and keep polling
the same `polling_url`. Never resubmit, or you pay for a second render.
- `503`: bounded backoff.
3. **Download immediately.** Observed signed sample and draft cache URLs expire roughly
one hour after the result is ready. The `se=` query parameter on the URL itself is
the authoritative expiry. Read it rather than assuming a fixed window. Video
outputs arrive in `result.samples`, which is a list. Draft bundles arrive in
`result.draft_caches`, which is also a list. The singular `result.draft_cache` is
the first element of that list, not the complete set. Iterate every element of both
lists and download all of them before doing anything else, recording the local path
and task ID per element. A client reading only the singular `result.draft_cache` key
silently drops paid artifacts that cannot be recovered once the signed URLs expire.
Save the downloaded files, plus task ID and status.
4. **Validate**: container decodes, duration/resolution/aspect match intent, audio
present exactly when requested. Technical validity is not creative approval; hand
review to the specialist that owns it.
## Drafts
Add `draft: true` while a concept is unproven: a fast low-step preview plus a
`draft_cache` costs far less than a full render. Judge a draft on event legibility,
composition, and continuity; softness is the low-step trade and resolves at full
quality. Enhance only the chosen cache (it replays the same generation, so preserve
draft-to-cache identity when several are in play).
Between reruns change one consequential dimension. After two structurally similar
misses, return to the creative skill instead of accumulating adjectives.
## References
- [references/api-quick-reference.md](references/api-quick-reference.md)From black-forest-labs/skills, MIT.
More from black-forest-labs/skills
- 0.742score
flux-3-cinematic-inserts
Black Forest Labs
Use when writing a FLUX 3 text-to-video prompt for a standalone shot.
SkillBFreshness: B★ 136Claude Code +9 - 0.738score
bfl-api
Black Forest Labs
BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and…
SkillBFreshness: B★ 136Claude Code +9 - 0.736score
flux-3-video
Black Forest Labs
Use when routing a general FLUX 3 video request.
SkillBFreshness: B★ 136Claude Code +9 - 0.736score
flux-3-archival-formats
Black Forest Labs
Use when a FLUX 3 video needs a period or archival look.
SkillBFreshness: B★ 136Claude Code +9 - 0.735score
flux-3-prompt-doctor
Black Forest Labs
Use when diagnosing a FLUX 3 brief before generation.
SkillBFreshness: B★ 136Claude Code +9 - 0.735score
flux-3-audio-dialogue
Black Forest Labs
Use when directing FLUX 3 audio, dialogue, or voiceover.
SkillBFreshness: B★ 136Claude Code +9 - 0.735score
flux-3-keyframes-continuation
Black Forest Labs
Use when a FLUX 3 video must be built from supplied images or video.
SkillBFreshness: B★ 136Claude Code +9 - 0.732score
flux-image-best-practices
Black Forest Labs
Comprehensive guide for BFL FLUX image generation models.
SkillBFreshness: B★ 136Claude Code +9 - 0.731score
flux-3-product-ads
Black Forest Labs
Use when building a finished product ad from FLUX 3 - shot design, voiceover, action-to-word sync, evidence-gated copy, deterministic assembly, and QC gates…
SkillBFreshness: B★ 136Claude Code +9
Signals
- Stars
- 136
- Forks
- 11
- Open issues
- 2
- Last commit (this folder)
- Aug 7, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/black-forest-labs/skills
- Website
- docs.bfl.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Black Forest Labs
- 0.742score
flux-3-cinematic-inserts
Black Forest Labs
Use when writing a FLUX 3 text-to-video prompt for a standalone shot.
SkillBFreshness: B★ 136Claude Code +9 - 0.738score
bfl-api
Black Forest Labs
BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and…
SkillBFreshness: B★ 136Claude Code +9 - 0.736score
flux-3-video
Black Forest Labs
Use when routing a general FLUX 3 video request.
SkillBFreshness: B★ 136Claude Code +9 - 0.736score
flux-3-archival-formats
Black Forest Labs
Use when a FLUX 3 video needs a period or archival look.
SkillBFreshness: B★ 136Claude Code +9 - 0.735score
flux-3-audio-dialogue
Black Forest Labs
Use when directing FLUX 3 audio, dialogue, or voiceover.
SkillBFreshness: B★ 136Claude Code +9 - 0.735score
flux-3-keyframes-continuation
Black Forest Labs
Use when a FLUX 3 video must be built from supplied images or video.
SkillBFreshness: B★ 136Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get flux-3-generate running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
flux-3-generate skill. Agent Mart. https://agentmart.dev/skills/black-forest-labs-flux-3-generate (last updated 2026-10-24)