Black Forest Labs
$0.01 – $0.08/call
Creators of FLUX, state-of-the-art text-to-image models with photorealistic output.
Connect Black Forest Labs tools
Cursor
Claude Code
Claude Desktop
Windsurf
VS Code
Cline
Roo Code
ChatGPT
Gemini CLI
Amazon Q
Goose
Augment
n8n
API / cURL
AI SDK
TypeScript SDK
{
"mcpServers": {
"black-forest-labs": {
"url": "https://black-forest-labs.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Or connect all tools
Access all tools (including Black Forest Labs) through a single MCP connection.
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}Agent Discovery
Machine-readable catalogs for LLM agents and automation.
curl https://xpay.tools/llms.txt
curl https://xpay.tools/agents.txt
curl https://xpay.tools/skill.md
Pricing
Pay per tool call. No subscriptions.
3 Black Forest Labs tools availableAbout Black Forest Labs
Black Forest Labs on xpay — State-of-the-art text-to-image generation, billed per call
Black Forest Labs created FLUX, a family of text-to-image models known for photorealistic output and fine detail. Developers reach for FLUX when they need production-grade image generation—whether for product mockups, marketing assets, design exploration, or API-driven workflows. On xpay, you call FLUX tools directly through MCP without signing up for a Black Forest Labs account, and you pay only for what you use.
What's available
black_forest_labs_flux_pro— FLUX 1.1 Pro delivers the highest quality photorealistic images, ideal when output fidelity is non-negotiable. Best for hero images, product photography, and high-stakes creative work.black_forest_labs_flux_dev— FLUX Dev balances quality and generation speed, suitable for iterative design, batch processing, and workflows where turnaround matters.black_forest_labs_flux_schnell— FLUX Schnell is the fastest option, generating images in 1–4 steps. Perfect for real-time applications, high-volume generation, and cost-sensitive use cases.
When Black Forest Labs is the right tool
- You need photorealistic image generation with fine control over composition and detail.
- Your workflow requires fast iteration—testing multiple prompts or variations in a single session.
- You're building an agent or application that generates images on-demand without maintaining a separate image service.
- You want to avoid managing upstream API keys and prefer unified billing across multiple providers.
- Your use case spans product mockups, marketing assets, design exploration, or user-facing image creation.
When to choose something else
- You need image editing, inpainting, or manipulation—FLUX is text-to-image only; tools like Replicate's Stable Diffusion XL or open-source alternatives may be better for post-generation edits.
- Your budget is extremely tight and you can tolerate lower-quality output—free or open-source models (Stable Diffusion, DALL-E mini) may suffice.
- You need real-time streaming or sub-second latency—FLUX generation takes several seconds, even with Schnell.
- You require image-to-image workflows, style transfer, or other non-text-to-image tasks.
- You need batch processing with guaranteed uptime SLAs—xpay is best for on-demand, agent-driven calls rather than scheduled bulk jobs.
Pricing snapshot
| Tool | Price per call | Use case |
|---|---|---|
black_forest_labs_flux_pro | $0.08 | Maximum quality, hero images |
black_forest_labs_flux_dev | $0.05 | Balanced quality and speed |
black_forest_labs_flux_schnell | $0.01 | Fast, cost-effective generation |
Quickstart
claude mcp add --transport http black-forest-labs "https://black-forest-labs.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
Replace YOUR_XPAY_KEY with your xpay API key (get one free at https://xpay.tools after email or Google signup). Once connected, your Claude Code agent can call tools by name—for example, "use black_forest_labs_flux_pro to generate a photorealistic image of a sunset over mountains" and the agent will invoke the tool with your prompt.
Alternatively, to access all xpay providers (including Black Forest Labs) through a single MCP connection:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
Then use xpay_run("black-forest-labs/black_forest_labs_flux_pro", {"prompt": "..."}) to invoke tools.
Why route Black Forest Labs through xpay?
- No Black Forest Labs signup — xpay holds the upstream credentials; you authenticate once with your xpay key and access FLUX immediately.
- Pay per call, no subscription — Generate one image or one thousand; you're billed only for what you use, with no monthly minimums or seat fees.
- MCP-native integration — Call FLUX directly from Claude Code, Cursor, Windsurf, Cline, or VS Code without custom API wrappers or HTTP clients.
- Unified billing — If you use multiple providers (Tavily, Apollo, Replicate, etc.), xpay consolidates all charges into a single invoice and credit pool.
- Instant provisioning — Start generating images within seconds of signup; no waiting for approval or account setup with Black Forest Labs.
Frequently Asked Questions
Black Forest Labs created FLUX, a family of state-of-the-art text-to-image models known for photorealistic output and fine detail. Developers use FLUX to generate product mockups, marketing assets, design variations, and user-facing images in applications. It's ideal when you need high-quality, controllable image generation without maintaining a separate image service or managing complex infrastructure.
FLUX pricing on xpay ranges from $0.01 to $0.08 per image, depending on the model: Schnell ($0.01) is fastest and cheapest, Dev ($0.05) balances quality and speed, and Pro ($0.08) delivers maximum quality. You pay only for images you generate; there are no subscriptions or monthly fees. New accounts receive $5 free credit.
No. xpay holds the upstream Black Forest Labs credentials on your behalf. You sign up for xpay with your email or Google account, get an API key, and start calling FLUX tools immediately. You never create a Black Forest Labs account or manage API keys directly.
Run `claude mcp add --transport http black-forest-labs "https://black-forest-labs.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"`, replacing `YOUR_XPAY_KEY` with your xpay API key from https://xpay.tools. Once connected, your Claude Code agent can call FLUX tools by name (e.g., `black_forest_labs_flux_pro`) in natural language.
Add an MCP server entry to your `mcp.json` configuration file with the URL `https://black-forest-labs.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY` (or the unified endpoint `https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY` for all providers). The exact syntax depends on your editor; refer to the MCP documentation for your IDE. Your agent will then have access to FLUX tools.
FLUX Pro ($0.08/call) delivers the highest quality photorealistic images and is best for hero images and high-stakes creative work. FLUX Dev ($0.05/call) balances quality and speed, suitable for iterative design and batch workflows. FLUX Schnell ($0.01/call) is the fastest, generating images in 1–4 steps, and is ideal for real-time applications and cost-sensitive use cases.
No, FLUX is a text-to-image model—it generates images from text prompts only. It does not support inpainting, outpainting, image-to-image conversion, or style transfer. If you need those capabilities, consider tools like Replicate's Stable Diffusion XL or other specialized image editing APIs.
xpay eliminates the need to sign up for Black Forest Labs separately, consolidates billing across multiple providers into a single invoice, and integrates seamlessly with MCP-compatible agents (Claude Code, Cursor, VS Code). You get per-call pricing with no subscriptions, instant provisioning, and unified API key management—all designed to simplify agent-driven workflows.

