# Flux Schnell (`flux_schnell`)

> Flux Schnell. Fastest and cheapest Flux variant.

- Capability: Images (tool `image`) — Text to image
- Price: from $0.01 per run (1 credit = $0.01). Exact price for a request: POST https://api.varg.ai/v2/estimate
- Typical time: ~5 s
- JSON Schema: https://api.varg.ai/v2/tools/image?model=flux_schnell (public, no key)
- Try it: https://varg.ai/dashboard/tools/playground?model=flux_schnell

## Call it

REST: `POST https://api.varg.ai/v2/tools/image/call` with `Authorization: Bearer $VARG_API_KEY` (create a key at https://varg.ai/dashboard/api).
It answers `202` with a job right away. Poll `GET /v2/jobs/{id}` until `status` is `completed`, then read `output.outputs[0].url` — or pass `options.webhook_url` and get the finished job POSTed to you.

```bash
curl -X POST https://api.varg.ai/v2/tools/image/call \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux_schnell",
  "prompt": "sunset over ocean, golden light, wide landscape",
  "aspect_ratio": "16:9"
}'
```

MCP: the varg server `https://mcp.varg.ai/mcp` (OAuth sign-in, no key) runs it with `call_tool`:

```json
{
  "tool": "image",
  "input": {
    "model": "flux_schnell",
    "prompt": "sunset over ocean, golden light, wide landscape",
    "aspect_ratio": "16:9"
  },
  "wait": true
}
```

## Inputs

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `model` | string | yes | — | `flux_schnell` or a route key below | Which model runs the job. |
| `prompt` | string | no | — | — | — |
| `files` | array of { url } | no | — | — | — |
| `aspect_ratio` | string | no | — | e.g. 16:9 \| 9:16 \| 1:1 \| 4:3 \| 3:4 \| 21:9 \| auto | — |

Media inputs are URLs. Upload a local file first with `POST /v2/files` and pass the returned URL.

## Provider options

Optional, per provider, under `provider_options.<provider>`. Only the options of the provider that runs the job apply — pin a route to choose it.

### provider_options.fal

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `prompt` | string | no | — | — | The prompt to generate an image from. |
| `seed` | integer | no | — | 0–2147483647 | — |
| `sync_mode` | boolean | no | — | — | If True, the media will be returned as a data URI and the output data won't be available in the request history. |
| `image_size` | string | no | — | square_hd \| square \| portrait_4_3 \| portrait_16_9 \| landscape_4_3 \| landscape_16_9 | — |
| `num_images` | integer | no | — | 1–4 | The number of images to generate. |
| `acceleration` | string | no | — | none \| regular \| high | — |
| `output_format` | string | no | — | jpeg \| png | — |
| `guidance_scale` | number | no | — | 1–20 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| `num_inference_steps` | integer | no | — | 1–12 | The number of inference steps to perform. |
| `enable_safety_checker` | boolean | no | — | — | If set to true, the safety checker will be enabled. |

### provider_options.together

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `prompt` | string | no | — | — | A description of the image to generate. |
| `negative_prompt` | string | no | — | — | A description of what to avoid in the generated image. |
| `n` | integer | no | — | 1–4 | Number of images to generate. |
| `seed` | integer | no | — | 0–2147483647 | Fixes random initialization for reproducibility. |
| `steps` | integer | no | — | 1–50 | Number of diffusion steps. |
| `width` | integer | no | — | 256–1536 | Output width in px (multiple of 8). |
| `height` | integer | no | — | 256–1536 | Output height in px (multiple of 8). |
| `output_format` | string | no | — | jpeg \| png | — |
| `response_format` | string | no | — | url \| base64 | — |
| `disable_safety_checker` | boolean | no | — | — | Disables the built-in NSFW safety checker. |

## Routes

`"model": "flux_schnell"` picks a route automatically (priority order, then the inputs you send). To pin one, pass its key as `model`.

| model key | provider | modality | price from | typical time |
|---|---|---|---|---|
| `fal:flux_schnell` | fal | text-to-image | $0.01 | ~8 s |
| `together:flux_schnell` | together | text-to-image | $0.01 | ~5 s |

## Example output

- image/jpeg: https://s3.varg.ai/files/194b94d0-58ff-4e8b-91de-4f1959d04013/file_d866b2be132a.jpg

---

Catalog version 2026-11-11T12:59:09.901887+00:00. All models: https://varg.ai/models/llms.txt
