Wan2.6 Flash
Wan2.6 Flash is a distilled, low-latency variant of the Wan2.6 multimodal video model designed for rapid image to video generation with fluid motion, visual stability, and optional synchronized audio. It produces HD clips from detailed static images while preserving subject structure and motion realism, making it suitable for preview workflows and high-throughput creative pipelines.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: videoInference -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
outputType
string default: URL -
Video output type.
Allowed values 1 value
-
outputFormat
string default: MP4 -
Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.
- `MP4`: Widely supported video container (H.264), recommended for general use.
- `WEBM`: Optimized for web delivery.
- `MOV`: QuickTime format, common in professional workflows (Apple ecosystem).
Allowed values 3 values
-
outputQuality
integer min: 20 max: 99 default: 95 -
Compression quality of the output. Higher values preserve quality but increase file size.
-
webhookURL
string URI -
Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more 1 resource
- Webhooks PLATFORM
- Webhooks
-
deliveryMethod
string default: async -
Determines how the API delivers task results.
Allowed values 1 value
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation.
Learn more 1 resource
- Task Polling PLATFORM
-
uploadEndpoint
string URI -
Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.
Common use cases:
- Cloud storage: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- CDN integration: Upload to content delivery networks for immediate distribution.
// S3 presigned URL for secure upload https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600 // Google Cloud Storage presigned URL https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789 // Custom storage endpoint https://storage.example.com/uploads/generated-image.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
-
safety
object -
Content safety checking configuration for video generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to
fastmode.
-
safety»modemode
string default: none -
Safety checking mode for video generation.
Allowed values 3 values
- Disables checking.
- Checks key frames.
- Checks all frames.
-
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
-
includeCost
boolean default: false -
Include task cost in the response.
-
numberResults
integer min: 1 max: 4 default: 1 -
Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object.-
inputs»frameImagesframeImages
array of strings or objects items: 1 -
An array of frame-specific image inputs to guide video generation. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object that pairs an image with a target frame position.
The
frameImagesparameter allows you to constrain specific frames within the video sequence, ensuring that particular visual content appears at designated points. This is different fromreferenceImages, which provide overall visual guidance without constraining specific timeline positions.When the
frameparameter is omitted, automatic distribution rules apply:- 1 image: Used as the first frame.
Examples 2 examples
Shorthand format: When you don't need to specify a frame position, you can pass a plain image input directly.
"frameImages": [ "aac49721-1964-481a-ae78-8a4e29b91402" ]Object format: When you need to specify a frame position, use an object with
imageandframe."frameImages": [ { "image": "aac49721-1964-481a-ae78-8a4e29b91402", "frame": "first" } ]Format 1: string[]
-
Image input (UUID, URL, Data URI, or Base64).
Format 2: object[] 2 properties
-
inputs»audioaudio
string -
Audio input (UUID or URL).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: alibaba:wan@2.6-flash -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 1 max: 1500 -
Text prompt describing elements to include in the generated output.
Learn more 2 resources
-
negativePrompt
string min: 1 max: 500 -
Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).
Learn more 1 resource
-
width
integer paired with height -
Width of the generated media in pixels.
Learn more 2 resources
-
height
integer paired with width -
Height of the generated media in pixels.
Learn more 2 resources
-
resolution
string -
Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.
Allowed values 2 values
-
duration
integer min: 2 max: 15 default: 5 -
Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).
-
seed
integer min: 0 max: 2147483647 -
Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.
Provider Settings
Parameters specific to this model provider. These must be nested inside the providerSettings.alibaba object.
providerSettings.alibaba object.-
providerSettings»alibaba»audioaudio
boolean default: true -
Generate native audio aligned with visual content.
-
providerSettings»alibaba»promptExtendpromptExtend
boolean default: true -
Enable LLM-based prompt rewriting to expand and clarify inputs. Affects reproducibility.
-
providerSettings»alibaba»shotTypeshotType
string default: single -
Shot composition style.
Allowed values 2 values
- Continuous shot without transitions.
- Multiple shots with transitions.
Clockwork Teahouse Rain Atrium
{
"taskType": "videoInference",
"taskUUID": "d9eefe6d-dea6-4eeb-ad7c-43315038bccc",
"model": "alibaba:wan@2.6-flash",
"positivePrompt": "Animate the still image into a gentle continuous scene inside a rain-soaked greenhouse teahouse. Raindrops streak and bead across the glass ceiling, soft ripples spread through shallow puddles on the mosaic floor, steam rises and drifts from the teacups and brass kettles, hanging ferns sway subtly, lantern reflections shimmer on wet tiles, and the white crane makes small natural movements such as blinking, slight head turns, and tiny feather shifts. Preserve the original composition and subject identity with realistic motion, calm atmosphere, and coherent physics. Emphasize fluid camera stability and delicate ambient detail.",
"negativePrompt": "flicker, warped anatomy, sudden camera jumps, duplicated objects, exaggerated motion, blur, low detail, text, watermark, harsh transitions",
"width": 1280,
"height": 720,
"duration": 6,
"seed": 21557,
"providerSettings": {
"alibaba": {
"promptExtend": true,
"audio": true,
"shotType": "single"
}
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/b7b6c7db-6f64-4da0-9033-d676078c8020.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "d9eefe6d-dea6-4eeb-ad7c-43315038bccc",
"videoUUID": "e57a9658-9493-4b56-b5fb-5742b81e2b76",
"videoURL": "https://vm.runware.ai/video/os/a10d08/ws/5/vi/e57a9658-9493-4b56-b5fb-5742b81e2b76.mp4",
"seed": 21557,
"cost": 0.3015
}Saltwind Violin Cliff Procession
{
"taskType": "videoInference",
"taskUUID": "aa65cdd7-7e48-4176-972a-3f8da964cdef",
"model": "alibaba:wan@2.6-flash",
"positivePrompt": "Animate the supplied coastal cliff scene as a fluid continuous shot. The violinist walks carefully forward along the path while bowing the violin, coat tails and hair whipping in strong sea wind. The giant manta-shaped kites pull and sway overhead with believable tether tension, occasionally dipping and catching the air. Grass and wild flowers ripple in layered gusts, gulls wheel in the distance, and the ocean below churns with whitecaps. Subtle camera drift follows the subject from a wide cinematic angle, maintaining composition stability and realistic motion. Sunbeams shift through moving clouds, adding changing highlights across the cliff and sea. Naturalistic, expressive, atmospheric, high detail.",
"negativePrompt": "low detail, jitter, warped anatomy, extra limbs, broken violin, duplicate kites, flicker, oversaturated colors, cartoon look, text, watermark, abrupt cuts, camera shake",
"width": 1920,
"height": 1080,
"duration": 5,
"seed": 54612,
"providerSettings": {
"alibaba": {
"promptExtend": true,
"audio": false,
"shotType": "single"
}
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/cd111977-d68f-43c1-aff8-1b55f27b2f41.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "aa65cdd7-7e48-4176-972a-3f8da964cdef",
"videoUUID": "d5396f8a-478c-4340-8f69-45709af94c82",
"videoURL": "https://vm.runware.ai/video/os/a17d13/ws/5/vi/d5396f8a-478c-4340-8f69-45709af94c82.mp4",
"seed": 54612,
"cost": 0.1875
}Stormglass Atelier Window Tableau
{
"taskType": "videoInference",
"taskUUID": "57364c19-9dee-443f-a853-e7d0ac4e86ee",
"model": "alibaba:wan@2.6-flash",
"positivePrompt": "Transform the supplied atelier image into a fluid short film with multiple connected shots. Begin with subtle rain movement on the windows and swaying hanging glass ornaments, then shift to close details of trembling reflections across the colored vessels, drifting paper sketches, and the faint orange pulse from the stove. Emphasize realistic motion, coherent camera transitions, delicate highlights refracting through handmade glass, gusts of wind implied through small object movement, and a contemplative handcrafted atmosphere. Keep the room structure and object placement stable while introducing elegant cinematic motion and weather-driven ambience synchronized to the provided audio.",
"negativePrompt": "people entering frame, face closeups, heavy object deformation, melting furniture, flicker, abrupt cuts, chaotic camera shake, oversaturated colors, text, watermark, extra tools appearing, broken anatomy, low detail, cartoon style",
"width": 1280,
"height": 720,
"duration": 7,
"seed": 28566,
"providerSettings": {
"alibaba": {
"promptExtend": true,
"audio": true,
"shotType": "multi"
}
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/a7928a5b-0ce6-4480-a0e5-b731ff52721e.jpg",
"frame": "first"
}
],
"audio": "https://assets.runware.ai/assets/inputs/37241565-98e9-47a5-83aa-e40607bcda57.mp3"
}
}{
"taskType": "videoInference",
"taskUUID": "57364c19-9dee-443f-a853-e7d0ac4e86ee",
"videoUUID": "1d3e57eb-b95a-4b2a-bdcf-acf5896322dd",
"videoURL": "https://vm.runware.ai/video/os/a17d13/ws/5/vi/1d3e57eb-b95a-4b2a-bdcf-acf5896322dd.mp4",
"seed": 28566,
"cost": 0.3502
}Windmill Bakery Rooftop Breakfast
{
"taskType": "videoInference",
"taskUUID": "3c4f7172-e9c3-46f7-9efa-d1c93aafd3cf",
"model": "alibaba:wan@2.6-flash",
"positivePrompt": "Animate the supplied still image into a gentle, charming morning scene. The windmill blades rotate steadily, tablecloth edges flutter in a light breeze, steam rises from the teapot, flour dust glimmers in the sunbeams, and the small apron-wearing animals make subtle natural motions such as blinking, turning their heads, kneading dough, and arranging pastries. Add drifting clouds over the distant farmland and soft movement in the grass and flowers. Preserve the original composition and subject structure, with stable forms and believable motion, warm wholesome mood, whimsical realism, rich environmental detail.",
"negativePrompt": "camera shake, warped anatomy, extra limbs, sudden motion, heavy blur, flicker, scene changes, text, watermark, oversaturated colors, distorted faces, duplicate subjects",
"width": 1280,
"height": 720,
"duration": 6,
"seed": 38852,
"providerSettings": {
"alibaba": {
"promptExtend": false,
"audio": true,
"shotType": "single"
}
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/0283ec6d-bffa-4d4e-963a-9e1d7012806b.jpg"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "3c4f7172-e9c3-46f7-9efa-d1c93aafd3cf",
"videoUUID": "ad720b1a-e943-4c7d-a7b9-8480332d4ec2",
"videoURL": "https://vm.runware.ai/video/os/a25d05/ws/5/vi/ad720b1a-e943-4c7d-a7b9-8480332d4ec2.mp4",
"seed": 38852,
"cost": 0.3015
}