GPT Image 2 via the Tokenator API

What the model is for

GPT Image 2 combines OpenAI's GPT-5.4 model with state-of-the-art image generation capabilities from GPT Image 2.

Specification

Full nameGPT Image 2
API IDgpt-image-2
Model vendorOpenAI
TypeImage generation
Context window—
Max output—
Image inputno
Tokenator usage multiplier1×
Input modalitiestext
Aliasescursor-gpt-image-2
Supported API formats/v1/images/generations /v1/images/edits
Upstream providers2
Current statusavailable
Data updated2026-11-11

Model outputs

Example 1

Example 1
Prompt

Editorial architectural photograph of a contemporary neighborhood storefront at blue hour, glowing warmly against the dusk. Above the entrance, a warm-white neon sign in flowing hand-bent cursive reads exactly "OpenRouter", the only text in the scene. Large windows reveal a cozy, lived-in interior: wood shelves styled with books and ceramics, lush trailing plants, and soft pendant lighting. Potted plants and a bicycle rest by the entrance, and golden light spills across the wet pavement in gentle reflections. Straight-on composition, realistic materials, quiet street with no people.

Edit Image

Edit Image
Prompt

Change the neon sign to a bright electric blue neon, and let its cool glow tint the facade and the reflections on the pavement below, while keeping the interior's warm lamp lighting unchanged so the windows still glow cozy and golden. Add gentle falling snow: a light dusting on the awning ledge, the potted plants, the bicycle seat, and the sidewalk, with fine snowflakes visible in the air against the dusk sky. Keep the composition and everything else exactly the same. The sign must still read exactly 'OpenRouter'.

Combine Images

Combine Images
Prompt

A close-up portrait of the dog from photo 2 at dusk, framed from the chest up, sitting on the wet sidewalk directly in front of the cafe from photo 1, right next to the parked bicycle, waiting for its owner and looking slightly past the camera. Camera at the dog's eye level, low to the ground, so the sidewalk is visible beneath it. Behind the dog, softly out of focus: the bicycle at its side and the glowing cafe windows. Warm window light catches its fur and eyes, with a faint cool blue tone from the evening sky. Keep the dog's exact face, fur coloring, and collar.

Full wine glass

Full wine glass
Prompt

A wine glass filled to the brim with white wine, the surface level with the rim of the glass, standing upright on a plain wooden table. Straight-on eye-level shot, glass upright and not tilted, no other objects in the frame.

Closed umbrellas

Closed umbrellas
Prompt

Wide street-level photograph of about twelve people crossing a city street in heavy rain. Every person is carrying a closed, furled umbrella held down at their side. Not a single umbrella is open. Each umbrella is clearly visible. They are all getting soaked. No other people in the frame.

Three fingers

Three fingers
Prompt

Close straight-on photograph of an open right hand raised palm towards the camera, with exactly three fingers extended straight up and the other two folded down into the palm. Plain background, nothing else in the frame.

Cards & dice

Cards & dice
Prompt

Exactly four playing cards face up in a single straight row on a polished marble counter, evenly spaced, all the same size, showing the seven of hearts, the eight of spades, the nine of diamonds and the ten of clubs from left to right. No other objects in the frame. Straight-on eye-level shot, soft even light.

Long exact string

Long exact string
Prompt

A white A4 poster on a brick wall reading exactly "SPRING CLEARANCE - EVERYTHING 40% OFF - SATURDAY 14 JUNE, 9AM TO 6PM". No other text in the frame.

Multiple languages

Multiple languages
Prompt

Straight-on photograph of a white overhead directional sign in an international airport terminal, with a black arrow pointing right at the left end. The sign carries the same word in four scripts on four stacked lines, in this order from top to bottom: "DEPARTURES", then the Japanese 出発, then the Korean 출발, then the Arabic المغادرة. Clean sans-serif lettering, sharp focus, no other text anywhere in the frame.

Occlusion

Occlusion
Prompt

Straight-on eye-level photograph of a plain wooden desk. On the left, a closed hardcover book with a dark red cover stands upright, its front cover facing the camera. A blue ceramic mug stands on the desk to the right of the book and clearly further back, about 20 cm behind it, positioned so that the right edge of the book overlaps and hides the left third of the mug. The mug's handle points to the right and the whole rim of the mug is visible. Bare desk surface is visible between the book and the mug. Nothing else on the desk. Plain wall behind, soft even light.

Mirror

Mirror
Prompt

