
Mode: Text to Image
Open-World Game Key Art
Suggested test configuration: 4:3
Bring GPT Image 2 image generation and editing into your product with Topview API. Choose low, medium, or high quality, output 1K, 2K, or 4K in 15 aspect ratios or auto, and edit with up to 16 input images, with transparent per-image pricing, a ready-to-use Playground, and developer docs.
Text to Image · 1k · medium quality
Settings here are a preview. Generate copies your prompt and opens the matching Platform Playground, where you confirm the final settings.
EXAMPLES & PROMPTS
Real GPT Image 2 outputs with the prompts behind them. Copy a prompt and test it in the Playground.

Mode: Text to Image
Suggested test configuration: 4:3

Mode: Text to Image
Suggested test configuration: 4:3

Mode: Text to Image
Suggested test configuration: 4:3

Mode: Text to Image
Suggested test configuration: 4:3
Know the settings before you build.
A quick reference for GPT Image 2 settings listed in Topview API Platform docs. Each mode has its own input requirements.
| Parameter | Value |
|---|---|
| Provider / Model | OpenAI / GPT Image 2 |
| API route | openai/gpt-image-2 |
| Generation modes | Text to Image · Image Editing |
| Quality | auto · low · medium · high |
| Resolution | 1K · 2K · 4K |
| Aspect ratios | 1:1 · 3:2 · 2:3 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 21:9 · 9:21 · 2:1 · 1:2 · 3:1 · 1:3 · auto |
| Image Editing inputs | 1–16 images |
| Outputs per request | Set with n; each output image is billed |
| Task pattern | Async submission + polling + output retrieval |
| Pricing | Per generated image; rate depends on quality and resolution |
DEVELOPER QUICKSTART
Submit an asynchronous prediction with your Platform API key, then poll the returned task ID to retrieve the output.
# Set TOPVIEW_API_PLATFORM_KEY once. Preserve REQUEST_KEY and input for uncertain retries.
# For a NEW task only, unset REQUEST_KEY first. Save data.id to resume GET only.
: "${TOPVIEW_API_PLATFORM_KEY:?Set TOPVIEW_API_PLATFORM_KEY first}"
export REQUEST_KEY="${REQUEST_KEY:-$(uuidgen)}"
curl --fail-with-body 'https://platform-backend.topview.ai/api/v1/models/openai/gpt-image-2/text-to-image/predictions' \
-H "Authorization: Bearer $TOPVIEW_API_PLATFORM_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H 'Content-Type: application/json' \
--data '{
"prompt": "A blue ceramic cup on a wooden table",
"resolution": "1k",
"size": "1:1",
"n": 1
}'
# Poll data.id until completed or failed.
curl --fail-with-body 'https://platform-backend.topview.ai/api/v1/predictions/REQUEST_ID' \
-H "Authorization: Bearer $TOPVIEW_API_PLATFORM_KEY"Sample matches the GPT Image 2 text-to-image request in Platform docs. Keep TOPVIEW_API_PLATFORM_KEY on your server only.
Step 1
Sign in to Topview API Platform and create an API key with the required model permissions. Keep your key secure and use it to authenticate API requests.
Step 2
Submit a text prompt or upload reference images for editing. Configure the supported image settings, send your API request, and save the returned task ID.
Step 3
Check the task status until generation is complete. Retrieve the image URLs, review the final usage cost, and save your generated images.
BUILT FOR PRODUCTION WORKFLOWS
GPT Image 2 supports flexible output geometry, several quality tiers, and larger reference-image sets for applications that need more configurable image generation.
Combine up to 16 input images in an editing request to guide compositions for product, character, or campaign concepts.
Request multiple outputs with the n parameter when exploring alternative images for ads, product collections, or creative reviews.
Build image-generation features around 15 supported aspect ratios plus automatic sizing for a wider range of layouts.
Generate and revise images in 1K, 2K, or 4K, choosing low, medium, or high quality to match the level of detail needed.
WHY TOPVIEW API
Topview exposes GPT Image 2’s flexible generation settings while keeping pricing and asynchronous task handling in the same developer workflow.
Test complex image-input sets using the documented editing route, rather than limiting your UI to a single reference photo.
Use n to request multiple results where supported, and review the total because every generated output is charged separately.
Check live per-image rates across 1K, 2K, and 4K and low, medium, or high quality. Automatic quality is billed at the high tier.
Use the documented aspect ratios and automatic sizing, then compare GPT Image 2 with the 2.5 variants in the same workspace.
EXPLORE RELATED APIS
YOUR NEXT IMAGE STARTS HERE
Try your first prompt in the Playground, compare current pricing, or follow the docs to integrate GPT Image 2 into your application.
TRANSPARENT PRICING
Compare Topview API prices with the official reference rates listed for GPT Image 2 on Topview API Platform and available third-party quotes. Match quality, resolution, and output count before interpreting savings.
Default Setup
Text to Image · Medium quality · 1K
Topview
$0.0424 /image
Official: $0.0530/image
Save 20% vs official
Entry Price
Text to Image · Low quality · 1K
Topview
$0.0048 /image
Official: $0.0060/image
Save 20% vs official
Per-image rates by setting. Topview and official rates are read from Topview API Platform.
Viewing Text to Image · 9 setups
| Setup | Topview | Official | Savings |
|---|---|---|---|
| Text to Imagelow quality · 1K · Generated images | $0.0048 /image | $0.0060 /image | 20% lower than official |
| Text to Imagelow quality · 2K · Generated images | $0.0192 /image | $0.0240 /image | 20% lower than official |
| Text to Imagelow quality · 4K · Generated images | $0.0768 /image | $0.0960 /image | 20% lower than official |
| Text to Imagemedium quality · 1K · Generated images | $0.0424 /image | $0.0530 /image | 20% lower than official |
| Text to Imagemedium quality · 2K · Generated images | $0.1696 /image | $0.2120 /image | 20% lower than official |
| Text to Imagemedium quality · 4K · Generated images | $0.6784 /image | $0.8480 /image | 20% lower than official |
| Text to Imagehigh quality · 1K · Generated images | $0.1688 /image | $0.2110 /image | 20% lower than official |
| Text to Imagehigh quality · 2K · Generated images | $0.6752 /image | $0.8440 /image | 20% lower than official |
| Text to Imagehigh quality · 4K · Generated images | $2.7008 /image | $3.3760 /image | 20% lower than official |
Rates are per generated image at the listed setting, and each output image is billed. quality=auto bills at the high tier, and pixel sizes (WxH) bill at the 4K tier. Confirm the current quote on Platform before production spend.