Image generation API built for speed, predictable costs, and modern payments.
Access multiple state-of-the-art models through one endpoint. Use prepaid credits for tracking and teams, or x402 for anonymous pay-per-image.
curl -X POST https://imference.com/image/generate \
-H "Authorization: Bearer $IMFERENCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-1.1-pro",
"input": {
"text": "cinematic portrait, soft rim light, 85mm lens",
"size": "1024x1024"
}
}'
Latency
Fast
Built for bursty traffic
Billing
Flexible
Credits or on-chain pay
Models
Many
Realism · Anime · Video
A clean interface for every workflow
One API. Multiple models. Two payment rails. Built for developers who want both speed and control.
Unified endpoint
Swap models with a single field. Keep your integration stable as you iterate.
Credit-based billing
Purchase credits via Stripe. Ideal for teams, dashboards, and predictable monthly spend.
x402 pay-per-use
Anonymous on-chain payments (USDC on Base). Perfect for AI agents.
Choose your payment method
Start with credits for tracking, or go wallet-first with x402 for pay-as-you-go.
Credit-based API
Best for predictable billing
Purchase credits via Stripe and use your API key for authenticated requests. Great for dashboards, usage tracking, and teams.
- 5 credits = 1 image generation
- API key authentication
- Ideal for production workloads
Pay-per-use (x402)
No account required
Pay with USDC via your Web3 wallet. Anonymous, on-chain payments powered by x402.
- USDC on Base network
- Anonymous pay-as-you-go
- Perfect for embeds & demos
Available models
A curated set of realism, illustration, anime, plus hosted providers for image/video.
Loading models…
Pricing that stays simple
Use credits for predictability, or pay per image with your wallet.
Credit-based
$5
for 500 credits
5 credits = 1 image
50 credits = 1 video
Pay-per-use (x402)
$0.05
per image
$0.50 = 1 video
USDC on Base network
Ship image generation in minutes
Start with the playground, then move to production with an API key or x402 payments.