Wan โ
Endpoint: POST https://mps.intl.tencentcloudapi.comAction: CreateAigcImageTask
Wan Image 2.2 is an image generation model that supports text-based image generation (text-to-image) only; reference-image input is not supported.
Basic Information โ
| Item | Value |
|---|---|
| ModelName | Wan |
| ModelVersion | 2.2 |
| Support scope | Text-based image generation |
| Guardrail removal support | Not supported |
Request Parameters โ
| Parameter | Type | Description |
|---|---|---|
| ModelName / ModelVersion | String | Wan / 2.2 |
| Prompt | String | Description of the image to generate |
| Operator | String | Caller identification information |
| StoreCosParam | Object | Save the result to the selected COS bucket. See common specifications |
Request Example โ
json
{
"ModelName": "Wan",
"ModelVersion": "2.2",
"Prompt": "a ceramic cup on a wooden table, soft window light",
"Operator": "wiki-example"
}Response Example โ
This is the structure of the acceptance response. Use DescribeAigcImageTask to check the completion status and ImageUrls.
json
{
"Response": {
"TaskId": "<task-id>",
"RequestId": "<request-id>"
}
}