OpenAI · Images
/v1/images/generations
Creates an image given a prompt. Learn more.
post/v1/images/generations
Request
- Base URLhttps://aihubmix.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"prompt": "A cute baby sea otter",
"n": 1,
"quality": "medium",
"response_format": "url",
"output_format": "png",
"output_compression": 100,
"partial_images": 1,
"moderation": "low",
"background": "transparent",
"style": "vivid",
"user": "user-1234"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.