Skip to content
All models
ImageComing soon

FLUX.1 [schnell]

Fast text-to-image model from Black Forest Labs.

  • Text to image

Example

Set VISTARA_BASE_URL and VISTARA_API_KEY from your console, then run:

cURL
curl "$VISTARA_BASE_URL/v1/images/generations" \
  -H "Authorization: Bearer $VISTARA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "flux-1-schnell", "prompt": "A quiet valley at first light", "size": "1024x1024" }'