Skip to main content
POST
GPT Image 2 Reverse
gpt-image-2-rev provides GPT Image 2 text-to-image generation and reference-image editing through an aggregator. Pricing is fixed by output resolution, making the per-image cost known before submission.
This is a reverse line, not the official OpenAI API. Use gpt-image-2 for quality tiers, masks, transparent backgrounds, and output-format controls. QWave never switches between the two lines automatically.

Quick start

A successful submission returns a task_id. Retrieve the result with GET /v1/tasks/{task_id}, wait inline with Prefer: wait, or configure a webhook.

Request parameters

string
required
Must be gpt-image-2-rev.
string
default:"generate"
  • generate: create an image from text
  • edit: edit reference images; requires image_urls
string
required
The image description or editing instruction.
string[]
Reference image URLs. Required for edit; up to 15 images. References do not add a fee.
string
default:"1:1"
One of 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, or 9:21.
string
default:"1k"
Output resolution: 1k, 2k, or 4k.
integer
default:"1"
Number of images to generate. Value: 1. Each request returns one image.
See Submit a task for callback_url, callback_events, Prefer: wait, Idempotency-Key, and the maximum-cost header. The reverse line does not support quality, mask_url, background, output_format, output_compression, moderation or seed — those belong to the official line. Any other parameter returns 400 and is not billed.

Limits

Pricing

Successful images are billed at a fixed price per image, with a different rate at 1k, 2k and 4k. Rates are in price_config on GET /v1/models and in the console’s Model Market. What a single call actually cost is the cost field on the task response — an integer quota at 500,000 quota = 1 USD, not dollars. generate and edit cost the same, reference images add no fee, and neither aspect ratio nor prompt length changes the price — resolution is the only billing dimension, so the cost of a call is known before it is sent. A resolution other than 1k, 2k or 4k settles at the 1k price. Only a successfully generated image is billed. Failed and cancelled tasks, and tasks that return no usable image, are refunded in full.

Response

Completed task
result.images carries the generated image. The full field reference is in Task status.

Official vs reverse