Skip to main content

route guide

GPT Image 2 VIP

gpt-image-2-vip

Exact sizes

An OpenAI-compatible image route with exact pixel-size choices, image editing, and three configured quality levels.

OpenAI-compatible routeText to imageImage editingQuality tiers
Route receipt
Model ID
gpt-image-2-vip
Configured estimate
$0.03/ call
Output sizes
1K · 2K · 4K · 30
API family
OpenAI Images

Prompt presets

These controls are read directly from YingTu’s model registry.

Text poster

A minimal coffee poster with the exact headline “COFFEE MADE SIMPLE”, high contrast type, warm natural light, clean commercial layout.

Product banner

A clean e-commerce banner with a centered product, generous copy space, neutral background, and precise visual hierarchy.

UI illustration

A polished onboarding illustration with a simple interface motif, restrained colors, crisp shapes, and generous negative space.

Actual route configuration

Values on this page come from the same model registry used by the Image Studio.

Best for

  • Exact output dimensions
  • Images containing prominent text
  • OpenAI-compatible image workflows

Review before use

  • Text and spelling must still be reviewed in every output.
  • Quality level affects the request and should be chosen per task.
  • Use a supported exact size from the current registry.
Image editing: Supported

API quickstart

The sample is generated by the same code helper used in the existing Studio.

View API page
gpt-image-2-vip
import requests
import base64

# Configuration
API_KEY = "sk-YOUR_API_KEY"  # Replace with your API Key
API_URL = "https://api2.laozhang.ai/v1/images/generations"

# Request headers
headers = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json"
}

# Generate request
payload = {
    "model": "gpt-image-2-vip",
    "prompt": "A minimal coffee poster with the exact headline “COFFEE MADE SIMPLE”, high contrast type, warm natural light, clean commercial layout.",
    "size": "2048x2048",
    "quality": "high"
}

print("Generating image...")
response = requests.post(API_URL, headers=headers, json=payload, timeout=180)

if response.status_code != 200:
    print(f"Error: {response.status_code} - {response.text}")
    exit(1)

result = response.json()
image_base64 = result.get("data", [{}])[0].get("b64_json")
image_url = result.get("data", [{}])[0].get("url")

if not image_base64 and image_url:
    image_response = requests.get(image_url, timeout=60)
    image_response.raise_for_status()
    image_base64 = base64.b64encode(image_response.content).decode("utf-8")

if not image_base64:
    print("No image data in response")
    print(result)
    exit(1)

with open("output.png", "wb") as f:
    f.write(base64.b64decode(image_base64))

print("Image saved: output.png")

Existing Studio gallery

These legacy gallery images have no model or prompt provenance. They are visual examples only, not evidence for the route on this page.

Unattributed Studio example
Unattributed Studio example
Unattributed Studio example