v1/animate-diffusion
Animate an image
API key
Create your account on RandomSeed & grab your api key
Headers
Your API key. This is required by most endpoints to access our API programatically. You can get your api key by clicking on ‘API reference’ tab under your profile icon.
Body
This is the text prompt to specify the things you want to see in a generated video. You can use loras to control the camera’s direction. You can activate it by adding <lora:LORA_NAME:weight>
at the front of your prompt. Here’s a list of all the supported loras.
This is the text prompt describing what you don’t want to see in the video.
This is the width of the video
This is the height of the video
This is the number of the denoising steps used by the AI model when generating a video from the text prompt. A higher number results in a longer generation time, and does not necessarily guarantee higher video quality.
This is the number of the number you specify to control how closely AI model should follow the text prompt. 7 or 7.5 usually works best. You can increase the value if the generated video doesn’t match your prompt. Increment it by 0.5.
This is the name of the sampler method you will be using to generate a video. Video output varies slightly depending on the method. You can pick one of the following methods
Specify the name of the base model you’d like to use. You can find the model names here
Name of the motion model you’d like to use to animate. You can find the model names here
Frames per second. 8 is recommended. You can increase the length of the video by lowering fps.
Format of the video. Available values: MP4
.
Length of the video. 0-24
for mm_sd_v14.ckpt
, mm_sd_v15.ckpt
and 0-32
for mm_sd_v15_v2.ckpt
. Total length of the video will be determined by video_length / fps.
This is the callback url where you want to receive your response.
You can specify any value here to track the request that’s received on your webhook’s end.
This is the value that determines the output of a random number generator. You can get ALMOST the same image if you provide the same parameters and the seed.
Response
animate diffusion in progress