---
name: "xpay-black-forest-labs-black-forest-labs-flux-schnell"
description: "FLUX Schnell — fastest image generation, 1-4 steps"
version: "1.0.0"
price: "$0.01/call"
provider: "Black Forest Labs"
---

# Black Forest Labs Flux Schnell

FLUX Schnell — fastest image generation, 1-4 steps

**Provider:** Black Forest Labs
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to flux schnell — fastest image generation, 1-4 steps. This is part of the Black Forest Labs provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 2+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("black-forest-labs/black_forest_labs_flux_schnell")`
2. **`xpay_run`** — Execute: `xpay_run("black-forest-labs/black_forest_labs_flux_schnell", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `aspect_ratio` | string | No | Aspect ratio for the generated image |
| `disable_safety_checker` | boolean | No | Disable safety checker for generated images. |
| `num_outputs` | integer | No | Number of outputs to generate |
| `seed` | integer | No | Random seed. Set for reproducible generation |
| `output_format` | string | No | Format of the output images |
| `go_fast` | boolean | No | Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16. Note that outputs will not be deterministic when this is enabled, even if you set a seed. |
| `megapixels` | string | No | Approximate number of megapixels for generated image |
| `prompt` | string | Yes | Prompt for generated image |
| `output_quality` | integer | No | Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs |
| `num_inference_steps` | integer | No | Number of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster. |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Black Forest Labs (all tools)](https://xpay.tools/skills/black-forest-labs/SKILL.md) — 3 tools
- [Black Forest Labs Flux Pro](https://xpay.tools/skills/black-forest-labs/black-forest-labs-flux-pro/SKILL.md) — $0.08/call
- [Black Forest Labs Flux Dev](https://xpay.tools/skills/black-forest-labs/black-forest-labs-flux-dev/SKILL.md) — $0.05/call

## Links

- Tool page: https://xpay.tools/black-forest-labs/black-forest-labs-flux-schnell/
- Provider: https://xpay.tools/black-forest-labs/
- All tools: https://xpay.tools/explore
