2
Importing Image (lemmy.world)

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 #

top 8 comments
sorted by: hot top controversial new old
[-] VioneT@lemmy.world 2 points 6 months ago

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.

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:

[-] drakethefirst@lemmy.world 1 points 6 months ago

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.

[-] VioneT@lemmy.world 1 points 6 months ago

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:

<img src="image.url">

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@lemmy.world 1 points 6 months ago

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@lemmy.world 3 points 6 months ago

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@lemmy.world 1 points 6 months ago

That was the greatest answer I have ever received. That is exactly what I needed to enter an image. ๐Ÿ‘

[-] VioneT@lemmy.world 1 points 6 months ago

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.

[-] eatham@aussie.zone 1 points 6 months ago

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

this post was submitted on 17 May 2024
2 points (100.0% liked)

Perchance - Create a Random Text Generator

449 readers
11 users here now

โš„๏ธŽ Perchance

This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.

Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)

This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.

See this post for the Complete Guide to Posting Here on the Community!

Rules

1. Please follow the Lemmy.World instance rules.

2. Be kind and friendly.

  • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. Search through the Community Before Posting.

  • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

founded 1 year ago
MODERATORS