Generate one 1024 × 1024 image at low quality. Text prompts are limited to 800 characters.
curl 'https://chuaone.si/v1/images/generations' \
-H "Authorization: Bearer $CHUA_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
-d '{"model":"dola-seedream-5-0-pro-260628","prompt":"A blue circle on white","n":1,"size":"1024x1024","quality":"low"}'
Read the base64 image in data[0].b64_json and keep X-CHUA-Request-ID. Do not send response_format.
The request reserve is calculated from the published token rates and the approved output bound; it is not a fixed image price. Successful requests settle actual input and image-output tokens. Unconfirmed results remain under review. Check request records before retrying; an existing idempotency key returns 409.