Fast REST API · credit based or x402 pay-per-use

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.

50 req/min per API key 500 credits = $5 $0.05 per image via x402
curl example
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

Need enterprise terms? Email

A clean interface for every workflow

One API. Multiple models. Two payment rails. Built for developers who want both speed and control.

Explore docs →

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

500 credits = $5

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
Try playground

Pay-per-use (x402)

No account required

$0.05 / image

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.

API reference →

Loading models…

Pricing that stays simple

Use credits for predictability, or pay per image with your wallet.

Get started

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

Fair limits

Built to handle bursty workloads while staying predictable and fair.

Rate limit

50 requests / minute

per API key

Need more?

Email for enterprise plans.

Ship image generation in minutes

Start with the playground, then move to production with an API key or x402 payments.