Get your API key forImagen 4 API: image generation API
One key for Imagen 4 and every other top image and video model. Create your API key in minutes and start generating from your code, one request at a time.
1curl https://aiwings.io/api/v1/images \2-H "Authorization: Bearer $AIWINGS_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"prompt": "A flooded abandoned library with trees growing through the dome",6"model": "imagen-4",7"quality": "2K",8"aspect_ratio": "16:9",9"wait": true10}'
What the API can make.
Real, unedited images made with AiWings, at 1K and 2K. Open any image full size, then copy the exact prompt to try it yourself.
A cinematic scene that looks shot on film
16:9 · 2752 × 1536 px
Show the promptHide the prompt
Cinematic wide photograph of an abandoned grand library flooded with a few inches of perfectly still water that mirrors everything. Towering carved wooden shelves rise on both sides, books drift across the surface like lily pads, young trees and ferns grow through a broken stained-glass dome overhead, and thick shafts of golden light fall through the dust. A faded red carpet disappears beneath the water. Moody, atmospheric, anamorphic lens flare, rich color grade. No people.
Hand-lettered text, spelled right
3:4 · 1792 × 2400 px
Show the promptHide the prompt
A large black chalkboard cafe menu in a wooden frame, hand-lettered in white and pastel chalk with small chalk doodles of coffee cups, croissants and coffee beans. The heading reads exactly 'MORNING MENU'. The items and prices read exactly: 'Flat White 3.80', 'Cardamom Latte 4.20', 'Cold Brew 3.60', 'Almond Croissant 3.40', 'Date & Walnut Loaf 3.00'. At the bottom: 'Fresh daily from 7 am'. Authentic chalk dust texture, slightly smudged edges, warm cafe lighting. No people.
Everyday things turned into art
1:1 · 1024 × 1024 px
Show the promptHide the prompt
Macro photograph of a halved blood orange lit from directly behind so every segment glows like a stained-glass window, deep ruby, amber and gold with fine white membranes as lead lines, tiny juice droplets catching the light. Placed on a dark matte surface with a few scattered orange zest curls. Extreme detail, shallow depth of field, studio lighting. No people.
Charming isometric illustration
4:3 · 1200 × 896 px
Show the promptHide the prompt
A charming isometric cutaway diorama of a three-floor independent bookstore on a floating square base, soft clay-render style. Each floor is a cozy room: a ground-floor shop with a round table of new releases, a spiral staircase, a second-floor reading nook with armchairs and a window seat, a rooftop greenhouse with plants. Warm lamp light spilling from the windows, tiny details like stacked books, hanging lanterns and a cat-shaped lamp. Pastel palette, soft shadows, clean off-white background. No people.
Tall, dramatic compositions at 9:16
9:16 · 1536 × 2752 px
Show the promptHide the prompt
Vertical photograph looking straight up the inside of a colossal glass-and-iron greenhouse tower, with terraced gardens spiraling up the walls: cascading ferns, hanging orchids, small orange trees and waterfalls falling between levels. A white spiral staircase winds up the center toward a glowing glass ceiling that floods the space with warm sunbeams and drifting mist. Symmetrical composition, ultra-detailed foliage, wide-angle lens, serene and awe-inspiring. No people.
Simple per-image pricing.
Each image costs a fixed number of credits, charged when the job starts and refunded automatically if it fails. Credits are shared with every other model.
- 1K image
$0.050
per image · 5 credits
Images per month
- Basic · $9200
- Pro · $19400
- Scale · $39800
- 2K image
$0.050
per image · 5 credits
Images per month
- Basic · $9200
- Pro · $19400
- Scale · $39800
Prices are shown at the top-up rate of $0.01 per credit. Plans include more credits per dollar, so subscribers pay a little less.
- Maker
- Model id (API)
imagen-4- Reference images
- None. Text to image only
- Output
- PNG, saved to your library
- Aspect ratios
- 1:1, 9:16, 16:9, 3:4, 4:3
- Resolutions
- 1K, 2K
One key. Every model.
Pick a model and see the real request. Every image model shares one format, so switching is changing the model and nothing else.
1curl https://aiwings.io/api/v1/images \2-H "Authorization: Bearer $AIWINGS_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"prompt": "A vintage poster for a desert oasis city",6"model": "imagen-4",7"quality": "2K",8"aspect_ratio": "1:1",9"wait": true10}'
- Model id
imagen-4- Cost
- $0.050
- 5 credits per image at 2K See Imagen 4 →
Prefer your AI agent? Use it there too.
The same model works in Claude, ChatGPT, Cursor and any MCP client. Connect AiWings once and just ask for it by name.
ClaudeMake a cinematic 16:9 image of a flooded abandoned library with trees growing through the dome, using Imagen 4 at 2K.
How to set up Claude →- ChatGPT
Create a 3:4 chalkboard cafe menu with these five items and prices using Imagen 4, and keep the text exact.
How to set up ChatGPT → - Cursor
Generate a tall 9:16 hero image of a glass greenhouse tower with Imagen 4 and save it to public/hero.webp.
How to set up Cursor →
Using another tool? Any MCP client works too. See the MCP docs →
Monthly credits for images and videos.
$9/month
- 1,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
$19/month
- 2,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
$39/month
- 4,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
5 free credits when you sign up, no card required. Credits work for images and videos. See what credits buy
Imagen 4 API, answered.
Create an API key in your AiWings dashboard, then send a POST request to /v1/images with the model set to imagen-4. The same request format works for every image model, so you can switch models by changing one field.
Start building with Imagen 4.
Create a key and make your first request in a minute.
5 free credits · No card required · Cancel anytimeImagen is a product name of Google. AiWings is an independent service and isn't affiliated with or endorsed by Google.