openai / gpt-image-1-5
gpt-image-1-5
Generate or edit images using text prompts or image edits with GPT Image 1.5. Supports multiple sizes, formats, and quality settings.
Overview
GPT Image 1.5 is an AI-powered tool designed for creating and editing images using natural language descriptions or by modifying existing images. It supports various image generation modes including text-to-image and image-to-image transformations.
What you can build
- High-quality visual assets from descriptive text prompts
- Image edits and enhancements using source images
- Customized image outputs with control over size, quality, and format
Inputs
- Prompt: Required text description for image generation or editing
- Source Images (Edit): Optional input images for editing tasks (up to 16)
- Mask Image (Edit): Optional mask to define editing regions
- Size: Output image dimensions (auto, 1:1, 3:2, 2:3)
- Quality: Output image quality level (low, medium, high)
- Background: Transparency settings (auto, transparent, opaque)
- Output Format: PNG, JPEG, or WEBP
- Output Compression: JPEG or WEBP compression level (0-100)
- Samples: Number of images to generate or edit (1-10)
- Moderation Level: Content moderation level (auto, low)
- Input Fidelity (Edit): Fidelity control for editing tasks (high, low)
Outputs
Generated or edited images with customizable parameters such as size, quality, background, and file format.
Recommended settings
For best results, use detailed prompts with specific lighting and style references. Select appropriate size and quality based on intended use. Adjust compression levels for optimal file size without sacrificing too much quality.
Limitations
- Image editing requires compatible input images and masks
- Output quality may vary depending on complexity of prompt
- File size limitations apply to input images
Safety & compliance
This model is designed for generating creative visual content. Users must comply with applicable laws and regulations when using generated images. Content moderation helps filter inappropriate outputs.
Example prompts
Great starting points for gpt-image-1-5.
API quick start
Run gpt-image-1-5 with a single API call.
{
"prompt": "Seamlessly place this woman on a sunlit b…",
"size": "auto",
"quality": "low",
"samples": 1
}