Try in playground
Test Flux Schnell in the Runpod Hub playground.
| Endpoint | https://api.runpod.ai/v2/black-forest-labs-flux-1-schnell/runsync |
| Pricing | $0.0024 per megapixel |
| Type | Image generation |
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 theinput object in the request body.
Text description of the desired image. Be specific and detailed for best results.
Elements to exclude from the generated image. Use this to prevent unwanted features or styles.
Image width in pixels. Must be divisible by 64. Range: 256-1536.
Image height in pixels. Must be divisible by 64. Range: 256-1536.
Number of denoising steps. Schnell is optimized for low step counts. Range: 1-8.
How closely to follow the prompt. Higher values produce images more faithful to the prompt. Range: 0.0-10.0.
Seed for reproducible results. Use the same seed with identical parameters to generate the same image. Set to -1 for random.
Output image format. Accepts
png or jpeg.Response
Unique identifier for the request.
Request status. Returns
COMPLETED on success, FAILED on error.Time in milliseconds the request spent in queue before processing began.
Time in milliseconds the model took to generate the image.
Identifier of the worker that processed the request.
Cost calculation
Flux Schnell charges $0.0024 per megapixel. Cost is calculated as:(width × height / 1,000,000) × \$0.0024.
| Image size | Megapixels | Cost |
|---|---|---|
| 512×512 | 0.26 MP | $0.0006 |
| 1024×1024 | 1.05 MP | $0.0025 |
| 1536×1536 | 2.36 MP | $0.0057 |