bfl-api — Claude Code skill: what it does, how to install
This skill helps connect BFL FLUX API for image generation and editing. It covers async requests, polling, rate limits, and webhooks.
npx skills add calesthio/OpenMontage --skill bfl-api -a claude-codeWhat bfl-api does
bfl-api explains how to connect BFL FLUX API to an application for image generation, editing, and processing. The guide covers model and regional endpoints, image input by URL, multi-reference editing, and resolution-based pricing.
It describes the basic request flow: send a POST request, receive a polling_url, and wait for the result. Polling is suggested for scripts and local work, while webhooks are covered for production server-to-server workflows. The material includes Python and TypeScript examples plus handling for rate limits and API errors.
The BFL_API_KEY environment variable must be set before use. Result URLs expire after 10 minutes, so the image should be downloaded as soon as generation finishes; storing those URLs in a cache would be a problem.
What it helps with
- connect BFL FLUX API to an application
- build an async flow around
polling_url - handle API rate limits and errors
- configure webhooks for a production workflow
- send multiple images for editing
Example prompts for the agent
- Show me how to connect BFL FLUX API in this project with Python and verify `$BFL_API_KEY`.
- Build an async FLUX request for this app using `polling_url` and error handling.
- Configure result delivery with a webhook and explain when to use it instead of polling.
How to install bfl-api
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill bfl-api -a claude-code2Manually: put the files in place
~/.claude/skills/bfl-api/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/bfl-api/
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill bfl-api -a codex2Manually: put the files in place
.agents/skills/bfl-api/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill bfl-api -a cursor2Manually: put the files in place
.cursor/skills/bfl-api/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install calesthio/OpenMontage bfl-api2Manually: put the files in place
.github/skills/bfl-api/SKILL.md1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill bfl-api -a gemini-cli2Platform CLI
gemini skills install https://github.com/calesthio/OpenMontage --path .claude/skills/bfl-apiManually: put the files in place
.devin/skills/bfl-api/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill bfl-api -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set28
The whole set →Similar
Questions about bfl-api
How do I install bfl-api in Claude Code?
Run npx skills add calesthio/OpenMontage --skill bfl-api -a claude-code, then run npx skills add calesthio/OpenMontage --skill bfl-api -a claude-code again. The skill file is at ~/.claude/skills/bfl-api/SKILL.md.
What does bfl-api do?
The skill guides BFL FLUX API integration for image generation, editing, and processing. It covers async polling, webhooks, regional endpoints, rate limits, and error handling.
What does bfl-api require before it can work?
Set the BFL_API_KEY environment variable before making requests. Download result images within 10 minutes because the returned URLs expire.