Agent skill

Flux 3 Generate

by black-forest-labs in black-forest-labs/skills

A skill your agent uses when submitting or polling a FLUX 3 video API job.

MITAuto-check passedAI & LLM Engineering

Install Flux 3 Generate

skills CLI
$ npx skills add black-forest-labs/skills --skill flux-3-generate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install black-forest-labs/skills flux-3-generate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/black-forest-labs/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/flux-3-generate .claude/skills/flux-3-generate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
flux-3-generate
GitHub stars
128
Token cost
~1.1k tokens
SKILL.md length
614 words
Files
3 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when submitting or polling a FLUX 3 video API job.

  • Works in 4 steps: Submit once. Persist the returned task… → Poll every 6 seconds to a terminal state… → Download immediately. Observed signed… → …
  • Polling a FLUX 3 video API job
  • SKILL.md covers Request shape, Run a job, Drafts and References
  • Needs BFL_API_KEY

What it does

Flux 3 Generate is an agent skill from black-forest-labs/skills. Use when submitting or polling a FLUX 3 video API job. Also covers drafts, downloads, and technical validation.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `metadata.json` and `references/api-quick-reference.md`).

It sits in AI & LLM Engineering. The repository describes itself as: Official agent skills from Black Forest Labs for FLUX image and video generation — prompting guides and API integration patterns for Claude Code, Codex, and any… The licence is MIT.

When your agent uses it

  • Polling a FLUX 3 video API job

Example prompts

  • “/flux-3-generate”

Requirements

  • A credential in BFL_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Submit once. Persist the returned task id and polling_url with the
  2. Poll every 6 seconds to a terminal state with the x-key header, following
  3. Download immediately. Observed signed sample and draft cache URLs expire roughly
  4. Validate: container decodes, duration/resolution/aspect match intent, audio

What it can do on your machine

Read from SKILL.md and the folder at commit 8907d51. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.bfl.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • BFL_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Flux 3 Generate loads about 1.1k tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 32 tokens; SKILL.md has 614 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from black-forest-labs/skills at commit 8907d51, republished under its MIT licence (© black-forest-labs). 614 words, ~1,144 tokens.

Download SKILL.mdSave it as .claude/skills/flux-3-generate/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
flux-3-generate
description
Use when submitting or polling a FLUX 3 video API job. Also covers drafts, downloads, and technical validation.
metadata.author
Black Forest Labs
metadata.version
1.0.0
metadata.tags
flux, flux-3, bfl, video-api, generation, polling, drafts, qc

FLUX 3 Generate

Execute a ready plan through the asynchronous API, preserve expiring artifacts, and verify the MP4. Read the FLUX 3 API reference 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:

modeMedia fieldWhat the model does
t2vnoneGenerates the clip from your text alone
i2vkeyframes (required)Puts your images on screen, pixel for pixel, as pinned frames
v2vstart_video (required)Continues from the final frames of your clip
draft_enhancedraft_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.
Show full SKILL.md (83 more words)Show less

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

© black-forest-labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/flux-3-generate of black-forest-labs/skills.

  • SKILL.md
  • metadata.json
  • references/api-quick-reference.md

Open the folder on GitHubat commit 8907d51

Compare with similar skills

Flux 3 Generate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Flux 3 Generate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flux 3 Generate this skillblack-forest-labs/skills128—~1.1kAutomated safety check: PassMIT
Yichen Asrmcncarl/yichen-skills4.4k—~780Automated safety check: PassCustom licence
Youtube FetcherJimmySadek/youtube-fetcher-to-markdown485—~3.1kAutomated safety check: PassMIT
Comfyui AnimatoolShiroEirin/comfyui-good-anima481—~4.6kAutomated safety check: PassGPL-3.0
Comfyui Agent Skill MieMieMieeeee/comfyui-agent-skill116—~3.9kAutomated safety check: PassApache-2.0
End Of Speech Integrationrapidaai/voice-ai745—~877Automated safety check: PassCustom licence

