Skip to main content
Black Forest LabsFastHigh

FLUX.1 Schnell

Ultra-fast image generation model optimized for speed. Generates high-quality images in just 1-2 seconds, perfect for real-time applications and rapid prototyping.

3 credits
per image
Ultra-fast generation (1-2 seconds)
High-quality output at 1024x1024
Excellent prompt understanding
Great for real-time applications
Low credit cost per generation

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

llms.txt

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "black-forest-labs/flux-schnell",
  "input": {
    "prompt": "A sleek wireless headphone on a minimalist white marble surface, professional product photography, soft studio lighting, 8k ultra detailed",
    "image_size": "landscape_4_3",
    "num_inference_steps": 4
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text description of the image to generate
aspect_ratiostringNo1:1Aspect ratio for the generated image
1:116:99:164:33:43:22:3
num_outputsintegerNo1Number of outputs to generate
num_inference_stepsintegerNo4Number of denoising steps (recommended: 4)
seedintegerNo-Random seed for reproducibility
output_formatstringNopngFormat of output images
pngjpgwebp
output_qualityintegerNo80Quality of output images (0-100)
go_fastbooleanNo-Run faster with fp8 quantized model
megapixelsstringNo1Approximate megapixels for output
0.251

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Product Photography

Generate professional product shots

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "black-forest-labs/flux-schnell",
  "input": {
    "prompt": "A sleek wireless headphone on a minimalist white marble surface, professional product photography, soft studio lighting, 8k ultra detailed",
    "image_size": "landscape_4_3",
    "num_inference_steps": 4
  }
}'

Character Design

Create unique character concepts

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "black-forest-labs/flux-schnell",
  "input": {
    "prompt": "A cyberpunk samurai warrior with glowing neon armor, detailed character design, concept art style, dramatic lighting",
    "image_size": "portrait_4_3"
  }
}'

Landscape Art

Generate stunning landscapes

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "black-forest-labs/flux-schnell",
  "input": {
    "prompt": "Breathtaking mountain vista at golden hour, misty valleys below, photorealistic landscape photography, National Geographic style",
    "image_size": "landscape_16_9"
  }
}'

Tips & Best Practices

1Use specific, detailed prompts for better results
2Include style references like 'professional photography' or 'concept art'
3Specify lighting conditions for more control
4Use seed values to reproduce similar results
5Start with 4 inference steps, increase only if needed

Use Cases

Rapid prototyping and ideation
Real-time image generation in apps
Social media content creation
Quick concept visualization
A/B testing different prompts