Official

openai / gpt-image-1

A multimodal image generation model that creates high-quality images. You need to bring your own verified OpenAI key to use this model.

  • Public
  • 1.2K runs
  • $0.001 per image
  • Commercial use
  • Paper
  • License

Input

*secret

A secret has its value redacted after being sent to the model.

Your OpenAI API key

*string
Shift + Return to add a new line

A text description of the desired image

string

The aspect ratio of the generated image

Default: "1:1"

file[]

A list of images to use as input for the generation

integer
(minimum: 1, maximum: 10)

Number of images to generate (1-10)

Default: 1

string

The quality of the generated image

Default: "auto"

string

Set whether the background is transparent or opaque or choose automatically

Default: "auto"

integer
(minimum: 0, maximum: 100)

Compression level (0-100%)

Default: 90

string

Output format

Default: "webp"

string

Content moderation level

Default: "auto"

string
Shift + Return to add a new line

An optional unique identifier representing your end-user. This helps OpenAI monitor and detect abuse.

Output

output
Generated in
Input tokens
9
Output tokens
6.2K
Tokens per second
133.10 tokens / second

Pricing

Official model
Pricing for official models works differently from other models. Instead of being billed by time, you’re billed by input and output, making pricing more predictable.

This model is priced by how many images are generated.

TypePer unitPer $1
Output
$0.001 / image
or
1000 images / $1

For example, generating 100 images should cost around $0.10.

Check out our docs for more information about how per-image pricing works on Replicate.

Readme

GPT Image 1 is a new state-of-the-art image generation model. It is a natively multimodal language model that accepts both text and image inputs, and produces image outputs.

Capabilities

  • Creates images across diverse styles
  • Follows custom guidelines
  • Leverages world knowledge
  • Renders text accurately

Pricing

Usage is priced per token, with different rates for:

  • Text input tokens (prompt text): $5 per 1M tokens
  • Image input tokens (input images): $10 per 1M tokens
  • Image output tokens (generated images): $40 per 1M tokens

Safety Features

  • Same safety guardrails as image generation in ChatGPT
  • Safeguards against generating harmful images
  • C2PA metadata included in generated images
  • Moderation sensitivity control with the moderation parameter:
  • auto (default): standard filtering
  • low: less restrictive filtering

Data Usage

  • By default, OpenAI does not train on customer API data
  • All image inputs and outputs remain subject to API usage policies