Overview
ImageGiven a prompt and/or input image, the model will generate a new image.Related Guides: Image GenerationCreate an image based on the prompt.Authentication
This endpoint requires authentication using a Bearer token.Your API key in the format:
Bearer YOUR_API_KEYRequest Body
The model to use for the request
Prompt parameter
Number of completions to generate
Size parameter
Request Example
Response
Successful response






