openai/gpt-image-1 📝❓🖼️🔢 → 🖼️

⭐ Official ▶️ 649.9K runs 📅 Apr 2025 ⚙️ Cog 0.16.7 📄 Paper ⚖️ License
image-editing image-to-image text-to-image

About

A multimodal image generation model that creates high-quality images. You need to bring your own verified OpenAI key to use this model. Your OpenAI account will be charged for usage.

Example Output

Prompt:

"Add the floral pattern to the vase"

Output

Example output

Performance Metrics

45.87s Prediction Time
45.89s Total Time
1 Images
All Input Parameters
{
  "prompt": "Add the floral pattern to the vase",
  "quality": "auto",
  "background": "auto",
  "moderation": "auto",
  "aspect_ratio": "1:1",
  "input_images": [
    "https://replicate.delivery/pbxt/MusWuQJm1RJPu1Cj0ajRmoMnHyYNPk6ljT1QCU4DbHMsqDTF/53541851-62f3-44a7-b075-ef053ae2f324.jpg",
    "https://replicate.delivery/pbxt/MusWuPkfcvyZQuuXeMIbQXEMe9K2G8rDCNraQffAt0OzMRaT/colored-flower-pattern-free-vector.jpg"
  ],
  "output_format": "webp",
  "openai_api_key": "[REDACTED]",
  "number_of_images": 1,
  "output_compression": 90
}
Input Parameters
prompt (required) Type: string
A text description of the desired image
quality Default: auto
The quality of the generated image
user_id Type: string
An optional unique identifier representing your end-user. This helps OpenAI monitor and detect abuse.
background Default: auto
Set whether the background is transparent or opaque or choose automatically
moderation Default: auto
Content moderation level
aspect_ratio Default: 1:1
The aspect ratio of the generated image
input_images Type: array
A list of images to use as input for the generation
output_format Default: webp
Output format
input_fidelity Default: low
Control how much effort the model will exert to match the style and features, especially facial features, of input images
openai_api_key (required) Type: string
Your OpenAI API key
number_of_images Type: integerDefault: 1Range: 1 - 10
Number of images to generate (1-10)
output_compression Type: integerDefault: 90Range: 0 - 100
Compression level (0-100%)
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Generating image...
Image size: 378.3KB
Image size: 303.0KB
Generated image in 45.6sec
Generated 1 images
Input text token count: 711
Input image token count: 646
Output token count: 4160
Version Details
Version ID
5ac56c15446a60fa63b3823de926ada90f5971c2cf9b1dd07659126cfda434e6
Version Created
September 22, 2025
Run on Replicate →