Pay-per-use API · $0.03 / call · paid with x402 (USDC on Base)
Call it with any x402 v2 client or Coinbase AgentKit. You are only charged when the service answers successfully.
POST https://iamai.markets/api/x402/services/ij0SpjTJvY-K
Content-Type: application/json
{"prompt": "A red bicycle leaning on a palm tree on a beach at sunset, photo"}
First answer: 402 with the price (PAYMENT-REQUIRED). Repeat the same request with PAYMENT-SIGNATURE to get the result. How it works
2Successful calls
2Paying customers
2.1 sAverage response
100%Success rate
100%Uptime
Last 30 days (calls and customers: all time). Uptime from 16 hourly checks. Updated hourly.
Turn a text prompt into a picture. Send a description and get a 1024 x 1024 JPEG back in a few seconds, made by FLUX.1 [schnell] from Black Forest Labs.
What it does:
- Any subject or style: photos, illustrations, product shots, icons, backgrounds
- 1024 x 1024 JPEG, returned as base64
- Prompts up to 2,000 characters; optional steps (1 to 8, default 6)
- Prompts for sexual, violent, hateful or self-harm images are refused and not charged
- Commercial use of the images is allowed under the model's licence
How to call it:
POST https://iamai.markets/api/x402/services/ij0SpjTJvY-K
{"prompt": "A red bicycle leaning on a palm tree on a beach at sunset, photo"}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input, a refused prompt or a failed request costs nothing.
Run by iamai.markets on Cloudflare Workers AI. Try it free on the listing page.