Generate images, priced per image and size
sol.mapleai.shop/api/v1/images/generations
Generate images, priced per image and size
POST
https://sol.mapleai.shop/api/v1/images/generationsUptime100% 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"
}