Skip to main content
POST
Billable request: generate an image with gpt-image-2-vip

Generate with a quality tier

Use low for a smaller output budget, high for the largest documented budget, or auto to delegate the choice.

Queue a 4K landscape result

Edit a source image

Queue a multi-image edit

Each decoded source must not exceed 20 MiB, and all sources together must remain within 64 MiB. Poll with the same terminal-state loop; the successful result expires after 24 hours.

Reject unknown quality values before sending

Keep a local enum and fail before creating a billable request:

Test this model online

The embedded operation fixes gpt-image-2-vip. It defaults to 1K and low; select a larger size or quality only when the real request needs it.
Try it sends a real USD 0.05 request at the current price. Use a funded development key and keep the generated cURL private.

Authorizations

Authorization
string
header
required

YingTu API key.

Body

application/json
model
enum<string>
required
Available options:
gpt-image-2-vip
Example:

"gpt-image-2-vip"

prompt
string
required
Minimum string length: 1
Example:

"A blue ceramic teapot on a pale table, no text"

size
enum<string>

Current public presets. Set size explicitly for predictable dimensions; the 4K landscape value is 3840x2160.

Available options:
1024x1024,
2048x2048,
3840x2160
Example:

"1024x1024"

quality
enum<string>

Forwarded for both GPT Image routes. The selected upstream determines how the requested value affects the result.

Available options:
low,
medium,
high,
auto
Example:

"low"

n
enum<integer>
default:1

The documented subset returns one image.

Available options:
1

Response

Complete GPT Image response

created
integer<int64>
required

Unix timestamp in seconds.

data
object[]
required
Required array length: 1 element
size
string

Output size when returned by the selected GPT Image route.

quality
string

Quality value reported by the selected GPT Image route.

usage
object
Last modified on September 3, 2026