Skip to main content
Generate Image sends a text prompt to an OpenAI image model and returns the generated image as a file. Available controls change with the selected model.

Common inputs

Model controls

Square sizes: 256×256, 512×512, and 1024×1024. The default is 1024×1024.

Output

Describe the subject, setting, composition, lighting, palette, and intended use. A specific art direction is more reliable than a list of adjectives.
Transparent backgrounds are a GPT Image 1 feature. Choose PNG or WebP when the downstream workflow must preserve transparency.