Tooluck logoTooluck
SKILL.md

black-forest-labs

Agent skill fromAnil-matcha/awesome-muse-connectors

Black Forest Labs FLUX image generation: flux-2-pro and flux-2-flex text-to-image with async polling. Trigger phrases: black forest labs, BFL, flux image, flux-2-pro, flux 2 generate.

How to install black-forest-labs

install black-forest-labs
# install the awesome-muse-connectors pack with the skills CLI
npx skills add Anil-matcha/awesome-muse-connectors

# or add only this skill to Claude Code: copy the folder

connectors/black-forest-labs/

# into

~/.claude/skills/black-forest-labs/ (all projects)

.claude/skills/black-forest-labs/ (one project)

connectors/black-forest-labs/SKILL.md

MITFull file
1# FLUX image API
2
3## Purpose
4Generate images with the FLUX.2 family via Black Forest Labs' official API: `flux-2-pro` for general text-to-image and native image editing, `flux-2-flex` for typography and text-heavy images. The quality bar for custom imagery in the catalog. Regional hosts exist for GDPR (`api.eu.bfl.ai`) and US (`api.us.bfl.ai`).
5
6## Tooling
7All commands go through `bin/black-forest-labs.py`:
8
9```bash
10bin/black-forest-labs.py auth # verify credential setup (no spend)
11bin/black-forest-labs.py generate --prompt "a fox in a field of wheat" # submit; prints a polling_url
12bin/black-forest-labs.py generate --prompt "poster that says OPEN LATE" --model flux-2-flex
13bin/black-forest-labs.py generate --prompt "..." --region https://api.eu.bfl.ai
14bin/black-forest-labs.py status --polling-url 'https://api.bfl.ai/v1/get_result?id=...' # poll until Ready
15bin/black-forest-labs.py result --polling-url 'https://api.bfl.ai/v1/get_result?id=...' # fetch the result
16```
17
18`generate` returns a `polling_url`. Poll `status` with backoff; when status is `Ready`, the response carries the sample download URL. `--json` merges extra fields (width, height, seed, input images for editing) into the request.
19
20## Auth
21- Provider id: `black-forest-labs` (credential is collected as `custom.black-forest-labs`)
22- Collection: API key via the secure credential flow (`credentials.request_api_access`); created at dashboard.bfl.ai
23…

Excerpt shown under the repository's MIT license.

More skills in awesome-muse-connectors

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Leonxlnx /

taste-skill
113k

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

CCCXCU1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates