Back to Models Guide
OpenAIimage

Complete Guide to Using GPT Image 2

Try This ModelTutorial

Overview

OpenAI GPT Image 2 text-to-image generation — high prompt fidelity with 11 aspect ratio options

Input Parameters

prompt
textarearequired

A text description of the image (max 20000 chars).

aspect_ratio
selectrequired

Width-height ratio. Use 'auto' to let the model pick.

Options
auto1:15:44:54:33:43:22:316:99:162:11:23:11:321:99:21
Default: auto
resolution
selectrequired

Output resolution. Note: a 1:1 aspect ratio cannot be 4K, and 'auto' aspect supports 1K only.

Options
1K2K4K
Default: 1K
NSFW Filter
toggle

Enable NSFW content filtering.

Default: false