Native OpenAI quality
Direct access to gpt-image-2 output quality through AllToken, with no extra quality layer in the way.
Studio is live
Generate production-quality images through the same OpenAI-compatible API surface. Async tasks, idempotency, one AllToken API Key.
Capabilities
Image 2 gives teams a practical route to OpenAI image quality without adding another provider workflow.
Direct access to gpt-image-2 output quality through AllToken, with no extra quality layer in the way.
Use the same AllToken API Key for chat, image, and video workloads instead of managing separate OpenAI billing.
Submit a task, poll the result, respect the 30-minute TTL, and use Idempotency-Key for safe retries.
Region availability is handled by the upstream provider; AllToken keeps billing and account access unified.
API
The Image 2 flow is asynchronous: submit with gpt-image-2, poll the task, then read the returned data array.
curl https://api.alltoken.ai/v1/images/generations/async \ -H "Authorization: Bearer $ALLTOKEN_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $REQUEST_ID" \ -d '{ "model": "gpt-image-2", "prompt": "A premium skincare bottle on frosted glass with soft morning light, clean product photography, subtle shadows, 1:1.", "size": "1024x1024", "quality": "high", "output_format": "png"}'curl https://api.alltoken.ai/v1/images/generations/$TASK_ID \ -H "Authorization: Bearer $ALLTOKEN_API_KEY"Showcase
Six AllToken-generated examples spanning product, editorial, landscape, portrait, abstract material, and typography.

A premium skincare bottle on frosted glass with soft morning light, clean product photography, subtle shadows, 1:1.

A friendly editorial illustration of a robotics workshop, warm color palette, clean shapes, detailed but readable, 1:1.

A wide alpine lake at sunrise with glassy reflections and low mist, photorealistic landscape, 3:2.

A cinematic studio portrait with natural skin texture, soft rim light, neutral background, professional editorial look, 2:3.

Abstract translucent ribbons folding through a dark studio space, luminous edges, high-detail material study, 1:1.

A crisp poster mockup that reads "IMAGE 2" in bold type, precise typography, paper texture, warm accent color, 1:1.
Image to image
Image 2 also takes an image as input: restyle the whole frame, change a masked region only, or generate variations from a source.


Keep the same vase and stem; restage into a warm sunset-lit studio with a soft amber-to-ivory gradient backdrop and a subtle long shadow.



Within the masked sky only, replace with a dramatic golden-hour sunset and soft layered clouds; leave cliffs and sea unchanged.


No prompt - a variation generated from the source.
Pricing
FAQ
Image 2 is AllToken's dedicated surface for OpenAI flagship image generation through the gpt-image-2 model.
Create an AllToken API Key, use the AllToken base URL, submit an async image task, then poll until the response returns a data array.
gpt-image-2 is positioned as the current flagship image model surface in this workflow, while DALL-E 3 remains a separate OpenAI image model family.
Image generation usage is billed according to the pricing shown on the model detail page and in the dashboard before use. Customers can review applicable usage rates before sending requests.
Commercial use depends on your AllToken Terms and upstream OpenAI policy obligations. Review both before shipping generated assets.
Studio is live