black-forest-labs/flux-schnell 🔢📝✓❓ → 🖼️

⭐ Official ▶️ 520.5M runs 📅 Jul 2024 ⚙️ Cog 0.15.8 🔗 GitHub ⚖️ License
fast-generation fast-inference text-to-image

About

The fastest image generation model tailored for local development and personal use

Example Output

Prompt:

"black forest gateau cake spelling out the words "FLUX SCHNELL", tasty, food photography, dynamic shot"

Output

Example output

Performance Metrics

0.83s Prediction Time
0.84s Total Time
1 Images
All Input Parameters
{
  "prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot",
  "go_fast": true,
  "num_outputs": 1,
  "aspect_ratio": "1:1",
  "output_format": "webp",
  "output_quality": 80
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
prompt (required) Type: string
Prompt for generated image
go_fast Type: booleanDefault: true
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 Default: 1
Approximate number of megapixels for generated image
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of outputs to generate
aspect_ratio Default: 1:1
Aspect ratio for the generated image
output_format Default: webp
Format of the output images
output_quality Type: integerDefault: 80Range: 0 - 100
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 Type: integerDefault: 4Range: 1 - 4
Number of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
running quantized prediction
generating
Using seed: 68235
  0%|          | 0/4 [00:00<?, ?it/s]
 50%|█████     | 2/4 [00:00<00:00, 18.61it/s]
100%|██████████| 4/4 [00:00<00:00, 13.49it/s]
100%|██████████| 4/4 [00:00<00:00, 14.07it/s]
Total safe images: 1 out of 1
Version Details
Version ID
c846a69991daf4c0e5d016514849d14ee5b2e6846ce6b9d6f21369e564cfe51e
Version Created
June 25, 2025
Run on Replicate →