Skip to main content
The POST /v1/images/generations endpoint is compatible with the OpenAI Images API. You change the model and pick from our catalog.

Which models can I use?

IDProviderPriceNotes
openai/gpt-image-1OpenAI$0.19/imgNewest, high quality
openai/dall-e-3OpenAI$0.04/imgClassic
google/imagen-4Google$0.04/imgExcellent with text
xai/grok-2-imagexAI$0.07/imgPhotorealistic style
fal/flux-1.1-profal.ai$0.04/imgBest open-weight
fal/flux-1.1-pro-ultrafal.ai$0.06/imgFlux 4K
fal/recraft-v3fal.ai$0.04/imgBest for typography and brand style
fal/ideogram-v2fal.ai$0.08/imgProfessional typography
fal/sd-3.5-largefal.ai$0.065/imgStable Diffusion 3.5

Built-in storage

Each generated image is automatically uploaded to your Supabase Storage (supabase.geekhub.mx) in a public UUID-based bucket — effectively unguessable URLs (same model as Cloudinary or fal.media). This means URLs don’t expire and you can reference the image from:
  • Your web app (<img src={url} />)
  • Slack, email, social networks
  • Your own backup by downloading the bytes
If you want to store them in YOUR storage instead of ours, download them immediately with any HTTP client:
curl -O https://supabase.geekhub.mx/storage/v1/object/public/generated-images/.../0.png

Next steps

POST /v1/images/generations

Full endpoint reference.