Skip to content
Fourohtwo

Generate images, priced per image and size

sol.mapleai.shop/api/v1/images/generations

Generate images, priced per image and size

SolanaAnswering
POSThttps://sol.mapleai.shop/api/v1/images/generations

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://sol.mapleai.shop/api/v1/images/generations" \
  -d '{"n":1,"size":"1024x1024","model":"gpt-image-2","prompt":"A maple leaf"}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "n": 1,
  "size": "1024x1024",
  "model": "gpt-image-2",
  "prompt": "A maple leaf"
}