Edit
Generate or edit from reference images with natural language.
14 credits per run
~16s
image generation
slug: edit-image
One call
curl
curl https://generativeaiapi.com/api/public/v1/generations \
-H "Authorization: Bearer gai_live_..." \
-H "Content-Type: application/json" \
-d '{
"model": "edit-image",
"prompt": "an orbital greenhouse at golden hour",
"wait": true
}'Options
aspect_ratio
Aspect ratio
What you get
- 14 credits per run — priced before you press go
- Failed generations are refunded automatically
- Optional reference image input
- Same slug in the browser studio and the REST API