Image modelsAPI referenceGet image generation settings

Get image generation settings

Get whether image generation is available, the available models and sizes, reference image limits, reference image surcharges and the current rate version. No authentication is required. Submit only the models and sizes this endpoint returns.

Authentication

Public endpoint. No authentication required.

Credentials in the examples are placeholders. Replace them and run the examples on your server.

Code examples

curl -X GET 'https://shixux.com/api/v1/image/config'
{  "enabled": true,  "available": true,  "message": "example",  "models": [    "doubao-seedream-5-0-pro-260628"  ],  "sizes": [    "1024x1024"  ],  "billing": {    "rates": [      {        "model": null,        "size": null,        "credits": null      }    ],    "version": 1,    "updated_at": "2026-10-06T10:00:00Z"  }}

Response Body

Request succeeded

application/json
  1. response
reference_rates?

Reference image surcharge in credits for each model. Models not listed here do not charge for reference images.

max_reference_images?

Maximum number of input images for each model.

available*boolean
billing*
enabled*boolean
message*string
models*array<>
sizes*array<>

On this page