Picsart API Platform
← All models

Wan 3.0

Wan · Video · Text → Video

Wan 3.0 all-in-one — text, image/video/audio references, and start/end frames with adaptive ratio, intelligent duration, and audio.

Model ID: wan-3.0-videoWorkflow: wan/v3/video
Image InputVideo InputAudioStart/End Frame1080PAdaptive Ratio
Try on Playground ↗

Install the SDK

The SDK targets Node 20+ and ships with TypeScript types.

npm
npm install @picsart/ai-sdk

Authenticate

Create a client once with your API key — it's sent as a bearer token on every request.

TypeScript
import { createClient } from '@picsart/ai-sdk';

const ai = createClient({
  apiKey: process.env.PICSART_API_KEY, // sent as: Authorization: Bearer <key>
  apiUrl: 'https://api.picsart.com',
});

Run the model

Call the model with its parameters. This example uses the required ones.

TypeScript
import { createClient } from '@picsart/ai-sdk';

const ai = createClient({
  apiKey: process.env.PICSART_API_KEY,
  apiUrl: 'https://api.picsart.com',
});

const result = await ai.generate('wan-3.0-video', {
  prompt: "A serene mountain lake at golden hour, ultra detailed",
  duration: 5,
  resolution: "1080P",
  aspectRatio: "16:9"
});

console.log(result.url); // video URL

Parameters

13 parameters. Required ones must be supplied; the rest fall back to their defaults. The API takes these same names over HTTP.

ParameterTypeRequiredDefaultDetails
prompt
Prompt
textyes
durationenumno55, 10, 15, 30
resolutionenumno1080P480P, 720P, 1080P
aspectRatioenumno16:916:9, 9:16, 1:1, 4:3, 3:4, adaptive
generateAudiobooleannotrue
startFrame
Start Frame
file (image)no
endFrame
End Frame
file (image)no
imageUrls
Reference Images
file (image[])no
videoUrls
Reference Videos
file (video[])no
audioUrls
Reference Audios
file (audio[])no
enableThinking
Deep Thinking
booleannofalse
watermark
Watermark
booleannofalse
seed
Seed
rangeno00–2147483647

Output

generate() resolves once the job completes. A video URL.

Result
{
  "url": "https://cdn.picsart.com/…/result",
  "results": [
    {
      "url": "https://cdn.picsart.com/…/result"
    }
  ],
  "model": "wan-3.0-video"
}