ReplicateImage GenerationAI generation

black-forest-labs/flux-schnell

replicate.image-gen.flux-schnell

Generate up to four images quickly from a text prompt with the official FLUX Schnell model.

Price
$0.012/successAt provider cost
Success rate
99.7%Last 30 days · 7,221 calls
Latency p50
855 msp95 2.6 s
Last verified
Sep 1, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/replicate.image-gen.flux-schnellPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Asynchronous response
  • Reads public data

Parameters

This tool has no parameters. See provider docs ↗ Provider docs

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/replicate.image-gen.flux-schnell' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"input":{"prompt":"A small red kite above a calm beach.","num_outputs":1,"aspect_ratio":"1:1","output_format":"webp"}}'

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.012/success, including the service fee.