You're looking at a specific version of this model. Jump to the model overview.

fofr /wan2.1-with-lora:ca269ecc

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
prompt
string
Text prompt for video generation
negative_prompt
string
Things you do not want to see in your video
aspect_ratio
string (enum)
16:9

Options:

16:9, 9:16, 1:1

The aspect ratio of the video. 16:9, 9:16, 1:1, etc.
frames
integer (enum)
81

Options:

17, 33, 49, 65, 81

The number of frames to generate (1 to 5 seconds)
model
string (enum)
14b

Options:

1.3b, 14b

The model to use. 1.3b is faster, but 14b is better quality. A LORA either works with 1.3b or 14b, depending on the version it was trained on.
lora_url
string
Optional: The URL of a LORA to use
lora_strength_model
number
1
Strength of the LORA applied to the model. 0.0 is no LORA.
lora_strength_clip
number
1
Strength of the LORA applied to the CLIP model. 0.0 is no LORA.
fast_mode
string (enum)
Balanced

Options:

Off, Balanced, Fast

Speed up generation with different levels of acceleration. Faster modes may degrade quality somewhat. The speedup is dependent on the content, so different videos may see different speedups.
sample_steps
integer
30

Min: 1

Max: 60

Number of generation steps. Fewer steps means faster generation, at the expensive of output quality. 30 steps is sufficient for most prompts
sample_guide_scale
number
5

Max: 10

Higher guide scale makes prompt adherence better, but can reduce variation
sample_shift
number
8

Max: 10

Sample shift factor
seed
integer
Set a seed for reproducibility. Random by default.

Output schema

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

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}