Skip to main content
Flux Schnell is Black Forest Labs’ fastest and most lightweight FLUX model, ideal for local development, prototyping, and personal use. It generates images quickly with lower step counts while maintaining good quality.

Try in playground

Test Flux Schnell in the Runpod Hub playground.
Flux Schnell is optimized for speed and works best with lower step counts. For higher fidelity production images, consider Flux Dev.

Request

All parameters are passed within the input object in the request body.
string
required
Text description of the desired image. Be specific and detailed for best results.
string
Elements to exclude from the generated image. Use this to prevent unwanted features or styles.
integer
default:"1024"
Image width in pixels. Must be divisible by 64. Range: 256-1536.
integer
default:"1024"
Image height in pixels. Must be divisible by 64. Range: 256-1536.
integer
default:"4"
Number of denoising steps. Schnell is optimized for low step counts. Range: 1-8.
float
default:"7.5"
How closely to follow the prompt. Higher values produce images more faithful to the prompt. Range: 0.0-10.0.
integer
default:"-1"
Seed for reproducible results. Use the same seed with identical parameters to generate the same image. Set to -1 for random.
string
default:"jpeg"
Output image format. Accepts png or jpeg.

Response

string
Unique identifier for the request.
string
Request status. Returns COMPLETED on success, FAILED on error.
integer
Time in milliseconds the request spent in queue before processing began.
integer
Time in milliseconds the model took to generate the image.
string
Identifier of the worker that processed the request.
object
The generation result containing the image URL and cost.
string
URL of the generated image. This URL expires after 7 days.
float
Cost of the generation in USD, calculated based on the output megapixels.
Image URLs expire after 7 days. Download and store generated images immediately if you need to keep them.

Cost calculation

Flux Schnell charges $0.0024 per megapixel. Cost is calculated as: (width × height / 1,000,000) × \$0.0024.