Stable Diffusion Turbo Pipeline

A Lightweight Stable Diffusion Module for Lilypad

These instructions provide steps for running the SDXL Turbo Pipeline module on the Lilypad network using Docker and Lilypad CLI. Find the module repo here.

Getting Started

Prerequisites

Before running sdxl turbo, 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.

export WEB3_PRIVATE_KEY=<YOUR_PRIVATE_KEY>

Learn more about installing the Lilypad CLI and running a Lilypad job with this video guide.

Run SDXL Turbo

lilypad run github.com/noryev/module-sdxl-ipfs:ae17e969cadab1c53d7cabab1927bb403f02fd2a -i prompt="your prompt here"

Example:

lilypad run github.com/noryev/module-sdxl-ipfs:ae17e969cadab1c53d7cabab1927bb403f02fd2a -i prompt="a spaceship parked on mountain"

Notes

  • Ensure you have the necessary permissions and resources to run Docker containers with GPU support.

  • The module version (ae17e969cadab1c53d7cabab1927bb403f02fd2a) may be updated. Check for the latest version before running.

  • Adjust port mappings and volume mounts as needed for your specific setup.

SDXL Output

To view the results in a local directory, navigate to the local folder.

open /tmp/lilypad/data/downloaded-files/<fileID>

In the /outputs folder, you'll find the image:

To view the results on IPFS, navigate to the IPFS CID result output.

Last updated

Logo