Skip to main content
Skip to main content

Drupal AI

Finetune Stable Diffusion

Fine-tune Stable Diffusion on your own images from the Drupal UI, then generate new images with the model through the AI Interpolator.

About this video

This video will showcase how you can use Drupal as your end-to-end shop for taking a Stable Diffusion (text-to-image) model, fine-tuning it with a concept, like your own face for instance, and reusing that for generation. All done in Drupal. No Python or scripting is needed!

This opens up a whole new world of personalization for you and your company. These models can then be used either to generate via the inference endpoints on Hugging Face, or you can download them to other providers or run them completely locally.

The two services you need are Hugging Face (free) for hosting the model and inference, and Runpod to host GPU machines with enough juice to fine-tune.

The price for an SD 1.4 model is around $0.5 and for an SD 2 model $1.

If you sign up for Runpod and like my videos, please use the following link so I can get access to more credits to play around with even more.

Links:
Drupal Hugging Face module: https://www.drupal.org/project/huggingface
Test my generated AirPods model: https://huggingface.co/ivanboring/airpods
Runpod to credit me: https://github.com/ivanboring/drupal-dreambooth-finetune
Docker Hub: https://hub.docker.com/r/ivanboring/drupal-dreambooth-finetune
Repo for Docker: https://github.com/ivanboring/drupal-dreambooth-finetune
Hugging Face: https://huggingface.co/

This video is from before the AI Interpolator module became AI Automators, part of the AI module. Module and menu names have changed since, and some steps look different today.

Watch the video

0:00

Transcript

YouTube's automatic captions, lightly corrected. Click a line to jump to that moment in the video.

Chapters

Updated 2 min read

Other ways to consume this

Filed under Workflows Drupal AI
AI modified

Parts of this content were produced by AI.

How was AI used?

The video and the introduction are Marcus's own, first published on workflows-of-ai.com. AI wrote the subtitle, the summary and the video chapters from the transcript, and corrected misheard names in YouTube's automatic captions.