Skip to main content
OpenAIMediumUltra

GPT Image 1.5

OpenAI's latest image generation model with better instruction following and adherence to prompts, including sharp text rendering and detailed editing.

310 credits
per image at high/auto quality; 31 at low, 120 at medium
Four quality tiers (low/medium/high/auto) with proportional pricing
Strong instruction following and prompt adherence
Sharp in-image text rendering
Image editing via input_images with adjustable input_fidelity
Transparent or opaque background control

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "openai/gpt-image-1.5",
  "input": {
    "prompt": "make a scene in chelsea, london in the 1970s, photorealistic, everything in focus, with tons of people, and a bus with an advertisement for \"ImageGen 1.5 on Replicate\"",
    "quality": "high",
    "aspect_ratio": "1:1"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-A text description of the desired image
openai_api_keystringNo-Your OpenAI API key (optional - uses proxy if not provided)
aspect_ratiostringNo1:1The aspect ratio of the generated image
1:13:22:3
input_fidelitystringNolowHow much effort the model exerts to match style and facial features of input images
lowhigh
input_imagesarrayNo-A list of images to use as input for editing or composing
number_of_imagesintegerNo1Number of images to generate. Restricted to 1 in this gateway for accurate per-image billing
qualitystringNoautoThe quality of the generated image. Determines the credit tier (low/medium/high/auto)
lowmediumhighauto
backgroundstringNoautoSet whether the background is transparent, opaque, or chosen automatically
autotransparentopaque
output_compressionintegerNo90Compression level (0-100%)
output_formatstringNowebpOutput image format
pngjpegwebp
moderationstringNoautoContent moderation level
autolow
user_idstringNo-An optional unique identifier representing your end-user. This helps OpenAI monitor and detect abuse.

How to Provide File Input

There are 3 ways to provide files for the input_images parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=openai/gpt-image-1.5" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:input_images=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "openai/gpt-image-1.5",
  "input": {
    "prompt": "your prompt here",
    "input_images": ["https://example.com/image.jpg"]
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

High-Quality Photorealistic Scene (Default)

A detailed photorealistic scene at high quality

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "openai/gpt-image-1.5",
  "input": {
    "prompt": "make a scene in chelsea, london in the 1970s, photorealistic, everything in focus, with tons of people, and a bus with an advertisement for \"ImageGen 1.5 on Replicate\"",
    "quality": "high",
    "aspect_ratio": "1:1"
  }
}'

Low-Cost Draft

Fast, cheap iteration using the low quality tier

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "openai/gpt-image-1.5",
  "input": {
    "prompt": "a minimalist logo concept for a coffee brand, flat design",
    "quality": "low"
  }
}'

Tips & Best Practices

1Set quality explicitly to low or medium while iterating โ€” auto/high are billed at the top rate (510 credits)
2number_of_images is capped at 1 in this gateway; call the API multiple times for multiple images
3Use input_fidelity=high when editing images that must preserve facial features precisely
4background=transparent is useful for product cutouts and compositing

Use Cases

Marketing graphics with legible embedded text
Product mockups with transparent backgrounds
Low-cost draft iteration using the low/medium quality tiers
High-fidelity image editing that preserves facial features