zsxkib
/
prototype-model
A test model
- Public
- 709 runs
-
A100 (80GB)
Run zsxkib/prototype-model 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 |
---|---|---|---|
prompt |
string
|
|
The text prompt describing your video scene.
|
lora_url |
string
|
|
A URL pointing to your LoRA .safetensors file or a Hugging Face repo (e.g. 'user/repo' - uses the first .safetensors file).
|
lora_strength |
number
|
1
Min: -10 Max: 10 |
Scale/strength for your LoRA.
|
scheduler |
string
(enum)
|
DPMSolverMultistepScheduler
Options: FlowMatchDiscreteScheduler, SDE-DPMSolverMultistepScheduler, DPMSolverMultistepScheduler, SASolverScheduler, UniPCMultistepScheduler |
Algorithm used to generate the video frames.
|
steps |
integer
|
50
Min: 1 Max: 150 |
Number of diffusion steps.
|
guidance_scale |
number
|
6
Max: 30 |
Overall influence of text vs. model.
|
flow_shift |
integer
|
9
Max: 20 |
Video continuity factor (flow).
|
num_frames |
integer
|
33
Min: 1 Max: 1440 |
How many frames (duration) in the resulting video.
|
width |
integer
|
640
Min: 64 Max: 1536 |
Width for the generated video.
|
height |
integer
|
360
Min: 64 Max: 1024 |
Height for the generated video.
|
denoise_strength |
number
|
1
Max: 2 |
Controls how strongly noise is applied each step.
|
force_offload |
boolean
|
True
|
Whether to force model layers offloaded to CPU.
|
frame_rate |
integer
|
16
Min: 1 Max: 60 |
Video frame rate.
|
crf |
integer
|
19
Max: 51 |
CRF (quality) for H264 encoding. Lower values = higher quality.
|
enhance_weight |
number
|
0.3
Max: 2 |
Strength of the video enhancement effect.
|
enhance_single |
boolean
|
True
|
Apply enhancement to individual frames.
|
enhance_double |
boolean
|
True
|
Apply enhancement across frame pairs.
|
enhance_start |
number
|
0
Max: 1 |
When to start enhancement in the video. Must be less than enhance_end.
|
enhance_end |
number
|
1
Max: 1 |
When to end enhancement in the video. Must be greater than enhance_start.
|
seed |
integer
|
Set a seed for reproducibility. Random by default.
|
{
"type": "object",
"title": "Input",
"properties": {
"crf": {
"type": "integer",
"title": "Crf",
"default": 19,
"maximum": 51,
"minimum": 0,
"x-order": 13,
"description": "CRF (quality) for H264 encoding. Lower values = higher quality."
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 19,
"description": "Set a seed for reproducibility. Random by default."
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 50,
"maximum": 150,
"minimum": 1,
"x-order": 4,
"description": "Number of diffusion steps."
},
"width": {
"type": "integer",
"title": "Width",
"default": 640,
"maximum": 1536,
"minimum": 64,
"x-order": 8,
"description": "Width for the generated video."
},
"height": {
"type": "integer",
"title": "Height",
"default": 360,
"maximum": 1024,
"minimum": 64,
"x-order": 9,
"description": "Height for the generated video."
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 0,
"description": "The text prompt describing your video scene."
},
"lora_url": {
"type": "string",
"title": "Lora Url",
"default": "",
"x-order": 1,
"description": "A URL pointing to your LoRA .safetensors file or a Hugging Face repo (e.g. 'user/repo' - uses the first .safetensors file)."
},
"scheduler": {
"enum": [
"FlowMatchDiscreteScheduler",
"SDE-DPMSolverMultistepScheduler",
"DPMSolverMultistepScheduler",
"SASolverScheduler",
"UniPCMultistepScheduler"
],
"type": "string",
"title": "scheduler",
"description": "Algorithm used to generate the video frames.",
"default": "DPMSolverMultistepScheduler",
"x-order": 3
},
"flow_shift": {
"type": "integer",
"title": "Flow Shift",
"default": 9,
"maximum": 20,
"minimum": 0,
"x-order": 6,
"description": "Video continuity factor (flow)."
},
"frame_rate": {
"type": "integer",
"title": "Frame Rate",
"default": 16,
"maximum": 60,
"minimum": 1,
"x-order": 12,
"description": "Video frame rate."
},
"num_frames": {
"type": "integer",
"title": "Num Frames",
"default": 33,
"maximum": 1440,
"minimum": 1,
"x-order": 7,
"description": "How many frames (duration) in the resulting video."
},
"enhance_end": {
"type": "number",
"title": "Enhance End",
"default": 1,
"maximum": 1,
"minimum": 0,
"x-order": 18,
"description": "When to end enhancement in the video. Must be greater than enhance_start."
},
"enhance_start": {
"type": "number",
"title": "Enhance Start",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 17,
"description": "When to start enhancement in the video. Must be less than enhance_end."
},
"force_offload": {
"type": "boolean",
"title": "Force Offload",
"default": true,
"x-order": 11,
"description": "Whether to force model layers offloaded to CPU."
},
"lora_strength": {
"type": "number",
"title": "Lora Strength",
"default": 1,
"maximum": 10,
"minimum": -10,
"x-order": 2,
"description": "Scale/strength for your LoRA."
},
"enhance_double": {
"type": "boolean",
"title": "Enhance Double",
"default": true,
"x-order": 16,
"description": "Apply enhancement across frame pairs."
},
"enhance_single": {
"type": "boolean",
"title": "Enhance Single",
"default": true,
"x-order": 15,
"description": "Apply enhancement to individual frames."
},
"enhance_weight": {
"type": "number",
"title": "Enhance Weight",
"default": 0.3,
"maximum": 2,
"minimum": 0,
"x-order": 14,
"description": "Strength of the video enhancement effect."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 6,
"maximum": 30,
"minimum": 0,
"x-order": 5,
"description": "Overall influence of text vs. model."
},
"denoise_strength": {
"type": "number",
"title": "Denoise Strength",
"default": 1,
"maximum": 2,
"minimum": 0,
"x-order": 10,
"description": "Controls how strongly noise is applied each step."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}