Image generation API
High-performance image generation via REST API with fully on-chain pay-per-use powered by x402.
What is imference ?
Imference is a high-performance API providing access to multiple state-of-the-art image generation models. The API is available on a pay-per-use basis powered by x402. Contact us at contact@imference.com to discuss enterprise plans.
Pay per use API
Use your Web3 wallet to pay per image • Network: Base
The pay-per-use model is based on the x402 open protocol created by Base. To integrate our API on a pay-per-use model you can refer to the x402 documentation .
1. Connect wallet
Connect MetaMask or another EVM wallet. The address is attached to your image requests.
2. Describe your image & choose a model
3. Check image status
Note: the backend may return 402 Payment Required if no valid on-chain payment is detected yet for your wallet. You can implement additional contract calls in the frontend; the minimal example above just ensures the wallet is connected and tags requests with your address.
Pay-per-use quick start
Full documentation →-
Pay & Generate
curl -X POST \ 'https://imference.com/ondemand/generate' \ -H 'Content-Type: application/json' \ -d '{ "prompt": "...", "model": "...", "address":" 0x123..."}' -
Check image status
curl -X GET \ 'https://imference.com/ondemand/status' \ -H 'Authorization': 'Bearer <API_KEY>'
Available Models
| Model | Description | Code |
|---|---|---|
| Realism Illustrious by SY | Natural photo-realistic output | realism_illustrious_by_stable_yogi |
| ZavyChroma XL | Excellent for portraits | zavychromaXL9 |
| Cyber Realistic Pony | High-quality character anatomy | cyberrealisticpony |
| Nova 3DCG XL | 3D-style rendered images | nova3dcgxl |
| Nova Cartoon XL | American cartoon style | novaCartoonXL |
| illustrijEVO | Stylized 2.5D rendering | illustrijevo |
| Illustrious Hassuka XL | Modern anime style | illustrious-hassuka-xl |
| Pony Diffusion V6 XL | Best for anime character anatomy | ponydiffusionxlv6 |
| Animagine XL | Classic anime style | anime-v1 |
Pricing
Pay-per-use
Start small at $0.05 per image generated.
Pay with USDC anonymously and generate images immediately.
Fair limits
50 requests per minute per API key.
Built to handle bursty workloads while staying predictable and fair for all users.