curl -X POST https://api.getimg.ai/v2/images/generations \
-H "Authorization: Bearer $GETIMG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-1-flash-image",
"prompt": "3D human figure made out of tiny dust-like voxels, looking to the left, smoothly desintegrating into background, medium portrait shot, purple monochrome",
"aspect_ratio": "1:1",
"resolution": "1K",
"output_format": "jpeg"
}'AI image and video generation API.
Ship image and video generation in your product today. One API, multiple models, no GPUs to manage. Sub-second image generation, async video with polling, transparent per-request pricing.
- Quick setup — integrate image generation in a few lines of code.
- Fast — sub-second image generation, async video with polling.
- Transparent — usage-based pricing, no subscriptions or idle costs.
Powering 1M+ generations daily.
Production-ready AI models
Image and video generation through a single API. Powering 1M+ generations daily.

Nano Banana 2
Advanced image generation and editing with strong world knowledge and reasoning, precise text rendering, and reliable style/detail control.

Seedream 5.0 Lite
Unified multimodal image model with deep reasoning and online search, delivering strong prompt alignment and precise generation/editing control.
Kling O3
Omni-multimodal reasoning, advanced character and scene consistency.
Kling 3.0 Pro
Native audio-video generation, multi-shot cinematic storytelling.
Seedance 1.5 Pro
Cinematic camera control, dynamic scenes, expressive characters.
Wan 2.6
Reference-based generation, multi-shot narratives.

Z-Image Turbo
Fast generation, photorealistic portraits, efficient.

Seedream 4.5
Studio-quality lighting, fast generation, good for commercial photography.
Seedance 1.0 Pro Fast
Quick generation, balanced quality and speed.

Seedream 4
Unified generation and editing, knowledge-based visuals.
Focus on building. We handle the infrastructure.
From early prototypes to products serving millions of users, our image and video generation API handles the scaling. Fast, reliable generation through a single endpoint — no GPU setup, no servers, no maintenance.

Transparent by design
Every response includes a usage object showing exactly what the request cost. Consistent parameters, clear documentation, predictable bills.
POST /v2/images/generations
{
"model": "...",
"prompt": "your image description",
"aspect_ratio": "16:9",
"output_format": "jpeg"
}
→ 200 OK
{
"id": "req-01HXY...",
"status": "completed",
"data": [{ "url": "https://..." }],
"usage": { "total_cost": 0.03 }
}Pay only for what you use
Simple, per-generation pricing. No subscriptions, no commitments, no idle GPU costs — straightforward pay-as-you-go.
Nano Banana 2
$0.08 – $0.18 /image
/v2/images/generationsAdvanced image generation and editing with strong world knowledge and reasoning, precise text rendering, and reliable style/detail control.
| Resolution | Price | Images for $10 |
|---|---|---|
| 1K | $0.08 /image | 125 |
| 2K | $0.13 /image | 76 |
| 4K | $0.18 /image | 55 |
Seedream 5.0 Lite
$0.035 /image
/v2/images/generationsUnified multimodal image model with deep reasoning and online search, delivering strong prompt alignment and precise generation/editing control.
| Resolution | Price | Images for $10 |
|---|---|---|
| 3K | $0.035 /image | 285 |
| 2K | $0.035 /image | 285 |
Kling O3
$0.112 – $0.14 /second
/v2/videos/generationsOmni-multimodal reasoning, advanced character and scene consistency.
| Resolution | Sound | Price | 5s videos for $10 |
|---|---|---|---|
| 1080p | Off | $0.112 /second | 17 |
| 1080p | On | $0.14 /second | 14 |
Kling 3.0 Pro
$0.112 – $0.168 /second
/v2/videos/generationsNative audio-video generation, multi-shot cinematic storytelling.
| Resolution | Sound | Price | 5s videos for $10 |
|---|---|---|---|
| 1080p | Off | $0.112 /second | 17 |
| 1080p | On | $0.168 /second | 11 |
Seedance 1.5 Pro
$0.026 – $0.12 /second
/v2/videos/generationsCinematic camera control, dynamic scenes, expressive characters.
| Resolution | Sound | Price | 5s videos for $10 |
|---|---|---|---|
| 720p | Off | $0.026 /second | 76 |
| 720p | On | $0.052 /second | 38 |
| 1080p | Off | $0.052 /second | 38 |
| 1080p | On | $0.12 /second | 16 |
Wan 2.6
$0.10 – $0.15 /second
/v2/videos/generationsReference-based generation, multi-shot narratives.
| Resolution | Price | 5s videos for $10 |
|---|---|---|
| 720p | $0.10 /second | 20 |
| 1080p | $0.15 /second | 13 |
Z-Image Turbo
$0.015 /image
/v2/images/generationsFast generation, photorealistic portraits, efficient.
| Resolution | Price | Images for $10 |
|---|---|---|
| 1K | $0.015 /image | 666 |
Seedream 4.5
$0.04 /image
/v2/images/generationsStudio-quality lighting, fast generation, good for commercial photography.
| Resolution | Price | Images for $10 |
|---|---|---|
| 4K | $0.04 /image | 250 |
| 2K | $0.04 /image | 250 |
Seedance 1.0 Pro Fast
$0.022 – $0.048 /second
/v2/videos/generationsQuick generation, balanced quality and speed.
| Resolution | Price | 5s videos for $10 |
|---|---|---|
| 720p | $0.022 /second | 90 |
| 1080p | $0.048 /second | 41 |
Seedream 4
$0.03 /image
/v2/images/generationsUnified generation and editing, knowledge-based visuals.
| Resolution | Price | Images for $10 |
|---|---|---|
| 4K | $0.03 /image | 333 |
| 2K | $0.03 /image | 333 |
| 1K | $0.03 /image | 333 |
Frequently asked questions
Quick answers about the image and video generation API.
What can I build with an image and video generation API?
The getimg.ai API lets you add AI image and video generation to any product. Send a request, get media back — images in sub-seconds, videos via async polling.
Common use cases include:
- On-demand image or video creation in design, writing, and chat tools
- Automated visual content for product listings, marketing campaigns, or social media
- Rapid prototyping — turn rough ideas into tangible visuals instantly
You get reliable, high-quality generation from models like Seedream 4, Nano Banana 2, and Kling O3 without the overhead of running your own GPU infrastructure.
How do I get an API key for image and video generation?
Getting started takes about a minute:
- Go to the Developer Dashboard.
- Sign up or log in.
- Create a project and generate an API key.
- Copy your key and store it securely — it is only shown once.
After that, you can start making requests to image generation models like Seedream 5.0 Lite or video generation models like Seedance 1.5 Pro right away. Manage your balance, keys, and usage from the dashboard.
Is this image and video generation API free?
The API is not free, but it is designed to be affordable and flexible. You pay only for what you generate — no subscriptions, no idle GPU costs.
Each model has its own per-generation rate depending on resolution and output type. Z-Image Turbo is the most cost-efficient option for images, while models like Nano Banana Pro offer higher-end quality. Pay-as-you-go pricing means you can start small and scale up as your usage grows.
How do I use the image and video generation API?
Once you have an API key, make a POST request with a JSON body that includes a model ID and a prompt. The API returns the generated media.
For images, responses are synchronous — you get the result immediately. For video, you submit a request and poll for the result. Each model supports different parameters — aspect ratios, resolutions, reference images, and more.
Check the API documentation for full parameter references and examples for every model.