brandonwsaw
/
cog-animatediff
- Public
- 348 runs
Run brandonwsaw/cog-animatediff 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 |
---|---|---|---|
width |
integer
|
512
|
Width of output image
|
height |
integer
|
512
|
Height of output image
|
video_length |
integer
|
16
|
Total number of frames
|
motion_module |
string
(enum)
|
mm_sd_v14
Options: mm_sd_v14, mm_sd_v15, mm_sd_v15_v2 |
Select a Motion Model
|
path |
string
(enum)
|
meinamix_meinaV11.safetensors
Options: AnythingV5Ink_ink.safetensors, toonyou_beta3.safetensors, meinamix_meinaV11.safetensors |
Select a Module
|
scheduler |
string
(enum)
|
DPM
Options: EulerA, Euler, DDIM, DPM |
Select a Scheduler
|
prompt |
string
|
Wizard mysterous man Mystical energy springs, Glowing and pulsating with power, Ancient runes and symbols, Rumors spreading among magic users dark necromancer
|
Input prompt
|
n_prompt |
string
|
(worst quality, low quality: 1.4)
|
Negative prompt
|
steps |
integer
|
20
Min: 1 Max: 100 |
Number of inference steps
|
guidance_scale |
number
|
8
Min: 1 Max: 30 |
guidance scale
|
seed |
integer
|
Seed (0 = random, maximum: 2147483647)
|
{
"type": "object",
"title": "Input",
"properties": {
"path": {
"enum": [
"AnythingV5Ink_ink.safetensors",
"toonyou_beta3.safetensors",
"meinamix_meinaV11.safetensors"
],
"type": "string",
"title": "path",
"description": "Select a Module",
"default": "meinamix_meinaV11.safetensors",
"x-order": 4
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 10,
"description": "Seed (0 = random, maximum: 2147483647)"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 20,
"maximum": 100,
"minimum": 1,
"x-order": 8,
"description": "Number of inference steps"
},
"width": {
"type": "integer",
"title": "Width",
"default": 512,
"x-order": 0,
"description": "Width of output image"
},
"height": {
"type": "integer",
"title": "Height",
"default": 512,
"x-order": 1,
"description": "Height of output image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "Wizard mysterous man Mystical energy springs, Glowing and pulsating with power, Ancient runes and symbols, Rumors spreading among magic users dark necromancer",
"x-order": 6,
"description": "Input prompt"
},
"n_prompt": {
"type": "string",
"title": "N Prompt",
"default": "(worst quality, low quality: 1.4)",
"x-order": 7,
"description": "Negative prompt"
},
"scheduler": {
"enum": [
"EulerA",
"Euler",
"DDIM",
"DPM"
],
"type": "string",
"title": "scheduler",
"description": "Select a Scheduler",
"default": "DPM",
"x-order": 5
},
"video_length": {
"type": "integer",
"title": "Video Length",
"default": 16,
"x-order": 2,
"description": "Total number of frames"
},
"motion_module": {
"enum": [
"mm_sd_v14",
"mm_sd_v15",
"mm_sd_v15_v2"
],
"type": "string",
"title": "motion_module",
"description": "Select a Motion Model",
"default": "mm_sd_v14",
"x-order": 3
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 8,
"maximum": 30,
"minimum": 1,
"x-order": 9,
"description": "guidance scale"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}