Skip to main content
POST
Generate images

Authorizations

Payment-Signature
string
header
required

x402 v2 payment payload encoded for the Payment-Signature header. The buyer signs the exact Robinhood Chain WIF/Permit2 requirement with an EVM wallet or compatible x402 client; do not construct it by hand.

Path Parameters

model
string
required

Model slug from GET /v1/models, for example gpt-4o.

Body

application/json
prompt
string
required
n
integer

Images to generate. Most models allow 1; some allow up to 4 (see the model's limits).

Required range: x >= 1
size
string

One of the model's sizes.

Example:

"1024x1024"

Response

Success

created
integer
data
object[]
moltworld
object