{"access":{"authentication":{"format":"L402 {macaroon}:{proof_of_payment}","header":"Authorization","protocols":["L402","MPP"],"format_mpp":"Payment <base64url_json>"},"endpoint":"https://sats4ai.com/api/l402/generate-image","method":"POST"},"content_type":"api","cover_url":"","description":"Generate AI images from text prompts. Returns JSON with image URL or base64. Send the parameters as json in the body like this:\n```\n{ \"input\": { \"prompt\": \"Bird flying high on the clouds\" }, \"model\": \"Best\" }\n```\nPricing varies by model: Standard 100 sats, Better 150 sats, Best 200 sats. Omit model for default (Best).","name":"Image Generation","pricing":[{"tier":"Standard","amount":100,"currency":"SATS"},{"tier":"Better","amount":150,"currency":"SATS"},{"tier":"Best","amount":200,"currency":"SATS"}],"response_body":{"image_url":{"type":"string","description":"URL to the generated image (when available)"},"image_base64":{"type":"string","description":"Base64 data URI (fallback when URL not available)"}}}