Importing Image

I have asked on the site but no one seems to know. If this is not a feature it would be wonderful if it became one in the future. In the AI character chat you can create an image on there similar to creating one from the text to image model, but is there a way to import an image I created from the text to image generator into my AI character Chat? Because it is a random generator I can put in the same prompts but I wont get the same image that I made on the other generator, I have even tried a few different things with trying to input the seed #

eatham,
@eatham@aussie.zone avatar

I can’t understand what you are saying, can you say exactly what you want the site to do?

VioneT,
@VioneT@lemmy.world avatar

Are you referring to adding an Avatar to the character?

You can copy the data:image/jpeg;base64,/… of the image you generated outside of the ai-character-chat and paste it on the Avatar URL box on the character settings to add it.
https://lemmy.world/pictrs/image/3b103e6f-4bd8-42cf-884f-1045e9240a67.png

You can also upload the images in image hosting sites like Imgur, Catbox, etc,. and link the resulting image url (the one with the file extension on the end of the URL like imgur.com/imagename.extension) or upload the image in Perchance Upload and copy the link generated to the input box.

You can also change the ‘prompts’ that are used in the character chat image generation by changing these settings:
https://lemmy.world/pictrs/image/b93cbe1d-ea54-4981-ade1-69b35f74f5bb.png

drakethefirst,

I did figure that part out, but not what I mean. I would like to add a picture inside that character chat that I have already created. There is an image button already there, but it isnt as easy to use as the text to AI generator. I have an image generated there, and I want to pop it into my chat. https://lemmy.world/pictrs/image/cb6950c8-526e-4de0-ad78-44a68e6b99d5.png

VioneT,
@VioneT@lemmy.world avatar

Just to note, the AI cannot parse any image to reply with, so if you are looking for it to reply based on the image you sent, it wouldn’t be able to.

You can add images by adding a <img> element like so:


<span style="color:#323232;"><img src="image.url">
</span>

Where the image URL can be a data object or regular URL.

Also note that if you haven’t set it as a hidden from AI, the long image URL might be added to the AI’s memories.

drakethefirst,

So by using that code, I could add a image just like I add the image to the character chat profile? I copy the image generated url and add it to the code? Sorry I am 100% new to this but want to learn.

VioneT,
@VioneT@lemmy.world avatar

Here is a video demo of it

If you just want to add images, that is the way. You don’t really alter the code, but you just sent the image as a message to the thread.

drakethefirst,

That was the greatest answer I have ever received. That is exactly what I needed to enter an image. 👍

VioneT,
@VioneT@lemmy.world avatar

Just remember that if you have autoreply enabled. It would reply based on what it gathered from the text you have inputted and not the image that is displayed. From the video, I added an URL and it assumed that it was for a video game lmao.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • perchance@lemmy.world
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines