curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "qwen-image-3",
"input": {
"prompt": "Transform this logo into a polished metallic badge with realistic studio lighting while preserving its recognizable shape and colors",
"image_urls": [
"https://storage.poyo.ai/logo.webp"
],
"size": "4:3",
"resolution": "2K",
"output_format": "jpeg",
"prompt_extend": false
}
}
'{
"code": 200,
"data": {
"task_id": "<string>",
"status": "not_started",
"created_time": "2023-11-07T05:31:56Z"
}
}Alibaba
Qwen Image 3 Generation
Unified text-to-image and reference-image generation with Qwen Image 3
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "qwen-image-3",
"input": {
"prompt": "Transform this logo into a polished metallic badge with realistic studio lighting while preserving its recognizable shape and colors",
"image_urls": [
"https://storage.poyo.ai/logo.webp"
],
"size": "4:3",
"resolution": "2K",
"output_format": "jpeg",
"prompt_extend": false
}
}
'{
"code": 200,
"data": {
"task_id": "<string>",
"status": "not_started",
"created_time": "2023-11-07T05:31:56Z"
}
}After submission, a
task_id is returned. You can retrieve the result through the unified Query Task Status endpoint or provide a callback_url to receive a completion notification.Qwen Image 3 Generation
Qwen Image 3 supports text-to-image and multi-reference image generation for posters, product visuals, typography, and natural-language image editing.Available Models
- qwen-image-3 - Standard image generation with 1K and 2K output
- qwen-image-3-pro - Higher-quality image generation with 1K and 2K output
image_urls for text-to-image generation, or provide 1–3 reference images for image-to-image generation.
Parameters
promptis required and supports up to 5,000 characters.sizesupports1:1,3:2,2:3,4:3,3:4,16:9,9:16, and21:9.resolutionsupports1Kand2K.output_formatsupportspngandjpeg.prompt_extendcontrols automatic prompt enhancement.negative_promptdescribes content that should not appear in the output.seedaccepts values from 0 to 2,147,483,647.enable_safety_checkercontrols content safety checking.
Pro Text-to-Image Example
{
"model": "qwen-image-3-pro",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "Create a refined bilingual technology conference poster with the headline Future Vision, elegant grid layout, blue and silver palette, realistic print texture",
"size": "3:4",
"resolution": "1K",
"output_format": "png",
"negative_prompt": "blurry, distorted typography, watermark",
"seed": 314159
}
}
Standard Reference-Image Example
{
"model": "qwen-image-3",
"input": {
"prompt": "Transform this logo into a polished metallic badge with realistic studio lighting while preserving its recognizable shape and colors",
"image_urls": ["https://storage.poyo.ai/logo.webp"],
"size": "4:3",
"resolution": "2K",
"output_format": "jpeg",
"prompt_extend": false
}
}
Pro 2K Reference-Image Example
{
"model": "qwen-image-3-pro",
"input": {
"prompt": "Transform this logo into a premium glass and brushed-metal app icon, preserve the original geometry and colors, dark blue studio background",
"image_urls": ["https://storage.poyo.ai/logo.webp"],
"size": "16:9",
"resolution": "2K",
"output_format": "png"
}
}
Pro Multi-Reference Example
{
"model": "qwen-image-3-pro",
"input": {
"prompt": "Combine the original logo geometry from the first reference with the brushed-metal material and lighting from the second reference, centered premium brand emblem",
"image_urls": [
"https://storage.poyo.ai/logo.webp",
"https://storage.poyo.ai/qwen-image-3-pro/reference-material.jpg"
],
"size": "1:1",
"resolution": "1K",
"output_format": "png"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