Straight-on eye-level photograph of a bathroom vanity. A large rectangular mirror covers the wall behind the counter and its bottom edge meets the countertop, so both the objects and their reflections are visible. On the counter, a tall red toothbrush cup on the left and a tall green glass bottle on the right, both roughly 20 cm tall and well apart from each other. The mirror reflects the counter and the objects on it accurately. Nothing else in the frame.

Plain zebra

Plain zebra
Prompt

Photograph of a zebra standing side-on in short grass. Its coat is a uniform solid grey with no stripes, no bands and no markings of any kind anywhere on its body. The whole animal is visible. Sharp focus.

Times Square

Times Square
Prompt

Wide street-level photograph of Times Square in New York at night, wet asphalt reflecting the lights. Every billboard, screen, storefront window, awning, taxi door and road marking is completely blank — lit with plain colour fields and soft gradients only. No letters, no words, no numbers, no logos, no lettering of any kind anywhere in the frame. Sharp focus, straight-on shot.

Minimal diff

Minimal diff
Prompt

From the reference photo, change only the sign text to "ROUTE 7 ESPRESSO - OPEN TILL 8". Keep the sign, wall, lighting and framing identical.

Object removal

Object removal
Prompt

Remove only the second cup from the left in the reference photo. Leave the other four cups exactly as they are, in the same positions, and leave the shelf, towel, wall, plant and lighting untouched.

Person removal

Person removal
Prompt

In the reference photo, remove only the person in the yellow coat. Their shadow on the pavement and their reflection in the shop window must be removed as well. Reconstruct the pavement and the window glass behind them. The person in the red coat and the person in the green coat must stay completely unchanged, including their own shadows and their own reflections. Change nothing else in the frame.

Product placement

Product placement
Prompt

Product photograph of the ceramic mug from the reference image, standing upright on a café table. Show the same side of the mug, from the same side-on eye-level angle as the reference, with the handle on the right. The shape, proportions, colours, moulded relief and every painted detail must match the reference exactly. Only the setting and lighting change: soft daylight in a café interior, shallow depth of field.

Four references

Four references
Prompt

Place the person from the portrait reference at the desk in the scene reference, wearing the rust orange canvas jacket from its reference and holding the navy blue travel mug from its reference in one hand. Keep the face, the jacket and the mug exactly as they appear in the references — same colours, same details, same proportions. Do not change the room.

Portraits

Portraits
Prompt

Studio headshot of a woman in a charcoal blazer against a mid-grey seamless backdrop, lit by a large softbox slightly above and to the left with a soft fill from the right, catchlights in both eyes. An 85mm look with shallow depth of field, skin texture and flyaway hairs kept rather than smoothed.

People in scenes

People in scenes
Prompt

Photograph of four cooks working the pass in a restaurant kitchen at service, plating three dishes at once, several hands in frame and some of them overlapping. One cook partly hidden behind another, steam rising into hard overhead light, each face clearly a different person.

Animals

Animals
Prompt

Photograph of a tabby cat asleep on a sunlit windowsill, fur lit from behind so the individual hairs glow at the edges, one ear turned toward the camera. Shallow depth of field, a houseplant soft in the background, quiet morning light.

Landscape and nature

Landscape and nature
Prompt

Photograph of an old-growth temperate rainforest after rain, moss on every trunk and fallen log, ferns dense across the floor, thin fog between the far trees. Overcast light with no direct sun, everything from the nearest fern to the last trunk in focus.

Upstream providers

ProviderMultiplier
AiPartners Ltd1×
Media Group #11×

A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.

Example request

curl
curl https://api.tokenator.top/v1/images/generations \
  -H "Authorization: Bearer sk-your-tokenator-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "an isometric illustration of a server rack",
    "n": 1
  }'

FAQ about GPT Image 2

What is the API ID of GPT Image 2?

gpt-image-2 — put this into the model field of your request.

What does a generation request look like?

POST to /v1/images/generations, /v1/images/edits with model, prompt and optionally n and size. The format matches the OpenAI Images API — only the base URL and the key change.

How do I set the image size?

With the size field, for example 1024x1024. The available set depends on the model; 2048x2048 is not supported everywhere, and even there the result sometimes comes back smaller — check the actual image.

What does one image cost?

Generations are taken from the key's image quota: one picture — 1×, and with n images per request it is n × the multiplier. See the documentation for details.

Can I edit an existing image?

Yes. Send the source image to /v1/images/edits together with a prompt describing the change, and the response carries a link to the edited picture. Both multipart uploads and base64 JSON are accepted.

What comes back in the response?

A data array where each item holds a link to the finished image in the url field. Download the picture and store it on your side — the link is not meant for permanent hosting.