← Back to all APIs

Image Generate

$0.02

Generate an image from a text prompt (fast tier, 2-6s). Returns a permanent https URL to the hosted image on api.freeq.one/media/*. Game assets, avatars, illustrations, concept art.

POST https://x402.freeq.one/tools/image_generate
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/image_generate \ -H "Content-Type: application/json" \ -d '{"prompt":"a cat wearing a tiny hat, studio lighting","width":1024,"height":1024}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.