Flash
Fastest 1024px generations for drafts and bulk work.
2 credits per run
~6s
image generation
slug: flash-image
One call
curl
curl https://generativeaiapi.com/api/public/v1/generations \
-H "Authorization: Bearer gai_live_..." \
-H "Content-Type: application/json" \
-d '{
"model": "flash-image",
"prompt": "an orbital greenhouse at golden hour",
"wait": true
}'Options
aspect
Size
negative_prompt
Negative prompt
What you get
- 2 credits per run — priced before you press go
- Failed generations are refunded automatically
- Text in, result out
- Same slug in the browser studio and the REST API