Get your API key forGPT Image 2 API: image generation API
One key for GPT Image 2 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 brand identity board for a sea salt brand called NOVA SALT",6"model": "gpt-image-2",7"quality": "high",8"aspect_ratio": "3:2",9"wait": true10}'
What the API can make.
Real, unedited images made with AiWings, each in a different style and shape. Open any image full size, then copy the exact prompt to try it yourself.
A full brand identity board
3:2 · 1536 × 1024 px
Show the promptHide the prompt
A premium brand identity presentation board for a fictional artisan sea salt brand, laid out as a clean flat-lay on warm off-white paper. Left: a minimal logo mark of a wave inside a circle above the wordmark 'NOVA SALT' in an elegant wide serif and the tagline 'Sea salt, sourced slowly.' Center: three color swatches with labels exactly 'Deep Tide #0E3B43', 'Sand #F4E9D8' and 'Ember #E4572E'. Right: a typography specimen showing 'Aa' in the serif with the line 'Playfair-style display, humanist sans body'. Bottom: a business card, a letterhead and a small kraft salt pouch all carrying the logo. Crisp vector-clean layout, generous whitespace, soft shadows. No people.
Packaging that's ready to present
4:3 · 1536 × 1152 px
Show the promptHide the prompt
Studio product photograph of three round metal tea tins in a row on a soft pastel backdrop, each with a minimalist flat-color label design. The labels read exactly 'KAYA TEA' above the flavor names 'JASMINE' on a pale green tin, 'HIBISCUS' on a deep pink tin and 'MINT' on a teal tin, each with a simple botanical line illustration. Matte lids with a subtle metallic rim, soft shadows, clean commercial packaging photography, sharp label text. No people.
Experimental type posters
2:3 · 1024 × 1536 px
Show the promptHide the prompt
A bold graphic design poster on a deep cobalt blue background. The giant word 'FOLD' fills the poster, every letter sculpted from folded and creased paper in bright orange and cream, with sharp origami-like facets and soft shadows. A small line of text at the bottom in clean sans-serif reads exactly 'PAPER TYPE STUDY NO. 7'. Modern editorial design, high contrast, precise and tactile.
Colorways from one reference
3:2 · 1536 × 1024 px
Show the promptHide the prompt
Using the coffee bag from the reference image, show three versions of the exact same bag side by side on a clean light background, redesigned as packaging colorways: one in sage green with black print, one in terracotta with cream print, one in charcoal with gold print. Keep the same bag shape, the same 'KHAMSIN' wordmark and the same branch illustration on each. Soft studio light, subtle shadows, product line-up photography. No people.
Twelve directions at once
1:1 · 1024 × 1024 px
Show the promptHide the prompt
A 4 by 3 grid of twelve different logo mark concepts for a bird-themed personal finance app, presented on a light gray board with even spacing. Each mark is a simple flat vector symbol in a distinct style: geometric circles, negative space, single line, gradient-free, rounded, angular, monogram-free, stacked shapes, folded, feather, wing, and abstract flight. A limited palette of deep green, mint and gold. No text, no letters.
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.
- Low image
$0.020
per image · 2 credits
Images per month
- Basic · $9500
- Pro · $191,000
- Scale · $392,000
- Medium image
$0.060
per image · 6 credits
Images per month
- Basic · $9166
- Pro · $19333
- Scale · $39666
- High image
$0.16
per image · 16 credits
Images per month
- Basic · $962
- Pro · $19125
- Scale · $39250
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
- OpenAI
- Model id (API)
gpt-image-2- Reference images
- Up to 10
- Output
- PNG, saved to your library
- Aspect ratios
- 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, auto, exact pixel sizes up to 3840×2160
- Resolutions
- Low, Medium, High
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": "gpt-image-2",7"quality": "high",8"aspect_ratio": "1:1",9"wait": true10}'
- Model id
gpt-image-2- Cost
- $0.16
- 16 credits per image at high See GPT Image 2 →
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 brand identity board for a sea salt brand called NOVA SALT with a logo, three colors and a type specimen, using GPT Image 2 at high quality.
How to set up Claude →- ChatGPT
Open the AiWings upload widget, then show my product bag in three packaging colorways with GPT Image 2.
How to set up ChatGPT → - Cursor
Generate twelve logo concepts for a bird-themed finance app with GPT Image 2 at low quality and save the sheet to public/logos.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
GPT Image 2 API, answered.
Create an API key in your AiWings dashboard, then send a POST request to /v1/images with the model set to gpt-image-2. The same request format works for every image model, so you can switch models by changing one field.
Start building with GPT Image 2.
Create a key and make your first request in a minute.
5 free credits · No card required · Cancel anytimeGPT Image is a product name of OpenAI. AiWings is an independent service and isn't affiliated with or endorsed by OpenAI.