Generate images
Generate images with Seedream or Qwen-compatible request formats.
Generate images
curl -X POST "https://router.chbcloud.com/v1/images/generations" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{}'Successful response.
{
"data": [
{}
],
"created": 0,
"metadata": {}
}Generates images through supported image routes. Seedream-style requests use model, prompt, image, size, response_format, and watermark. Qwen-style requests can use input and parameters objects; additional provider fields are passed through when supported.
Use the InnoPaaS AppKey as a Bearer token. Create or manage keys in Console. API key guide
Authorization
AuthorizationBody
application/jsonsizeRequested output size or resolution tier.
imageOptional input image URL, data URL, or array of images.
modelExact model ID returned by the model list operation.
promptImage-generation or editing instruction.
watermarkWhether to add a model watermark when supported.
response_formatImage response format when supported.
Response
application/jsonSuccessful response.
dataGenerated image records, commonly containing a URL or base64 data.
createdCreation time as a Unix timestamp.
metadataProvider metadata, request ID, rewrite result, and usage when available.
{
"data": [
{}
],
"created": 0,
"metadata": {}
}