black-forest-labs / flux-schnell
Fast 4-step text to image from Black Forest Labs. Good default for product shots, concepts and quick iterations.
- Price: $0.003 per image, billed from prepaid credit. Failed runs are free.
- License: Apache-2.0
- Source: https://github.com/replicate/cog-flux
- Collection: Generate images
- Status: available now
Run black-forest-labs/flux-schnell with the API
curl -s https://binerai.biner.dev/v1/predictions \
-H "Authorization: Bearer $BINERAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"black-forest-labs/flux-schnell","input":{"prompt":"a red fox in a snowy forest"}}'
Then poll GET https://binerai.biner.dev/v1/predictions/:id or pass a webhook URL. Full reference: API docs.
Input
| Field | Type | Description |
|---|---|---|
prompt | string | Text prompt |
aspect_ratio | string, default "1:1" | |
num_outputs | integer, default 1 | |
num_inference_steps | integer, default 4 | |
seed | integer |
Examples
Example runs from Replicate.
- Three magical wizards standing on a yellow table, each holding a sign. On the left, a wizard in black robes holds a sign that says ‘AI’; in the middle, a witch in red robes holds a sign that says ‘is’; and on the right, a wizard in blue robes holds a sign that says ‘cool’ output
- a cat holding a sign that says hello world output
- womens street skateboarding final in Paris Olympics 2024 output
- a tiny astronaut hatching from an egg on the moon output
- black forest gateau cake spelling out the words "FLUX SCHNELL", tasty, food photography, dynamic shot output