anotherjesse
/
vid2vid-protototype
- Public
- 173 runs
Run anotherjesse/vid2vid-protototype 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
|
An astronaut riding a horse
|
Input prompt
|
negative_prompt |
string
|
Negative prompt
|
|
init_video |
string
|
URL of the initial video (optional)
|
|
init_weight |
number
|
0.5
|
Strength of init_video
|
num_frames |
integer
|
24
|
Number of frames for the output video
|
num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
width |
integer
|
576
Min: 256 |
Width of the output video
|
height |
integer
|
320
Min: 256 |
Height of the output video
|
guidance_scale |
number
|
7.5
Min: 1 Max: 100 |
Guidance scale
|
fps |
integer
|
8
|
fps for the output video
|
model |
string
(enum)
|
xl
Options: xl, 576w, potat1 |
Model to use
|
batch_size |
integer
|
1
Min: 1 |
Batch size
|
remove_watermark |
boolean
|
False
|
Remove watermark
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
{
"type": "object",
"title": "Input",
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 8,
"x-order": 9,
"description": "fps for the output video"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 13,
"description": "Random seed. Leave blank to randomize the seed"
},
"model": {
"enum": [
"xl",
"576w",
"potat1"
],
"type": "string",
"title": "model",
"description": "Model to use",
"default": "xl",
"x-order": 10
},
"width": {
"type": "integer",
"title": "Width",
"default": 576,
"minimum": 256,
"x-order": 6,
"description": "Width of the output video"
},
"height": {
"type": "integer",
"title": "Height",
"default": 320,
"minimum": 256,
"x-order": 7,
"description": "Height of the output video"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "An astronaut riding a horse",
"x-order": 0,
"description": "Input prompt"
},
"batch_size": {
"type": "integer",
"title": "Batch Size",
"default": 1,
"minimum": 1,
"x-order": 11,
"description": "Batch size"
},
"init_video": {
"type": "string",
"title": "Init Video",
"format": "uri",
"x-order": 2,
"description": "URL of the initial video (optional)"
},
"num_frames": {
"type": "integer",
"title": "Num Frames",
"default": 24,
"x-order": 4,
"description": "Number of frames for the output video"
},
"init_weight": {
"type": "number",
"title": "Init Weight",
"default": 0.5,
"x-order": 3,
"description": "Strength of init_video"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 100,
"minimum": 1,
"x-order": 8,
"description": "Guidance scale"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"x-order": 1,
"description": "Negative prompt"
},
"remove_watermark": {
"type": "boolean",
"title": "Remove Watermark",
"default": false,
"x-order": 12,
"description": "Remove watermark"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 50,
"maximum": 500,
"minimum": 1,
"x-order": 5,
"description": "Number of denoising steps"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}