Skip to main content

Documentation Index

Fetch the complete documentation index at: https://veogenstudio.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Model Description

OpenAI’s dedicated image generation model (gpt-image-2) delivers superior visual quality with broad aspect ratio support and multi-reference image fusion. Maximum Resolution: 4K Pricing: Starts at $0.016 per image

Key Capabilities

  • Purpose-Built for Images: Designed exclusively for image generation, delivering superior visual quality compared to multimodal models.
  • 13 Aspect Ratios: From ultra-wide 21:9 to ultra-tall 9:21 — perfect for any platform or format.
  • 16 Reference Images: Upload up to 16 reference images for style guidance, character consistency, and multi-image fusion.
  • Accurate Text Rendering: Industry-leading accuracy for text, logos, and typography within generated images.

Use Cases

  • Product Photography: Professional product shots and packaging designs with text overlays.
  • Marketing Creatives: Ad banners, social media graphics, and promotional visuals at scale.
  • Brand Identity: Consistent brand visuals using reference images for style continuity.

Quick Start

1. Generating an Image with GPT-Image-2

curl --request POST \
  --url https://api.veogen.studio/api/v1/generations \
  --header 'Authorization: Bearer <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gpt-image-2",
    "prompt": "A luxury perfume bottle on black marble with dramatic studio lighting, the text \"AURORA\" engraved on the glass",
    "aspect_ratio": "3:2",
    "resolution": "4K"
  }'
{
  "data": {
    "id": "img_gptimg2_12345",
    "model": "gpt-image-2",
    "status": "pending",
    "created_at": "2026-04-22T12:00:00Z"
  }
}

2. Image-to-Image with Reference Images

curl --request POST \
  --url https://api.veogen.studio/api/v1/generations \
  --header 'Authorization: Bearer <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gpt-image-2",
    "prompt": "Transform this photo into a watercolor painting with soft pastel tones",
    "aspect_ratio": "1:1",
    "image_urls": [
      "https://example.com/reference-photo.jpg"
    ]
  }'

Supported Aspect Ratios

RatioDescription
1:1Square (default)
16:9 / 9:16Widescreen landscape / portrait
4:3 / 3:4Standard landscape / portrait
3:2 / 2:3Classic landscape / portrait
5:4 / 4:5Near-square landscape / portrait
2:1 / 1:2Wide landscape / tall portrait
21:9 / 9:21Ultra-wide / ultra-tall
Only ratio notation is supported (e.g. 16:9). Passing pixel sizes like 1024x1024 will return an error.

FAQ

GPT-Image-2 is a dedicated image generation model with 13 aspect ratios (vs 3), support for 16 reference images (vs 1), and generally better visual quality. GPT-4o Image is a multimodal model that also generates images.
No. Access GPT-Image-2 through Veogen’s API or playground without any OpenAI subscription. Just top up your USD balance and generate.
Up to 16 reference images per request. You can mix image URLs and base64-encoded images for style guidance and multi-image fusion.