Qwen 2 Pro
PremiumQwen · Image · Text → Image
Premium Qwen 2 (2026-04-22) with highest quality output.
qwen-image-2-proWorkflow: qwen/v1/text-to-imageAuthentication
Send your Picsart API key as a bearer token on every request.
Authorization: Bearer <PICSART_API_KEY>Make a request
One endpoint serves every model: POST to /workflows/v1/models/execute with the model id and its input in the body. The nesting is deliberate — the outer paramsis the envelope every workflow takes, and the inner one is this model's own input. Those inner names are the same unified ones the SDK takes, so a call translates one-to-one between the two — no per-vendor naming to learn.
curl -X POST 'https://api.picsart.com/workflows/v1/models/execute' \
-H 'Authorization: Bearer $PICSART_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"params": {
"model": "qwen-image-2-pro",
"params": {
"prompt": "A serene mountain lake at golden hour, ultra detailed",
"resolution": "2048x2048"
}
}
}'Parameters
6 parameters, sent inside the inner paramsobject. Identical to the SDK's — one parameter set, whichever transport you use.
| Parameter | Type | Required | Default | Details |
|---|---|---|---|---|
promptPrompt | text | yes | — | max 800 chars |
negativePromptNegative Prompt | text | no | — | — |
resolution | enum | no | 2048x2048 | 2048x2048, 2688x1536, 1536x2688, 2368x1728, 1728x2368 |
count | enum | no | 1 | 1, 2, 4, 6 |
enhancePrompt | boolean | no | true | — |
imageUrlsSource Images | file (image[]) | no | — | — |
Response
The body arrives in the gateway's status envelope, so the output is at response.result — alongside the task id, its status and the credits charged. Asset models return url plus an items array; text models return text instead.
{
"status": "success",
"response": {
"id": "task_abc123",
"status": "COMPLETED",
"result": {
"url": "https://cdn.picsart.com/…/result",
"items": [
{
"url": "https://cdn.picsart.com/…/result"
}
],
"model": "qwen-image-2-pro"
},
"usage": {
"credits": 3
}
}
}