# FLUX.1 Schnell

ID: black-forest-labs/flux-1-schnell
Type: image generation
Vendor: Black Forest Labs
Released: 2024-08-01
Commercial use: allowed
Description: FLUX.1 [schnell] is a 12B rectified flow text-to-image model from Black Forest Labs, distilled for high-quality generation in 1–4 steps.

## Modes and inputs
- Text → Image (`txt->img`)
  - Prompt only, no input images

## Output
- Aspect ratios: 1:1, 9:7, 7:9, 19:13, 13:19, 7:4, 4:7. Other ratios snap to the closest one. Without `size` (or with `"auto"`), Mynth picks a ratio for the prompt.
- 4K: no
- Negative prompt: not supported (dropped, no error)

## Pricing (USD)
- Per image: $0.0020
- Only successful results are charged.

## Usage
Set the request's `model` field to `black-forest-labs/flux-1-schnell`. Always pass it explicitly.

TypeScript SDK, Text → Image:

```ts
import Mynth from "@mynthio/sdk";

const mynth = new Mynth();

const task = await mynth.image.generate({
  model: "black-forest-labs/flux-1-schnell",
  prompt: "A lighthouse at dusk, 35mm film",
  size: "1:1",
});

console.log(task.urls[0]);
```

REST (cURL), Text → Image:

```bash
curl https://api.mynth.io/image/generate \
  -H "Authorization: Bearer $MYNTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "black-forest-labs/flux-1-schnell",
    "prompt": "A lighthouse at dusk, 35mm film",
    "size": "1:1"
  }'
```

CLI, Text → Image:

```bash
npx @mynthio/cli image generate \
  -m black-forest-labs/flux-1-schnell \
  -p "A lighthouse at dusk, 35mm film" \
  -s 1:1
```

## Links
- Model page: https://mynth.io/models/black-forest-labs%2Fflux-1-schnell
- Playground: https://mynth.io/playground?_m=black-forest-labs%2Fflux-1-schnell
- Vendor page: https://bfl.ai/blog/24-08-01-bfl
- License: https://www.apache.org/licenses/LICENSE-2.0
- API docs (image generation request): https://mynth.io/docs/api-reference/endpoints/image/generate.md
- Quickstart: https://mynth.io/docs/getting-started.md
- SDK (JS/TS): https://mynth.io/docs/sdks/typescript.md
- This page as JSON: https://mynth.io/models/black-forest-labs%2Fflux-1-schnell.json

## More from Black Forest Labs
- FLUX.3 [black-forest-labs/flux-3]: https://mynth.io/models/black-forest-labs%2Fflux-3.md
- FLUX.3 Klein [black-forest-labs/flux-3-klein]: https://mynth.io/models/black-forest-labs%2Fflux-3-klein.md
- FLUX.1 Dev [black-forest-labs/flux.1-dev]: https://mynth.io/models/black-forest-labs%2Fflux.1-dev.md
- FLUX.2 Dev [black-forest-labs/flux.2-dev]: https://mynth.io/models/black-forest-labs%2Fflux.2-dev.md
- FLUX.2 Flex [black-forest-labs/flux.2-flex]: https://mynth.io/models/black-forest-labs%2Fflux.2-flex.md
- FLUX.2 Klein [black-forest-labs/flux.2-klein-4b]: https://mynth.io/models/black-forest-labs%2Fflux.2-klein-4b.md
- FLUX.2 Max [black-forest-labs/flux.2-max]: https://mynth.io/models/black-forest-labs%2Fflux.2-max.md
- FLUX.2 Pro [black-forest-labs/flux.2-pro]: https://mynth.io/models/black-forest-labs%2Fflux.2-pro.md

## Similar models
- One obsession [maxfeifei8/one-obsession]: https://mynth.io/models/maxfeifei8%2Fone-obsession.md
- Pony Diffusion V6 XL [purplesmartai/pony-diffusion-v6-xl]: https://mynth.io/models/purplesmartai%2Fpony-diffusion-v6-xl.md
- Bismuth Illustrious Mix [john6666/bismuth-illustrious-mix]: https://mynth.io/models/john6666%2Fbismuth-illustrious-mix.md
- Recraft V4.1 Flash [recraft/recraft-v4.1-flash]: https://mynth.io/models/recraft%2Frecraft-v4.1-flash.md
- Z-Image Turbo [tongyi-mai/z-image-turbo]: https://mynth.io/models/tongyi-mai%2Fz-image-turbo.md
