Create Image
Changed onGenerate an image with minimal or advanced parameters.
Request
- Base URLhttps://platform.qubrid.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "qwen-image",
"prompt": "A futuristic city skyline at sunset",
"aspect_ratio": "16:9",
"image_size": "optimize_for_quality",
"output_format": "webp"
}Response
Image generated successfully
Example response
{
"created": 1710000000,
"data": [
{
"url": "https://cdn.qubrid.com/generated/image.webp",
"b64_json": "/9j/4AAQSkZJRgAB..."
}
]
}Changes
- breaking
the response property
//became nullable for the status - breaking
the
response's property type changed fromstringtoobjectfor status - breaking
the
response's property type changed fromstringtoobjectfor status - breaking
the
response's property type changed fromstringtoobjectfor status - breaking
the
response's property type changed fromstringtoobjectfor status - breaking
the
response's property type changed fromstringtoobjectfor status - breaking
the
response's property type changed fromstringtoobjectfor status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking