Skip to content

Image-to-Image Generation (--image)

Leverage the power of Distillery's generative models with the --image parameter. Instead of starting from a blank canvas, initiate the generation process from an existing image, letting the model draw inspiration from the given visual to craft something new and mesmerizing.

How To Use

Using the --image parameter is straightforward. Here's a step-by-step guide:

Step 1: Image Selection

Choose an image. This can be one that you've previously generated using Distillery or any other image of your choice.

Note: If you're utilizing an external image, proceed to upload it to the Distillery Discord.

Input Image

Step 2: Upload to Discord

Drag and drop your chosen image into the Distillery Discord chat, be it a channel or a direct message with the bot.

Image Upload

Step 3: Copy Image URL

Open the uploaded image in a browser window and copy its URL.

Copy URL

Step 4: Crafting the Command

Combine the regular /serve (or /serve-free) command, your desired prompt, and the --image parameter with the copied URL.

/serve prompt: old bartender in the bar with a long beard --seed 123 --image

Step 5: Witness the Transformation

After sending the command, be patient as the model works its magic. The final image will be deeply influenced by the initial input, merging the prompt's guidance with the source image's essence.

Generated Result



Aspect Ratio Alignment: For optimal results with the --image command, ensure your source image's aspect ratio aligns with the target output.


Progressive Refinement: Repeatedly applying the image-to-image generation can enhance nuances and correct imperfections, producing increasingly refined visuals.

Under the Hood

normally stable diffusion starts from the empty canvas, adds noise, and then removes the noise in a way that generates an image. In this case, instead of starting from an empty canvas, it starts from an existing image, and then repeats all the other steps.