Skip to content

Frequently asked questions and other tips (usage)

Kilvoctu edited this page Mar 9, 2023 · 4 revisions

This list provides solutions to problems that you may have when using AIYA. I'll try to keep it updated with what I can think of.

how do I add multiple extra networks (hypernets/LoRAs)

I've not yet found a way to reasonably implement this into AIYA, but these can be manually added to a prompt using the special syntax for each. Here's the format:

  • <hypernet:name:multiplier>
  • <lora:name:multiplier>

Alternatively, you can stack them over time by adding via the /draw command, then on your output image select the 📋 button or use context menu. The Command for copying will include the extra network already in the prompt. You can use that and use /draw again to add another extra network.

The network names can be found by referencing /info command, where each hypernet and LoRA (and more) are listed.
The multiplier is a value from 0.0 to 1.0, which determines how much effect the networks have on the model, where 1.0 is the maximum effect.

I generated more than one image with /draw. Why does only the last image have buttons?

This problem is a combination of how Discord buttons function and how the code is structure.
Discord Buttons are part of something called a Discord View. In the code, this View is created when the /draw command is sent, not when the images are posted. As a result, this View is refreshed each time a message is sent from using /draw. I've tried to resolve this, but haven't been successful yet. Discord Views have some prerequisites for when they can be initialized and attached to messages, and my code is not structured for it.

There are some workarounds for the buttons you can try when generating more than one image:

  • 🖋️ - When more than one image is generated, all that happens is the seed is incremented by 1 for each. To interact with other images, subtract the given seed as needed by its position in the batch. For example, if you generate 5 images and want to work with the 3rd image, subtract the seed by 2 for 🖋️.
  • 🎲 - Since this randomizes the seed, it can simply be used as is.
  • 📋 - You can take note the seed as mentioned with 🖋️, or you can use the context menu on the desired image.
  • ❌ - React to the undesired image with ❌.