We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Alibaba: Wan 2.7

alibaba/wan-2.7
VideoInput: text · imageAdded Apr 15, 2026

Try Alibaba: Wan 2.7 now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account
Results will appear here.
5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

About Alibaba: Wan 2.7

Wan 2.7 is a video generation model from Alibaba, listed on api14 under the model id alibaba/wan-2.7. It belongs to the video category, and it is the only category it targets. If you are building a pipeline that needs to turn written prompts or still images into short video clips, this is the model to evaluate rather than a general text or image model.

The model accepts text and image inputs and returns video as its output. It supports text-to-video, image-to-video with first and last frame control, and reference-to-video, where multiple reference images guide the style and content of the result. Output resolutions are 720p and 1080p, and you can choose from aspect ratios of 16:9, 9:16, 1:1, 4:3, and 3:4. Clip durations run from 2 to 10 seconds in one second steps. Audio generation is available, so the returned video can include a generated soundtrack. No context length is published for this model, so plan around the prompt and reference inputs you supply rather than a token budget.

Those capabilities point to a fairly specific set of jobs. Text-to-video suits short promotional clips, social posts, and concept shots where you describe a scene and need a moving result. Image-to-video with first and last frame control is useful when you need the clip to start and end on specific frames, for example animating between two product shots or two key poses. Reference-to-video helps when a project needs a consistent visual style or recurring subject across several clips, since multiple reference images can steer the look. The 9:16 ratio fits vertical formats, while 16:9, 1:1, 4:3, and 3:4 cover widescreen, square, and other layouts. Since audio can be generated alongside the video, you can produce a finished short clip without a separate audio step.

You call the model through api14's OpenAI-compatible API using the model id alibaba/wan-2.7. The supported request parameters are max_tokens, temperature, and top_p, so you can control the length of the generated output and adjust sampling behaviour in the same way you would with other models on the gateway. Inputs come from text and image fields, and outputs are returned as video. Resolutions, aspect ratios, durations, and the first frame, last frame, and audio options are set through the request, as reflected in the model details on this page.

Wan 2.7 generates short clips only, with durations capped at 10 seconds, and no context length is published. If you need static image generation, long-form footage, or a text-only task, a model from a different category on api14 will fit better. Within its category, the combination of reference images, first and last frame control, configurable resolution and aspect ratio, and audio generation makes it a practical choice for short, directed video work.

How to call the Alibaba: Wan 2.7 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "alibaba/wan-2.7".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

// Video generation is asynchronous: submit, then poll until completed.
let job = await client.post("/videos", { body: {
  "model": "alibaba/wan-2.7",
  "prompt": "A drone shot over turquoise ocean waves at sunrise",
  "duration": 8,
  "resolution": "720p",
  "aspect_ratio": "16:9"
} });
while (!["completed", "failed"].includes(job.status)) {
  await new Promise((r) => setTimeout(r, 5000));
  job = await client.get(`/videos/${job.id}`);
}
console.log(job.status, job.unsigned_urls);

Supported parameters

max_tokenstemperaturetop_p

Specifications

Input
text, image
Output
video
Resolutions
720p, 1080p
Durations
2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s
Aspect ratios
16:9, 9:16, 1:1, 4:3, 3:4

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

Alibaba: Wan 2.7: frequently asked questions

How much does the Alibaba: Wan 2.7 API cost?
Alibaba: Wan 2.7 costs duration_seconds $0.35 / second. It is charged from your USD balance only for successful requests; failed requests are free.
What can Alibaba: Wan 2.7 do?
Alibaba: Wan 2.7 accepts text, image and returns video.
How do I call Alibaba: Wan 2.7 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "alibaba/wan-2.7". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Alibaba: Wan 2.7?
Comparable Video models at a similar price: Kling: Video O1, MiniMax: Hailuo 2.3, HeyGen: HeyGen Video. Each runs through the same API key, so switching is one string.

Alibaba: Wan 2.7 community

New topic

This community has no topics yet. Open the first one about Alibaba: Wan 2.7.