# FLUX.1 schnell

`Flux1schnell` · Black Forest Labs · Image Generation & Editing

256–2048px resolution (128px steps). 1–10 inference steps. Default: 768×768, 4 steps. No guidance needed. Optimized for speed.

[Model page](https://runstage.dev/models/flux-1-schnell) · [JSON](https://runstage.dev/models/flux-1-schnell.json) · [Catalog](https://runstage.dev/pricing) · [Playground](https://runstage.dev/playground?model=Flux1schnell)

## Technical summary

- **Exact API model slug**: `Flux1schnell`
- **Developer**: Black Forest Labs
- **Inference types**: `txt2img`
- **Infrastructure**: Direct GPU Fleet
- **Headline rate**: $0.00177 / 512×512 (4 steps) (Resolution × steps)
- **Free quote endpoint**: `POST https://runstage.dev/api/v2/quote`

## Runstage routes

- **Text to Image** (`txt2img`): `POST /api/v2/quote` · `POST /api/v2/run` · `GET /api/v2/jobs/{request_id}` · `GET /api/v2/jobs/{request_id}/output` · `MCP runstage_generate_media`

## Best for

- Run FLUX.1 schnell via unified v2 jobs with free pre-run /price quotes
- Drop-in compatible with the OpenAI SDK via the OpenAI-compatible gateway
- Low-latency pay-as-you-go inference on direct GPU capacity

## Billing notes

$0.00248 at 768×768, $0.00348 at 1024×1024.

## Quickstart (cURL)

```bash
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"Flux1schnell","width":1024,"height":1024,"steps":4}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "Flux1schnell",   "prompt": "Ethereal bioluminescent forest at twilight, ancient massive trees with glowing cyan and purple fungi growing on bark, fireflies creating streams of golden light, misty atmosphere with rays of moonlight filtering through canopy, crystal-clear stream reflecting the magical lights, ultra-detailed fantasy landscape, cinematic composition, volumetric fog, dreamlike atmosphere",   "width": 1024,   "height": 1024,   "steps": 4,   "seed": 42 }'

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'
```
