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.

  • VioneT@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Here is an updated code in the AI Artist.

    It seems that there was a problem in setting the properties in the character itself, in which those properties are already existing in the AI Artist character.

    But since you’ve transferred the code to another character, those properties are undefined and cannot be accessed so it cannot change it. I’ve managed to fix it by just setting default values.

        • RedWolfEchoes@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          Well again thank you so much, I’ve been trying to figure out a way to do this for so long, being able to chat with a custom character have them automatically generate images with somewhat accurate depictions of what’s happening in chat. Having a little trouble getting any NSFW images at least good ones, but that definitely could be on my end 😂. My next step from here is to add a voice emulator or text to speech that doesn’t suck and that everyone can use somewhat easily 🤣, been kind of looking at Suno bark but I’m not extremely familiar on how it works nor am I familiar with how I would go about coding it into the chat. @VioneT@lemmy.world

        • RedWolfEchoes@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          So I hate to ask, but is there no nsfw allowed for the image generation, just curious because earlier today I came across a few scenes in rpg chat where nsfw was definitely depicted and it’s like the image generator went out of its way to show any content like that. Just wondering if it could be because of the custom jv code?

          • VioneT@lemmy.worldM
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 months ago

            Not sure, I don’t really dabble on the NSFW content, so I won’t know lmao.

              • VioneT@lemmy.worldM
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                2 months ago

                Can you send me the character link again. I would assume that you do not have [input.description] on the prompt or [input.negative] on negative on the pasted style like so:

                  ...
                  "Professional Photo": {
                    // When adding a new prompt, you need to add [input.description] to help the code know what would be the prefix and suffix of the prompt. [input.negative] is not as required.
                    prompt:
                      "[input.description], {sharp|soft} focus, depth of field, 8k photo, HDR, professional lighting, taken with Canon EOS R5, 75mm lens",
                    negative:
                      "[input.negative], worst quality, bad lighting, cropped, blurry, low-quality, deformed, text, poorly drawn, bad art, bad angle, boring, low-resolution, worst quality, bad composition, terrible lighting, bad anatomy",
                  },
                  ...