Build with Qwen3 Pro
Make your first request
Use your Sorceress API key on your server. The playground uses your signed-in account; your application uses the same model with an API key.
curl -X POST 'https://sorceress.games/api/v1/jobs' \
-H 'Authorization: Bearer $SORCERESS_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "qwen3-pro-image-to-image",
"input": {
"image_size": "16:9",
"resolution": "1K",
"nsfw_checker": false,
"prompt_extend": true,
"image_urls": "<image_urls>",
"prompt": "<prompt>"
}
}'Inputs & settings
seedintegerRandom seed, 0–2147483647. If omitted, a random seed is used.
promptstringRequiredThe positive prompt that describes the image content, style, and composition you want to generate or edit. Both Chinese and English are supported.
image_sizestringThe output image size.
Options: 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9
image_urlsarrayRequiredInput image URL array. Supports up to 3 images. Supported file types: `image/jpeg`, `image/png`, `image/webp`, `image/bmp`, and `image/gif`,`image/tiff`. Maximum file size: 10 MB per image.
resolutionstringThe output image resolution.
Options: 1K, 2K
nsfw_checkerbooleanWhether to enable content filtering. Optional. Defaults to false. When set to false, content filtering is disabled and all results are returned directly by the model. Note: Content filtering cannot guarantee that all inappropriate content will be detected. If the filtering results do not meet your requirements, you must implement additional content moderation measures.
output_formatstringOutput format: png or jpeg. Set this field explicitly.
Options: png, jpeg
prompt_extendbooleanWhether to enable intelligent prompt rewriting. Default: true (recommended). When enabled, the model optimizes the positive prompt, which significantly improves results for simple descriptions.
negative_promptstringThe negative prompt that describes content you do not want to appear in the image.
Full input schema
{
"type": "object",
"required": [
"image_urls",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"minimum": 0,
"description": "Random seed, 0–2147483647. If omitted, a random seed is used."
},
"prompt": {
"type": "string",
"title": "Prompt",
"maxLength": 5000,
"minLength": 1,
"description": "The positive prompt that describes the image content, style, and composition you want to generate or edit. Both Chinese and English are supported."
},
"image_size": {
"enum": [
"1:1",
"3:2",
"2:3",
"4:3",
"3:4",
"16:9",
"9:16",
"21:9"
],
"type": "string",
"title": "Image size",
"default": "16:9",
"description": "The output image size."
},
"image_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Image URLs",
"x-media": "image",
"maxItems": 3,
"minItems": 1,
"description": "Input image URL array. Supports up to 3 images. Supported file types: `image/jpeg`, `image/png`, `image/webp`, `image/bmp`, and `image/gif`,`image/tiff`. Maximum file size: 10 MB per image."
},
"resolution": {
"enum": [
"1K",
"2K"
],
"type": "string",
"title": "Resolution",
"default": "1K",
"description": "The output image resolution."
},
"nsfw_checker": {
"type": "boolean",
"title": "NSFW checker",
"default": false,
"description": "Whether to enable content filtering. Optional. Defaults to false. When set to false, content filtering is disabled and all results are returned directly by the model. Note: Content filtering cannot guarantee that all inappropriate content will be detected. If the filtering results do not meet your requirements, you must implement additional content moderation measures."
},
"output_format": {
"enum": [
"png",
"jpeg"
],
"type": "string",
"title": "Output format",
"description": "Output format: png or jpeg. Set this field explicitly."
},
"prompt_extend": {
"type": "boolean",
"title": "Prompt extend",
"default": true,
"description": "Whether to enable intelligent prompt rewriting. Default: true (recommended). When enabled, the model optimizes the positive prompt, which significantly improves results for simple descriptions."
},
"negative_prompt": {
"type": "string",
"title": "Negative prompt",
"maxLength": 5000,
"minLength": 0,
"description": "The negative prompt that describes content you do not want to appear in the image."
}
}
}Results, saved runs & billing
Media requests return a job ID. Poll GET /api/v1/jobs/:id until it succeeds or fails; keep the same ID while it is processing. Long chat requests can also return a saved job to poll. Completed outputs are stored in your account, and successful work is billed using your model's current rates.
A multi-step workflow may include separately billed successful actions. If a connection drops, check your saved run before submitting it again.






