Most likely SUPER not a priority. But you know me 😅

https://perchance.org/prompt-style-tester#edit

The “go” button updates the entire page. As the options are generated this means they are re-generated, which means the chosen option resets, and you can only ever test the top option: Painted Anime.

Simple fix though: put a div with an id around the generations, then update that div only. That’s all that needs updating anyway.

  • @RedWolfEchoes
    link
    English
    1
    edit-2
    2 months ago

    @[email protected] @[email protected]

    Character AI chat. So I am using the custom Java code that was in the AI artist V2. 1 and I am putting it inside of my own character in the custom code section, my plan was to add another style in the list that was already made.

    • VioneTM
      link
      English
      22 months ago

      The custom code is written on the character itself. You can open it up by clicking the pencil icon on the thread. Here is a step by step guide to add custom codes for your character. You do not need to create a new page for it.

      Here is AI Artist v2.2 which has my vionet20-t2i-styles-importable. I’ve also commented on the custom code there the formatting on adding your own styles on the styles object.

        • VioneTM
          link
          English
          12 months ago

          You need to create a new image or edit the current one to apply the style.

          • @RedWolfEchoes
            link
            English
            12 months ago

            Understood, it I’m using in in character chat with an oc I made and for whatever reason when I put in the prompt even after generating multiple new images, it has the name of my character I’m chatting with and the style I picked next to it but isn’t using the prompts, when I generate an image and look at the prompts it used their is nothing, other then the description in chat of the scene

            • VioneTM
              link
              English
              12 months ago

              I’m not really sure, have you added a new style to it, maybe some syntax errors that doesn’t allow the custom code to run? Can you link a ‘share link’ of the character?

              I’ve added a fix here to not say ‘AI Artist (style)’ but ‘Character Name (style)’ and the styles should be added after clicking the button on the /change-style, although you still need to edit/create a new image to apply the style.

              Here is a video on applying the styles.

              • @RedWolfEchoes
                link
                English
                12 months ago

                Yeah I’m not sure what it is, it could just be a way that I need to tell the AI to edit or make changes to an image without interfering with character storyline, or chat. @[email protected]

              • @RedWolfEchoes
                link
                English
                12 months ago

                Also I guess I should have said this earlier I don’t know if it makes a difference but I am using an Android phone to do this.

                • VioneTM
                  link
                  English
                  2
                  edit-2
                  2 months ago

                  You can share the character link like this:

                  This won’t share any threads, just the character.

              • @RedWolfEchoes
                link
                English
                12 months ago

                I’ve tried recreating what you did in your video your generator using that character, and I’ve also tried doing it in my generator My OC character JavaScript code provided by your character and I’ve had no luck. I will say though that every now and then it’ll say verifying at the top right hand corner of the page, and starting on the image, then it will go to Red letters and say VPN error or something of that sort and at the bottom where the image should be says error undefined, then it reloads and I get an image without any of the prompts inside it except for the default negative prompts that that image generator comes with in character chat.

      • @RedWolfEchoes
        link
        English
        1
        edit-2
        2 months ago

        @[email protected] I’m really sorry I feel like I’m asking for a way too much 😂, but would you mind trying the custom code that you made see if it works for you. I’m unsure why but it is not working for me at all other than when I enter /change-style, it replies with all the styles but when I click on one it does not utilize the style.

    • @wthit56OP
      link
      English
      22 months ago

      If you reply to the specific comment, it’s a lot easier to follow the conversation. I keep having to look at all the comments to try to figure out what you’re trying to respond to. There’s a swoopy arrow pointing left below each comment; click that and you’ll reply directly to that comment.

      • @RedWolfEchoes
        link
        English
        12 months ago

        Ah I see awesome lol, for whatever reason I thought it was a share comment button 🤣

        • @wthit56OP
          link
          English
          12 months ago

          It is a bit “sharey” to be fair 😅 The tooltip helps in this case.

    • @wthit56OP
      link
      English
      12 months ago

      I’m not familiar with the AI chat side of things, so I’ll leave it to someone else to help with this.

      • @RedWolfEchoes
        link
        English
        12 months ago

        Okay I appreciate all your help thank you!

  • @RedWolfEchoes
    link
    English
    1
    edit-2
    2 months ago

    This is amazing!! How would I go about using this, so that when I generate an image in character chat if uses T2i styles to generating image. Someone new to perchance not very good at coding LOL but I’ve been using a lot of the JavaScript OC codes to try and accomplish this future in AI character chat, nobody has been able to give me a straight answer or anything that could be helpful to this cause so far.

    • @wthit56OP
      link
      English
      2
      edit-2
      2 months ago

      I’m not sure that’s really possible. I don’t think you can import from another page in character stuff. (Unless @[email protected] knows different?)

      But I think you can literally tell it any prompt to use to generate an image. So maybe include the text from one of those styles in the prompt you give it or something?

  • @RedWolfEchoes
    link
    English
    1
    edit-2
    2 months ago

    @[email protected] Question for you my good sir, I put the AI artist V2 oc JavaScript code in the custom JavaScript section of my character and it works great for the most part, for whatever reason when I add prompts into the syntax area in my settings, close out of my page and reopen it they are gone. Also how would I go about adding or props or styles to T2i styles code, sorry as I said before I am very new to this 😂. Appreciate you a lot and all the help you’ve given so far! 😊

    • VioneTM
      link
      English
      22 months ago

      By editing the syntax, you mean this input fields on the character settings?

      Currently yes, after every message, it would reapply the current styles, which would remove all of the changes you have made on those inputs.

      Here is the updated character (AI Artist V2.1) that should handle those user inputs to stay. However, if you change styles, it would be overwritten by the new ones.

      If I misunderstood the request, please feel free to point me to the right direction.

  • @RedWolfEchoes
    link
    English
    1
    edit-2
    2 months ago

    @[email protected] @[email protected] So I added a style to the V2 custom java code replacing it with another one inside my own custom character, and it reads style when I type in/change-style, but not what I’ve added in the style, I continues to read the previous style prompts. Would either of you happen to know what the issue is by any chance. Thanks in advance for all your time ☺️

    • @wthit56OP
      link
      English
      22 months ago

      What kind of generator are you talking about? Got a link to the one you’re working on so we can take a look?