Heyo everyone, recently found perchance and have been pretty amazed by it. Been using the AI Character Chat generator. I’m not too well versed in editing code, so some of these things go above my head, but I was wondering if there was a way to have the /image button function to include a specific art style while still using the description of the chat as to generate the scene?

I made a makeshift work around by creating a shortcut that has a general description of the character and I’ve found simply including the words " art by Ilya Kuvshinov, Kantoku art, very detailed anime art by Redjuice." produces the style I want , which is all fine, but I’d really prefer the shortcut also depicting the scene.

Would love any help on the issue!

  • allo
    link
    English
    2
    edit-2
    9 months ago

    sounds like you have an avenue in to coding :)

    I’m going to think you have something like this you are looking at: https://perchance.org/ahfyy52y5c which is a near replica of the generator i found on google that got me in to perchance. Tho hints in your text indicate you may be working off something worse idk

    anyway, click Edit, then see in that wall of text on the left where it says:

      imageOptions // <-- options for the text-to-image plugin that generates the images: https://perchance.org/text-to-image-plugin
        saveTitle = ([input.artStyle.getName]) [input.description] // .getName is a built-in Perchance property that gets the name of a given list/sublist/node
        prompt = [input.artStyle.prompt], natural beauty, [input.mystyle]
        negativePrompt = [input.artStyle.negative], ugly, amputee, deformed, [input.mynegative]
        resolution = [input.shape]
        guidanceScale = [input.accuracy]
    

    that imageOptions is what we feed in to the image. Look at how the prompt is [input.artStyle.prompt], natural beauty, [input.mystyle]. You could add " art by Ilya Kuvshinov, Kantoku art, very detailed anime art by Redjuice". Thus changing the line to: [input.artStyle.prompt], natural beauty, [input.mystyle], art by Ilya Kuvshinov, Kantoku art, very detailed anime art by Redjuice Then, every time that image is updated, it will naturally include " art by Ilya Kuvshinov, Kantoku art, very detailed anime art by Redjuice"

    If the generator you are working with isn’t like this, my advice is to post a link to it and someone will help.

  • @MailboxJunkieOP
    link
    English
    29 months ago

    Heya, thanks for the reply! Unfortunately, I use a different generator, I tried click Edit, and used ctrl+f around for the strings: image, /image, or imageoptions in both panes, imageoptions didn’t seem to have any hits, and I’m so new to everything that I’m not at all sure what else would affect the /image function. Though I will say, after scrolling through the code for a while, the logic behind how it works is making more sense to me, so I guess that’s a plus side to all of this, ahah.

    The ai chat generator I’m using is: https://perchance.org/ai-character-chat, if anyone can help me figure out a solution with that generator.

  • VioneTM
    link
    English
    2
    edit-2
    9 months ago

    Please check the Google docs linked on the comments section on the page itself, there is a duplicable character there that might do what you need.

    EDIT: Here is the Google Docs Link

  • allo
    link
    English
    1
    edit-2
    9 months ago

    Edit: meesa no understandy that generator. just lookin thru the code leik wow. couldn’t even find where the image was being generated nor any list on the left of attributes. much hard

  • allo
    link
    English
    19 months ago

    deleted by creator