Images
POST /images/generations. Make an image from a prompt. Image to image models edit a picture you send. Priced per image or per megapixel, as the model page says.
curl -X POST https://api.clod.io/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "IMAGE_MODEL",
"prompt": "A lighthouse at sunrise",
"size": "1024x1024"
}'