Runbase

Command Palette

Search for a command to run...

OpenAI

GPT Image 1

ID:openai/gpt-image-1

GPT Image 1 image generation API by OpenAI — OpenAI's first GPT-4o-native image model with strong prompt following and up to 5 reference images.

Text to imageImage editingReference images
Input
Aspect ratio
Reference images
Max 5 images, 4MB each
OutputView all
Output will appear here
Fixed
$0.05
cURL
curl https://api.runbase.net/v1/runs \
  -H "Authorization: Bearer $RUNBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-image-1",
    "input": {
      "prompt": "A cinematic product photo of a ceramic lamp",
      "aspect_ratio": "1:1",
      "resolution": "1K"
    }
  }'

Examples

Cyberpunk Cityscape

Cyberpunk Cityscape

1:1

A serene cyberpunk cityscape at twilight, with neon signs glowing in vibrant blues and purples, reflecting on rain-slick streets. Sleek futuristic buildings tower above, connected by glowing skybridges. A lone figure in a hooded jacket stands under a streetlamp, backlit by soft mist. The atmosphere is cinematic, moody

Overview

GPT Image 1 is OpenAI's first natively multimodal image model, built on GPT-4o and released in April 2025. Unlike diffusion-based image models, it generates images token-by-token — the same autoregressive approach used in GPT language models. This gives it stronger prompt adherence and more coherent compositions. It went viral shortly after launch for its ability to produce Ghibli-style illustrations.

Use cases

Quick creative exploration and moodboarding. Social media visuals and thumbnails. Product concept sketches. Image editing with natural language instructions — upload up to 5 reference images to guide style or composition.

Inputs

All parameters are passed in the input object of the run request.

ParameterRequiredDescription
promptYesText description of the image to generate (1–4000 chars)
aspect_ratioNoOutput aspect ratio. Default 1:1. Options: 1:1, 3:2, 2:3
image_urlsNoUp to 5 reference images (max 4 MB each) for image editing

Prompt tips

Lean into stylistic directions

GPT Image 1 excels at recognizable art styles. Mentioning a specific aesthetic — "Studio Ghibli watercolor," "vintage travel poster," "flat vector illustration" — produces more distinctive results than generic descriptions.

Keep prompts focused

With only 3 aspect ratios and no resolution control, simpler compositions tend to work best. Describe the core subject and mood rather than cramming in layout details.

Limitations

  • Only 3 aspect ratios available (1:1, 3:2, 2:3)
  • No resolution control — output resolution is fixed by the model
  • Complex or small text in images may need iteration for accuracy
  • Prompt length capped at 4000 characters
  • Maximum 5 reference images per request, 4 MB each

FAQ

How does GPT Image 1 differ from DALL-E?

GPT Image 1 uses an autoregressive architecture (token-by-token generation) rather than diffusion. This generally produces better prompt adherence and more coherent compositions.

What aspect ratios are available?

Three options: 1:1, 3:2, and 2:3. The default is 1:1.

Can I edit existing images?

Yes. Upload up to 5 reference images via image_urls to guide the generation with your own visuals.