
lightweight-ai / vmodel8_0
- Public
- 3 runs
Run lightweight-ai/vmodel8_0 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 |
---|---|---|---|
input_image |
string
|
Initial image for video generation.
|
|
prompt |
string
|
Text prompt describing the desired video content.
|
|
negative_prompt |
string
|
|
Text prompt specifying elements to avoid in the video.
|
seed |
integer
|
Random seed for reproducible results. Leave blank for a random seed.
|
|
total_video_length_seconds |
number
|
3
Min: 1 Max: 10 |
Total video length in seconds. Max 10s is recommended for API stability and performance.
|
latent_window_size |
integer
|
9
Min: 1 Max: 16 |
Size of latent window (video chunk) for progressive generation. Default (9) is tuned for the model.
|
steps |
integer
|
25
Min: 1 Max: 50 |
Number of diffusion steps per video segment. More steps can increase detail but take longer; fewer steps are faster but may reduce quality.
|
cfg_scale |
number
|
1
Min: 1 Max: 32 |
Classifier-Free Guidance scale. Higher values enforce stronger prompt adherence; lower values encourage more creativity.
|
distilled_cfg_scale |
number
|
10
Min: 1 Max: 32 |
Distilled CFG scale. Similar to `cfg_scale`, influences prompt adherence for the model's distilled components.
|
cfg_rescale |
number
|
0
Max: 1 |
Guidance rescale factor (0.0-1.0). Helps prevent oversaturation at high CFG values; 0.0 to disable.
|
use_teacache |
boolean
|
True
|
Enable TeaCache for potentially faster inference (may slightly alter results).
|
mp4_crf |
integer
|
23
Max: 51 |
MP4 Constant Rate Factor (0-51). Lower values mean better video quality and larger file size; ~23 is a good balance.
|
{
"type": "object",
"title": "Input",
"required": [
"input_image",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 3,
"description": "Random seed for reproducible results. Leave blank for a random seed."
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 25,
"maximum": 50,
"minimum": 1,
"x-order": 6,
"description": "Number of diffusion steps per video segment. More steps can increase detail but take longer; fewer steps are faster but may reduce quality."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Text prompt describing the desired video content."
},
"mp4_crf": {
"type": "integer",
"title": "Mp4 Crf",
"default": 23,
"maximum": 51,
"minimum": 0,
"x-order": 11,
"description": "MP4 Constant Rate Factor (0-51). Lower values mean better video quality and larger file size; ~23 is a good balance."
},
"cfg_scale": {
"type": "number",
"title": "Cfg Scale",
"default": 1,
"maximum": 32,
"minimum": 1,
"x-order": 7,
"description": "Classifier-Free Guidance scale. Higher values enforce stronger prompt adherence; lower values encourage more creativity."
},
"cfg_rescale": {
"type": "number",
"title": "Cfg Rescale",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 9,
"description": "Guidance rescale factor (0.0-1.0). Helps prevent oversaturation at high CFG values; 0.0 to disable."
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "Initial image for video generation."
},
"use_teacache": {
"type": "boolean",
"title": "Use Teacache",
"default": true,
"x-order": 10,
"description": "Enable TeaCache for potentially faster inference (may slightly alter results)."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 2,
"description": "Text prompt specifying elements to avoid in the video."
},
"latent_window_size": {
"type": "integer",
"title": "Latent Window Size",
"default": 9,
"maximum": 16,
"minimum": 1,
"x-order": 5,
"description": "Size of latent window (video chunk) for progressive generation. Default (9) is tuned for the model."
},
"distilled_cfg_scale": {
"type": "number",
"title": "Distilled Cfg Scale",
"default": 10,
"maximum": 32,
"minimum": 1,
"x-order": 8,
"description": "Distilled CFG scale. Similar to `cfg_scale`, influences prompt adherence for the model's distilled components."
},
"total_video_length_seconds": {
"type": "number",
"title": "Total Video Length Seconds",
"default": 3,
"maximum": 10,
"minimum": 1,
"x-order": 4,
"description": "Total video length in seconds. Max 10s is recommended for API stability and performance."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}