All Models

Alibaba logo

WAN 2.7 API

WAN 2.7 generates images and video from text, animates stills with start-and-end-frame guidance, and edits or continues existing footage.

Try in Studio
More options (3)
Generate

Pricing depends on the selected inputs. See the rates below.

WAN 2.7 example

Supported modes

Text to Image

Text to Image uses prompt. Adjust the model options to prepare a request for this mode.

image.generate

Animate

Animate uses image and prompt. Adjust the model options to prepare a request for this mode.

video.animate

Text to Video

Text to Video uses prompt. Adjust the model options to prepare a request for this mode.

video.generate

Edit

Edit uses prompt and video. Adjust the model options to prepare a request for this mode.

video.edit

Extend

Extend uses prompt and video. Adjust the model options to prepare a request for this mode.

video.extend

Pricing

Image to video

Price per run for each listed option.

OfferingPrice (USD)
Duration: 2s · Resolution: 720p$0.20 / run
Duration: 2s · Resolution: 1080p$0.30 / run
Duration: 3s · Resolution: 720p$0.30 / run
Duration: 3s · Resolution: 1080p$0.45 / run
Duration: 4s · Resolution: 720p$0.40 / run
Duration: 4s · Resolution: 1080p$0.60 / run
Duration: 5s · Resolution: 720p$0.50 / run
Duration: 5s · Resolution: 1080p$0.75 / run
Duration: 6s · Resolution: 720p$0.60 / run
Duration: 6s · Resolution: 1080p$0.90 / run
Duration: 7s · Resolution: 720p$0.70 / run
Duration: 7s · Resolution: 1080p$1.05 / run
  • Audio count: 0, 1 (same price).
  • Last Image count: 0, 1 (same price).
  • Enable Prompt Expansion: Off, On (same price).

Image generation

Price per run for each listed option.

OfferingPrice (USD)
All listed options$0.03 / run
  • Size: 768 × 768, 1024 × 1024, 2048 × 2048 (same price).
  • Thinking Mode: Off, On (same price).

Text to video

Price per run for each listed option.

OfferingPrice (USD)
Duration: 2s · Resolution: 720p$0.20 / run
Duration: 2s · Resolution: 1080p$0.30 / run
Duration: 3s · Resolution: 720p$0.30 / run
Duration: 3s · Resolution: 1080p$0.45 / run
Duration: 4s · Resolution: 720p$0.40 / run
Duration: 4s · Resolution: 1080p$0.60 / run
Duration: 5s · Resolution: 720p$0.50 / run
Duration: 5s · Resolution: 1080p$0.75 / run
Duration: 6s · Resolution: 720p$0.60 / run
Duration: 6s · Resolution: 1080p$0.90 / run
Duration: 7s · Resolution: 720p$0.70 / run
Duration: 7s · Resolution: 1080p$1.05 / run
  • Audio count: 0, 1 (same price).
  • Enable Prompt Expansion: Off, On (same price).

Video editing

Based on verified input duration.

OfferingPrice (USD)
Duration: 0s · Resolution: 720p$0.20 / input second
Duration: 0s · Resolution: 1080p$0.30 / input second
Duration: 2s · Resolution: 720p$0.40 / run
Duration: 2s · Resolution: 1080p$0.60 / run
Duration: 3s · Resolution: 720p$0.60 / run
Duration: 3s · Resolution: 1080p$0.90 / run
Duration: 4s · Resolution: 720p$0.80 / run
Duration: 4s · Resolution: 1080p$1.20 / run
Duration: 5s · Resolution: 720p$1.00 / run
Duration: 5s · Resolution: 1080p$1.50 / run
Duration: 6s · Resolution: 720p$1.20 / run
Duration: 6s · Resolution: 1080p$1.80 / run
  • Images count: 0, 1, 2, 3 (same price).
  • Audio Setting: auto, origin (same price).
  • Enable Prompt Expansion: Off, On (same price).
  • Based on the video input; billing steps apply in this order:
  • Round input duration up to a whole second.
  • Bill at least 2 seconds.
  • Cap billed duration at 10 seconds.
  • Round the total charge up to the next $0.01.

Video extension

Price per run for each listed option.

OfferingPrice (USD)
Duration: 5s · Resolution: 720p$0.50 / run
Duration: 5s · Resolution: 1080p$0.75 / run
Duration: 6s · Resolution: 720p$0.60 / run
Duration: 6s · Resolution: 1080p$0.90 / run
Duration: 7s · Resolution: 720p$0.70 / run
Duration: 7s · Resolution: 1080p$1.05 / run
Duration: 8s · Resolution: 720p$0.80 / run
Duration: 8s · Resolution: 1080p$1.20 / run
Duration: 9s · Resolution: 720p$0.90 / run
Duration: 9s · Resolution: 1080p$1.35 / run
Duration: 10s · Resolution: 720p$1.00 / run
Duration: 10s · Resolution: 1080p$1.50 / run
  • Audio count: 0, 1 (same price).
  • Enable Prompt Expansion: Off, On (same price).

Text to Image options

OptionDetailsDefault
Prompt *
prompt
The positive prompt for the generation.—
Seed
seed
The random seed to use for the generation. -1 means a random seed will be used.—
Size
size
Optional output canvas. Explicit sizes: 768*768, 1024*1024, or 2048*2048. Options: 768*768, 1024*1024, 2048*2048. Minimum: 272. Maximum: 4096."1024*1024"
Thinking mode
thinking_mode
Enable thinking mode for enhanced reasoning and better image quality. Increases generation time.true

WAN 2.7

WAN 2.7 combines still-image creation with video generation, editing, and continuation. Written descriptions can produce images or moving scenes. A supplied image provides the visual starting point for animation, with an optional ending image guiding where the movement finishes.

For video edits, the source footage establishes the action and composition, while text describes changes to objects, colors, or visual style. Reference images can guide the revised appearance. Video extension uses an existing clip and a description of what happens next to develop the scene further.

What it's good for

A campaign workflow can begin with concept artwork, move into animation, and then explore product or setting changes in the resulting footage. Frame-guided animation suits transitions between planned compositions.

For narrative development, extension offers a way to explore the next action in a scene. Supplied audio can guide pacing in video generation and continuation, making these tasks useful for music-led visuals.

Run WAN 2.7 on Protoface

Use WAN 2.7 in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

Model publisher

About Alibaba

Alibaba’s generative AI work includes the Qwen model family and Alibaba Cloud’s infrastructure for model development. Qwen research spans language, coding, mathematics, vision and audio, with families such as Qwen-Coder and Qwen-VL. Alibaba Cloud provides tools for training, fine-tuning and deploying foundation models as online services.

  • Qwen models
  • Multimodal research
  • Model development

Related models

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai