Skip to content

Wan โ€‹

Updated

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 โ€‹

ItemValue
ModelNameWan
ModelVersion2.2
Support scopeText-based image generation
Guardrail removal supportNot supported

Request Parameters โ€‹

ParameterTypeDescription
ModelName / ModelVersionStringWan / 2.2
PromptStringDescription of the image to generate
OperatorStringCaller identification information
StoreCosParamObjectSave 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>"
  }
}

Built with VitePress ยท Deployed on Tencent EdgeOne Pages