liyangbing/wan-2.1

Public
5 runs

Run liyangbing/wan-2.1 with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
task
None
t2v-1.3B
Task type
prompt
string
Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage.
Input prompt
image
string
Input image for image-to-video task
size
None
832*480
Output size
sample_steps
integer

Min: 30

Max: 50

Number of sampling steps (30-50, default is 40 for i2v and 50 for t2v)
sample_shift
number

Min: 2

Max: 5

Sample shift parameter (2.0-5.0, use 2.0-3.0 for 480p)
cfg_scale
number
7.5

Min: 1

Max: 15

Classifier-free guidance scale (1.0-15.0)
seed
integer
Random seed

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}