Bfl Api
ListedProvides API guidance and assistance for agent workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add black-forest-labs/skills --skill bfl-api -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
black-forest-labs
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 4 hosts that are neither well-known infrastructure nor declared in the skill's frontmatter: api.bfl.ai, api.eu.bfl.ai, api.us.bfl.ai, dashboard.bfl.ai.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
api.bfl.aiundeclareddashboard.bfl.aiundeclaredapi.eu.bfl.aiundeclaredapi.us.bfl.aiundeclaredWhat it found (3 of 25)
- skills/bfl-api/SKILL.md:84contacts api.bfl.ai
curl -X POST "https://api.bfl.ai/v1/flux-2-pro" \ - skills/bfl-api/SKILL.md:96contacts api.bfl.ai
curl -X POST "https://api.bfl.ai/v1/flux-2-pro" \ - skills/bfl-api/SKILL.md:215contacts api.bfl.ai
curl -s -X POST "https://api.bfl.ai/v1/flux-2-pro" \
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned black-forest-labs/skills at 8907d515b0.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 8907d515b0
- Manifest
- skills/bfl-api/SKILL.md
- Scanned
- 11 files, 2,751 lines
About this skill
What it does
This skill provides guidance and assistance for integrating Black Forest Labs (BFL) FLUX APIs into applications that generate, edit, or process images. It offers information on API endpoints, pricing models, and best practices for building production-ready integrations with BFL's image generation services. The skill helps users set up their API client, handle rate limits, and configure webhooks.
When to use it
- Setting up a BFL API client within an application.
- Implementing asynchronous polling patterns when interacting with the APIs.
- Managing rate limits and handling potential errors during API calls.
- Configuring webhooks for production environments.
- Choosing appropriate regional endpoints (Global, EU, US) based on requirements like GDPR compliance or data residency.
Key capabilities
- Provides information on BFL API base endpoints for different regions (Global, EU, US).
- Details pricing models and costs associated with various FLUX.2 and FLUX.1 models.
- Outlines model paths for image generation and editing tasks.
- Offers guidance on handling temporary image URLs that expire after 10 minutes.
- Explains how to use the
input_imageparameter for image editing within FLUX.2 models.
Example prompts
- "What are the available regional endpoints for the BFL API?"
- "How much will it cost to generate an image using the FLUX.2 [pro] model at a resolution of 1000x1000 pixels?"
- “Show me an example curl command for editing an image with the FLUX.2 pro model.”
Tips & gotchas
- API Key: Ensure your
BFL_API_KEYenvironment variable is set before using the API, as authentication errors will occur otherwise. - Image URL Expiration: Downloaded images from the BFL API are only available for a short time (10 minutes). Download them immediately after generation and avoid caching the URLs themselves.
- Pricing: Use the bfl.ai/pricing calculator to accurately determine costs based on image resolution.