Similar skills

  • Yichen Asr

    mcncarl/yichen-skills

    逸尘自用的统一音视频转写入口,在 StepFun Step ASR 与火山引擎豆包 ASR 之间按输出需求、安全边界和可用状态路由。用于本地音频或视频的纯文本转写、时间戳、SRT 字幕、口播粗剪,以及转写前体检;用户明确指定服务商时不得静默切换。Use when a local audio or video file needs transcription and the correct…

    4.4k GitHub stars~780 tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check passed
  • Youtube Fetcher

    JimmySadek/youtube-fetcher-to-markdown

    Retrieve transcripts from YouTube, Instagram, TikTok, X, Vimeo and other video sites, summarize or analyze what was said (and shown on screen), or save an Obsidian-ready Markdown knowledge-base note…

    485 GitHub stars~3.1k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Comfyui Animatool

    ShiroEirin/comfyui-good-anima

    Route ALL Anima image generation: validate Danbooru hard anchors, form visual brief, assemble English prompts and args, then load comfyui-manager for workflow execution.

    481 GitHub stars~4.6k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Comfyui Agent Skill Mie

    MieMieeeee/comfyui-agent-skill

    Agent skill for running registered ComfyUI workflows through a stable CLI, and for importing a user's own ComfyUI workflow into their private registry after review.

    116 GitHub stars~3.9k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • End Of Speech Integration

    rapidaai/voice-ai

    Add or modify end-of-speech integrations in assistant-api with strict separation from VAD internals.

    745 GitHub stars~877 tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Flux Image

    danielmeppiel/agentic-sdlc-handbook

    Generate images with FLUX models (Black Forest Labs) via inference.sh CLI.

    158 GitHub starsUsed in 1 repo~778 tokens
    AI & LLM EngineeringAuto-check passed

More from black-forest-labs/skills

All 10 skills in this repo
  • Flux 3 Archival Formats

    black-forest-labs/skills

    A skill your agent uses when a FLUX 3 video needs a period or archival look.

    128 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Flux 3 Keyframes Continuation

    black-forest-labs/skills

    A skill your agent uses when a FLUX 3 video must be built from supplied images or video.

    128 GitHub stars~827 tokensUpdated 1 mo ago
    Auto-check passed
  • Bfl API

    black-forest-labs/skills

    BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and TypeScript code examples.

    128 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check: notes
  • Flux 3 Product Ads

    black-forest-labs/skills

    A skill your agent uses when building a finished product ad from FLUX 3 - shot design, voiceover, action-to-word sync, evidence-gated copy, deterministic assembly, and QC gates that catch clipped…

    128 GitHub stars~9.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Flux 3 Prompt Doctor

    black-forest-labs/skills

    A skill your agent uses when diagnosing a FLUX 3 brief before generation.

    128 GitHub stars~904 tokensUpdated 1 mo ago
    Auto-check passed
  • Flux 3 Audio Dialogue

    black-forest-labs/skills

    A skill your agent uses when directing FLUX 3 audio, dialogue, or voiceover.

    128 GitHub stars~584 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Flux 3 Generate

What does Flux 3 Generate do?

A skill your agent uses when submitting or polling a FLUX 3 video API job. Flux 3 Generate is an agent skill from black-forest-labs/skills. Use when submitting or polling a FLUX 3 video API job.

When should I use Flux 3 Generate?

Flux 3 Generate fits situations like: polling a FLUX 3 video API job.

How do I install Flux 3 Generate in Claude Code?

Run `npx skills add black-forest-labs/skills --skill flux-3-generate -a claude-code`. Or copy the skill folder (skills/flux-3-generate in black-forest-labs/skills) into .claude/skills/flux-3-generate in your project. Claude Code loads it when a task matches its description.

How do I install Flux 3 Generate in Codex?

Run `npx skills add black-forest-labs/skills --skill flux-3-generate -a codex`. Or copy the skill folder (skills/flux-3-generate in black-forest-labs/skills) into .agents/skills/flux-3-generate in your project. Codex loads it when a task matches its description.

Can I use Flux 3 Generate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add black-forest-labs/skills --skill flux-3-generate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flux-3-generate, .gemini/skills/flux-3-generate, .github/skills/flux-3-generate and .opencode/skills/flux-3-generate in your project.

What does Flux 3 Generate need to run?

Going by SKILL.md and its folder, Flux 3 Generate needs credentials named BFL_API_KEY. Our summary lists: A credential in BFL_API_KEY.

Does Flux 3 Generate access the network?

SKILL.md names 1 domain. As links in the text: docs.bfl.ai. This is read from the text; nothing was executed.

Is Flux 3 Generate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Flux 3 Generate use?

Flux 3 Generate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Flux 3 Generate use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 260 tokens, read only when the agent opens those files.

What are the alternatives to Flux 3 Generate?

Skills that share tags, products or a category with Flux 3 Generate: Yichen Asr (mcncarl/yichen-skills, 4.4k stars), Youtube Fetcher (JimmySadek/youtube-fetcher-to-markdown, 485 stars), Comfyui Animatool (ShiroEirin/comfyui-good-anima, 481 stars) and Comfyui Agent Skill Mie (MieMieeeee/comfyui-agent-skill, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flux 3 Generate?

black-forest-labs (a GitHub organization) maintains it in black-forest-labs/skills, which has 128 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 9, 2026.

Source: black-forest-labs/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.