Quick Example
- Python
- Node.js
- cURL
Response
The API returns an array of image objects. Depending on yourresponse_format, each object contains either a URL or base64-encoded image data.
Common Parameters
Learn More
Generating Images
Create images from text prompts with full control over size, quality, and format.
Editing Images
Modify existing images using text prompts and optional masks.