Skip to main content

bfl-api

Integrates BFL FLUX API for image generation and processing with guidance on endpoints, polling, and error handling.

Install this skill

or
17/100

Security score

The bfl-api skill was audited on Feb 12, 2026 and we found 31 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 84

Curl to non-GitHub URL

SourceSKILL.md
84curl -X POST "https://api.bfl.ai/v1/flux-2-pro" \
medium line 96

Curl to non-GitHub URL

SourceSKILL.md
96curl -X POST "https://api.bfl.ai/v1/flux-2-pro" \
medium line 215

Curl to non-GitHub URL

SourceSKILL.md
215curl -s -X POST "https://api.bfl.ai/v1/flux-2-pro" \
medium line 252

Curl to non-GitHub URL

SourceSKILL.md
252curl -s -X POST "https://api.bfl.ai/v1/flux-2-pro" \
medium line 3

Webhook reference - potential data exfiltration

SourceSKILL.md
3description: BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and TypeScript code examples.
medium line 7

Webhook reference - potential data exfiltration

SourceSKILL.md
7tags: flux, bfl, api, integration, webhooks, rate-limiting
medium line 33

Webhook reference - potential data exfiltration

SourceSKILL.md
33- Configuring webhooks for production
medium line 133

Webhook reference - potential data exfiltration

SourceSKILL.md
133### Polling vs Webhooks
medium line 138

Webhook reference - potential data exfiltration

SourceSKILL.md
138| **Webhooks** | Production apps, high volume, server-to-server, when you need immediate notification |
medium line 140

Webhook reference - potential data exfiltration

SourceSKILL.md
140**Start with polling** - it's simpler and works everywhere. Switch to webhooks when you need to scale or want event-driven architecture.
medium line 146

Webhook reference - potential data exfiltration

SourceSKILL.md
146- **Webhook Support**: Configure `webhook_url` for production workloads
medium line 200

Webhook reference - potential data exfiltration

SourceSKILL.md
200- [references/webhook-integration.md](references/webhook-integration.md) - Webhook setup and security
medium line 161

Access to .env file

SourceSKILL.md
1612. **Save to `.env`** (recommended for persistence):
low line 163

Access to .env file

SourceSKILL.md
163echo 'BFL_API_KEY=bfl_your_key_here' >> .env
low line 164

Access to .env file

SourceSKILL.md
164echo '.env' >> .gitignore # Don't commit secrets
low line 43

External URL reference

SourceSKILL.md
43| Global | `https://api.bfl.ai` | Default, automatic failover |
low line 44

External URL reference

SourceSKILL.md
44| EU | `https://api.eu.bfl.ai` | GDPR compliance |
low line 45

External URL reference

SourceSKILL.md
45| US | `https://api.us.bfl.ai` | US data residency |
low line 75

External URL reference

SourceSKILL.md
75> **Tip:** All FLUX.2 models support image editing via the `input_image` parameter - no separate editing endpoint needed. Use [bfl.ai/pricing](https://bfl.ai/pricing) calculator for exact costs at dif
low line 84

External URL reference

SourceSKILL.md
84curl -X POST "https://api.bfl.ai/v1/flux-2-pro" \
low line 89

External URL reference

SourceSKILL.md
89"input_image": "https://example.com/photo.jpg"
low line 96

External URL reference

SourceSKILL.md
96curl -X POST "https://api.bfl.ai/v1/flux-2-pro" \
low line 101

External URL reference

SourceSKILL.md
101"input_image": "https://example.com/person.jpg",
low line 102

External URL reference

SourceSKILL.md
102"input_image_2": "https://example.com/background.jpg"
low line 160

External URL reference

SourceSKILL.md
1601. **Get a key**: Go to https://dashboard.bfl.ai/get-started → Click **"Create Key"** → Select organization
low line 215

External URL reference

SourceSKILL.md
215curl -s -X POST "https://api.bfl.ai/v1/flux-2-pro" \
low line 224

External URL reference

SourceSKILL.md
224{ "id": "abc123", "polling_url": "https://api.bfl.ai/v1/get_result?id=abc123" }
low line 236

External URL reference

SourceSKILL.md
236{ "status": "Ready", "result": { "sample": "https://...", "seed": 1234 } }
low line 252

External URL reference

SourceSKILL.md
252curl -s -X POST "https://api.bfl.ai/v1/flux-2-pro" \
low line 257

External URL reference

SourceSKILL.md
257"input_image": "https://example.com/cat.jpg",
low line 258

External URL reference

SourceSKILL.md
258"input_image_2": "https://example.com/room.jpg",
Scanned on Feb 12, 2026
View Security Dashboard
Installation guide →
GitHub Stars 55
Rate this skill
Categorydevelopment
UpdatedMay 21, 2026
NeverSight/skills_feed