Wan 2.6 Flash icon
Video by Alibaba

Wan 2.6 Flash API

Faster Wan 2.6 (image-to-video) with free audio.

Integrate Wan 2.6 Flash with a single API call — one key, one unified endpoint, and shared billing across every model on Apiframe.

model: "wan-2.6-flash"

What's special about Wan 2.6 Flash

  • Outputs at 720p / 1080p.
  • 6 aspect ratios, including 1:1, 3:4, 4:3.
  • Generates clips from 5s to 15s.
  • Image-to-video and reference-image support.
  • Generates natively synchronized audio.
  • Fast turnaround — about 45s per generation on average.
  • Pay-as-you-go pricing with no Alibaba account required — you only pay for successful generations.
  • One API key, unified billing, idempotency and webhooks across every Apiframe model.

Made with Wan 2.6 Flash

A few outputs generated through the Wan 2.6 Flash API on Apiframe.

Sample coming soon

Drone shot flying over a tropical coastline at sunrise, smooth cinematic motion

Sample coming soon

A vintage car driving through a rainy neon city at night, reflections on the asphalt

Sample coming soon

Time-lapse of clouds rolling over a mountain range in warm golden light

Overview

Endpoint
POST /v2/videos/generate
Model ID
wan-2.6-flash
Params key
wanParams
Modality
video
Provider
Alibaba
Pricing
Pay-as-you-go
Avg. completion
~45s

Capabilities

Aspect ratios1:1, 3:4, 4:3, 9:16, 16:9, 21:9
Resolutions720p, 1080p
Durations5s, 10s, 15s
Image inputSupported
AudioSupported
Avg. time~45s

Quick start

Send a single POST /v2/videos/generate request with your API key to generate with Wan 2.6 Flash. The call returns a jobId you can poll or receive via webhook.

curl -X POST https://api.apiframe.ai/v2/videos/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
        "prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
        "model": "wan-2.6-flash",
        "wanParams": {
            "image": "https://example.com/input.jpg",
            "resolution": "720p",
            "audio_enabled": false,
            "multi_shots": false
        }
    }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/videos/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
        "model": "wan-2.6-flash",
        "wanParams": {
            "image": "https://example.com/input.jpg",
            "resolution": "720p",
            "audio_enabled": False,
            "multi_shots": False
        }
    },
)
print(response.json())  # { "jobId": "...", "status": "QUEUED" }
const response = await fetch("https://api.apiframe.ai/v2/videos/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
    "model": "wan-2.6-flash",
    "wanParams": {
      "image": "https://example.com/input.jpg",
      "resolution": "720p",
      "audio_enabled": false,
      "multi_shots": false
    }
  }),
});
const { jobId } = await response.json();
console.log(jobId);

Response & job lifecycle

Generation is asynchronous. A successful submission returns 202 Accepted with a jobId. Poll GET /v2/jobs/{id} (or supply a webhook_url) until the status is COMPLETED; the result field then holds the output URL(s).

1. Submission response (202)

{
  "jobId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
  "status": "QUEUED"
}

2. Poll for the result

curl https://api.apiframe.ai/v2/jobs/JOB_ID \
  -H "X-API-Key: afk_your_api_key_here"
import requests, time

while True:
    job = requests.get(
        "https://api.apiframe.ai/v2/jobs/JOB_ID",
        headers={"X-API-Key": "afk_your_api_key_here"},
    ).json()
    if job["status"] in ("COMPLETED", "FAILED"):
        break
    time.sleep(2)
print(job["result"])
let job;
do {
  await new Promise((r) => setTimeout(r, 2000));
  job = await fetch("https://api.apiframe.ai/v2/jobs/JOB_ID", {
    headers: { "X-API-Key": "afk_your_api_key_here" },
  }).then((r) => r.json());
} while (job.status !== "COMPLETED" && job.status !== "FAILED");
console.log(job.result);

Input schema

Request parameters accepted by the Wan 2.6 Flash endpoint. Model-specific options are nested under the params object shown below.

Parameter Type Required Default Allowed / range Description
prompt string required Text description of what to generate.
model string required "wan-2.6-flash" "wan-2.6-flash" The model identifier for this endpoint.
wanParams.image string (URL) optional Use a still as the first frame.
wanParams.resolution string optional "720p" "720p", "1080p" Resolution
wanParams.audio_enabled boolean optional false Generate audio
wanParams.multi_shots boolean optional false Generate the prompt as a multi-shot sequence.
wanParams.negative_prompt string optional Negative prompt
wanParams.audio string (URL) optional Optional audio track to drive the clip.
wanParams.enable_prompt_expansion boolean optional false Let Wan rewrite your prompt for richer detail.
wanParams.seed number optional step 1 Reuse a number to reproduce the same result.

Frequently Asked Questions

Common questions about the Wan 2.6 Flash API.

Is there an API for Wan 2.6 Flash?

Yes. Apiframe exposes Wan 2.6 Flash through a single REST endpoint (`POST /v2/videos/generate` with `model: "wan-2.6-flash"`). You get one unified API, key, and billing across every supported model — no separate Alibaba account required.

How much does the Wan 2.6 Flash API cost?

Wan 2.6 Flash uses simple pay-as-you-go pricing on Apiframe — you only pay for successful generations. See the pricing page for plans and volume discounts.

How do I call the Wan 2.6 Flash API?

Send a POST request to `/v2/videos/generate` with your `X-API-Key` and a JSON body containing `model: "wan-2.6-flash"`. The call returns a `jobId`; poll `GET /v2/jobs/{id}` or use a webhook to receive the result.

What parameters does Wan 2.6 Flash support?

Wan 2.6 Flash accepts 8 model-specific parameters (nested under `wanParams`) plus the common `prompt` and `webhook_url` fields. See the input schema above for the full list with types and defaults.

Still have questions?

Start building with the Wan 2.6 Flash API

Get your API key and integrate Wan 2.6 Flash in minutes — Pay-as-you-go.

Free credits to start
One API for every model
Webhooks, SDKs & idempotency
No provider account required

Questions? Join our Discord or contact sales.