Image generation cookbook

Production-ready recipes for flux1-pro, flux2-pro, and dall-e-3 via /api/v1/images/generations

flux1-pro — photorealistic portraits

curl -X POST https://api.getnimbus.net/v1/images/generations \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux1-pro",
    "prompt": "Studio portrait of a woman, soft key light, f/1.8, 85mm",
    "n": 1,
    "size": "1024x1024",
    "response_format": "url"
  }'

flux2-pro — cinematic landscapes

curl -X POST https://api.getnimbus.net/v1/images/generations \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux2-pro",
    "prompt": "Aerial view of a fjord at golden hour, mist rolling over cliffs, 8K",
    "n": 2,
    "size": "1792x1024",
    "response_format": "b64_json"
  }'

dall-e-3 — product renders

curl -X POST https://api.getnimbus.net/v1/images/generations \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dall-e-3",
    "prompt": "Minimalist ceramic vase on a marble plinth, studio lighting, white background",
    "n": 1,
    "size": "1024x1024",
    "quality": "hd",
    "style": "vivid"
  }'

Per-image pricing

Model1024×10241792×1024HD surcharge
flux1-pro$0.04$0.06
flux2-pro$0.05$0.08
dall-e-3$0.04$0.07+$0.02

Prices in USD. Volume discounts available on the pricing page.