Tuesday, January 28, 2025

Mini-Tutorial for Leonardo.Ai: How to add a specific object to a picture

r/leonardoai - Mini-Tutorial: How to add a specific object to a character

One of the most asked questions probably is: how can I add a specific object to a picture?
For example: make a warrior wield a sword, give a cyborg a laser gun, make a detective hold a looking glass, and so on.

Because the issue is: it *sometimes* works with "prompting", but if you try to add multiple objects (e.g. "draw a cyborg with bionic eyes wielding a stun gun while holding a plasma shield and having energy armor surrounding the exoskeleton and... and... and..." ) it's likely that some of these objects might be missing in the final cut.

But there are easy ways to fix it!
So... here is a mini-tutorial.

In this example, we want to give a cool and street-smart hacker a high tech virtual reality headset.

1: Create image of the person with Leonardo

r/leonardoai - Mini-Tutorial: How to add a specific object to a character
2: Create image of a Virtual Reality headset with Leonardo

I guess you could real time canvas from this point on, but as some people might not be familiar with it:

3: I fire up an image editor app and cut&paste the headset on our fashionable hacker.

r/leonardoai - Mini-Tutorial: How to add a specific object to a character
This can be done in a crude and imperfect way (note that the headset does not really "align" with the head).
It doesn't matter, because now we log into Leonardo again and

4: Go to image guidance, select "image to image", and upload the edited image.

5: Use the same prompt that we used to generate the first picture, but add "with a virtual reality headset" to the prompt.

By adjusting the percentage setting in "image to image" you can change how close to the original image the output should be. If you want some variation, set it low. Otherwise, use a high setting.

6: VoilĂ ! We are finished.

r/leonardoai - Mini-Tutorial: How to add a specific object to a character
Of course you "stack" object this way, by doing the same routine again and again, adding a new object each time (e.g. first a headset, then a keyboard, joystick, tattoo, different shirt, and so on...)

Here are two more examples with different generations, and different "image adherence" settings.

r/leonardoai - Mini-Tutorial: How to add a specific object to a character
r/leonardoai - Mini-Tutorial: How to add a specific object to a character
Any questions left?

No comments:

Post a Comment