SEEDANCE 2.5 IS NOW LIVE!

GENERATE YOUR VIDEOS WITH UNLIMITED SEEDANCE 2.5 TODAY.

NO EXTRA SUBSCRIPTION
REVIRAL
Get API key
Browse API docs

Use cases

An Image Generation API With One Key Across Every Model

Was this page helpful?

Reviral's image generation API gives you one key across every image model family in the catalog — GPT-Image, Nano Banana / Nano Banana Pro, Flux, Seedream, and more. POST /api/v1/generate-media accepts a model ID, prompt, size, aspectRatio, and count (up to 4), billed at each model's live per-image credit price from GET /api/v1/models.

Models that fit

Every image model in the live catalog is callable from generate-media with this same request shape.

GPT-Image-2 Low

1K, 2K, 4K · 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 21:9, 9:21

2 cr · $0.02

Nano Banana

1K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3

3 cr · $0.02

GPT-Image-2 Standard

1K, 2K, 4K · 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 21:9, 9:21

3 cr · $0.02

GPT-Image-2

1K, 2K, 4K · 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 21:9, 9:21

2 cr · $0.02

Flux Kontext Pro

Standard · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

4 cr · $0.03

Gemini 3 Pro

1K, 2K, 4K · 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9

4 cr · $0.03

Flux 2.0 Pro

1K, 2K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3

6 cr · $0.05

Image 2 PRO

2K, 4K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

4 cr · $0.03

Seedream 4.0

1K, 2K, 4K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

6 cr · $0.05

Image 2 4K

4K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

3 cr · $0.02

Nano Banana 2

1K, 2K, 4K · 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 4:1, 8:1

6 cr · $0.05

Image 2 High

2K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

4 cr · $0.03

Seedream 5.0

2K, 3K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

6 cr · $0.05

Seedream 4.5

2K, 4K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

7 cr · $0.06

Flux Kontext Max

Standard · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

8 cr · $0.06

Seedream 5.0 Pro

1K, 2K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21

8 cr · $0.06

Nano Banana Pro

1K, 2K, 4K · 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9

11 cr · $0.09

Flux 2.0 Flex

1K, 2K · 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3

12 cr · $0.10

Try it

This request uses the current default settings for a matching model and the public GenerateMediaRequest schema.

curl -X POST "https://reviral.ai/api/v1/generate-media" \
  -H "Authorization: Bearer $REVIRAL_API_KEY" \
  -H "Idempotency-Key: first-video" \
  -H "Content-Type: application/json" \
  --data '{"model":"gpt-image-2-low","prompt":"A clean product photograph on a warm neutral background","size":"1K","aspectRatio":"1:1","count":1,"maxCredits":2}'

Frequently asked questions

Which image models can I call?
Every image model currently in the catalog — GET /api/v1/models returns the full, live list with each model's sizes, aspect ratios, and current per-image credit price.
Can I generate more than one image per request?
Yes, up to 4 with the count field, subject to the model's own limit — credits scale with the count you request.
Do I need a subscription to call the image API?
No. Pay-once credit packs cover API calls and never expire, and the free tier ships 100 credits with no card required.