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)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}