Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key created in the DreamTo console, sent as Authorization: Bearer <API Key>.

Body

application/json

Request body of image generation (DashScope protocol).

model
enum<string>
required

Model name.

Allowed values:

  • qwen-image-3.0-pro: The flagship Qwen-Image 3.0 model, with the strongest text rendering, textures and semantic adherence
Available options:
qwen-image-3.0-pro
input
object
required

Input: the prompt and optional reference images.

parameters
object

Optional generation parameters; all defaults apply when omitted.

Response

Images generated. The links are in output.choices[0].message.content[].image and usage holds the billed quantities; request_id equals the X-Request-Id header.

Successful response.

request_id
string
required

Request ID (issued by DreamTo), the same as the X-Request-Id header; include it when reporting issues.

output
object
required

Generation result.

usage
object
required

Billed quantities of the call (image counts and tiers, not tokens); only returned on success.