charlesmccarthy
/
motiontest
- Public
- 5.5K runs
Run charlesmccarthy/motiontest 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
|
Input image
|
|
video_length |
string
(enum)
|
14_frames_with_svd
Options: 14_frames_with_svd, 25_frames_with_svd_xt |
Use svd to generate 14 frames or svd_xt for 25 frames
|
sizing_strategy |
string
(enum)
|
maintain_aspect_ratio
Options: maintain_aspect_ratio, crop_to_16_9, use_image_dimensions |
Decide how to resize the input image
|
frames_per_second |
integer
|
6
Min: 5 Max: 30 |
Frames per second
|
motion_bucket_id |
integer
|
127
Min: 1 Max: 255 |
Increase overall motion in the generated video
|
cond_aug |
number
|
0.02
|
Amount of noise to add to input image
|
decoding_t |
integer
|
14
|
Number of frames to decode at a time
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 7,
"description": "Random seed. Leave blank to randomize the seed"
},
"cond_aug": {
"type": "number",
"title": "Cond Aug",
"default": 0.02,
"x-order": 5,
"description": "Amount of noise to add to input image"
},
"decoding_t": {
"type": "integer",
"title": "Decoding T",
"default": 14,
"x-order": 6,
"description": "Number of frames to decode at a time"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"video_length": {
"enum": [
"14_frames_with_svd",
"25_frames_with_svd_xt"
],
"type": "string",
"title": "video_length",
"description": "Use svd to generate 14 frames or svd_xt for 25 frames",
"default": "14_frames_with_svd",
"x-order": 1
},
"sizing_strategy": {
"enum": [
"maintain_aspect_ratio",
"crop_to_16_9",
"use_image_dimensions"
],
"type": "string",
"title": "sizing_strategy",
"description": "Decide how to resize the input image",
"default": "maintain_aspect_ratio",
"x-order": 2
},
"motion_bucket_id": {
"type": "integer",
"title": "Motion Bucket Id",
"default": 127,
"maximum": 255,
"minimum": 1,
"x-order": 4,
"description": "Increase overall motion in the generated video"
},
"frames_per_second": {
"type": "integer",
"title": "Frames Per Second",
"default": 6,
"maximum": 30,
"minimum": 5,
"x-order": 3,
"description": "Frames per second"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}