← CookbookView source on GitHub ↗

Create Fun images Using LORA Adapters on Token Factory

Overview

You can use LoRA adapters directly in the Nebius Token Factory UI. This guide shows how to plug in a LoRA and make cool, themed images.

Watch the video

LORA images

Pre-Requisites

Quick start

1 - Select a model

2 - Using a LORA Adapter

A great place to find LoRA adapters is civitai.com

To use a LORA adapter, you’ll need two things:

If the trigger word is XYZ, your prompt might look like:

XYZ a cat wearing sun glasses

See the screenshot below for where to find the URL and trigger word on Civitai.

Some fun adapters to try:

3 - Example: Star wars JEDI theme.

Prompt:

Jedioutfit create a birthday card of a kid saying "happy birthday"

Here is how we plug in the values:

Here are the generated image.

Pretty cool, eh?!

4 - Example: 'simpsons' style

Prompt:

bart_simpsons create a birthday card of a kid saying "happy birthday"

And here are couple of images generated:


Example 2

1 - Start with a simple prompt.

Prompt:

an orange cat with a surf board

2 - Lego LORA

Prompt:

lego_minifigure an orange cat with a surf board

Have fun!

Dev Notes

Combine multiple images with ImageMagick (convert):

## side by side
convert image1.jpg image2.jpg image3.jpg +append combined_horizontal.jpg

## vertically
convert image1.jpg image2.jpg image3.jpg -append combined_vertical.jpg

## Grid layout (2x2 example)
convert image1.jpg image2.jpg image3.jpg image4.jpg -resize 500x500 \( image1.jpg image2.jpg +append \) \( image3.jpg image4.jpg +append \) -append grid.jpg

Tip: If convert isn’t found, install ImageMagick first (e.g., brew install imagemagick on macOS).