Stable Diffusion Video (SDV1.0 & 1.1)
Run a Stable Diffusion Text to Video Job
Overview
Based on ComfyUI, the SDV Pipeline modules for Lilypad allow you generate videos from text prompts on Lilypad using Stable Diffusion Video and related models.
The SDV Pipeline modules are designed to take your text prompt, generate a still frame using SDXL, then use that as the input to the SDV model, producing an APNG (animated PNG), WebP video, and an MP4 video all in one go.
Getting Started
Prerequisites
Before running sdv
, make sure you have the Lilypad CLI installed on your machine and your private key environment variable is set. This is necessary for operations within the Lilypad network.
Running SDV v1.0 or 1.1
To run SDV v1.0 or 1.1 Pipeline in Lilypad, you can use the following commands:
SDV 1.0
SDV 1.1
SDV Output
To view the results in a local directory, navigate to the local folder.
To view the results on IPFS, navigate to the IPFS CID result output.
Please be patient! IPFS can take some time to propagate and doesn't always work immediately.
As Lilypad modules are currently deterministic, running this command with the same text prompt will produce the same image, since the same seed is also used (the default seed is 0).
Tuning an output
If you wish to specify more than one tunable, such as the number of steps, simply add more -i
flags. For example, to change or improve the quality of the image generated add "Steps=x" with x = (min: 5. Max: 200):
See the options and tunables section for more information on what tunables are available.
See this beginner-friendly article on how seeds work for more info on this
Options and tunables
The following tunables are available. All of them are optional, and have default settings that will be used if you do not provide them.
Name | Description | Default | Available options |
---|---|---|---|
| A text prompt for the model | "question mark floating in space" | Any string |
| The framerate of the video | 8 | Any valid positive integer between 1 and 20 |
| A seed for the image model | 42 | Any valid non-negative integer |
| The number of steps to run the model for | 50 | Any valid non-negative integer from 5 to 200 inclusive |
| The scheduler to use for the model |
|
|
| The sampler to use for the model |
|
|
| How many images to produce |
|
|
| A seed for the video model | 42 | Any valid non-negative integer |
| The number of steps to run the video model for | 50 | Any valid non-negative integer from 5 to 70 inclusive |
| The scheduler to use for the video model |
|
|
| The sampler to use for the video model |
|
|
Learn more about this Lilypad module on Github.
Last updated