Image bailian

Wan 2.7 Image Pro

阿里云百炼通义万相 2.7 Pro 图片模型,面向高质量文生图与多图编辑,文生图最高支持 4K。

Capabilities

Reference image generation

Parameters and specs

Aspect ratios
1:1 方形 / 16:9 横屏 / 9:16 竖屏 / 4:3 横屏 / 3:4 竖屏
Resolutions
1K / 2K / 4K(仅文生图)
Reference limits
9 images

Model API

Model endpoints route to this capability through the model field or app/action fields in the request body. Include a MediaGo developer API key before calling them.

Method

POST

Endpoint

/api/v1/images

Auth

Authorization: Bearer <mgak_...>

Result

response.data[]

The image endpoint returns generated results in the response data array.

Key fields

model
Required. Use the current model ID.
prompt
Required. The generation prompt.
aspect_ratio
Optional. Output aspect ratio. Defaults to the model setting when omitted.
resolution
Optional. Output resolution. Defaults to the model setting when omitted.
input_references
Optional. Reference image input array.
seed
Optional. Random seed.

Request example

{
  "model": "wan2.7-image-pro",
  "prompt": "Create a 1:1 product image on a white background with soft shadows and detailed material texture.",
  "aspect_ratio": "1:1",
  "resolution": "1K",
  "input_references": [
    {
      "type": "image_url",
      "image_url": {
        "url": "https://example.com/reference.png"
      }
    }
  ]
}

Example uses

Example prompt

Generate a clean SaaS hero image with an analytics dashboard, modern office setting, and teal accents.

Example prompt

Keep the character consistent from the reference image and restyle it as a cinematic neon street portrait at night.

Example prompt

Create a 1:1 ecommerce product image on a white background with soft shadows and detailed material texture.