Generate image
Generate a new image from a text prompt. Unsupported fields are rejected.
post/images/generations
Request
- Base URLhttps://api.llm7.io/v1
- URLhttps://api.llm7.io/v1/images/generations
- AuthHTTP bearer
Request body
Example request
{
"model": "gpt-image-2",
"size": "1024x1024"
}Response
Generated image response
Example response
{
"usage": {
"cost_usd": "0.01200000"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.