Skip to main content
POST
Generate image

Authorizations

Authorization
string
header
required

An API key from Autoadify → Settings → API & MCP, sent as Authorization: Bearer aak_live_….

Body

application/json
prompt
string
required

What to generate. Be specific about subject, style, setting and any text to render.

Required string length: 1 - 4000
model
enum<string>
default:nano-banana-2

A model id from list_ai_models. Default nano-banana-2.

Available options:
nano-banana-2,
gpt-image-2,
qwen-image-3,
krea-2-medium,
krea-2-medium-turbo,
recraft-v4.1-flash
aspectRatio
enum<string>
default:1:1

1:1 feed, 4:5 Instagram portrait, 9:16 stories/reels, 16:9 landscape.

Available options:
1:1,
4:5,
9:16,
16:9

Response

The generation: completed, or pending to poll.

generation
any
required