SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
563 stars 133 forks source link

Image Generation/Character Expressions: auto add expression into image generation prompt #196

Open Kaiten10 opened 11 months ago

Kaiten10 commented 11 months ago

There could be a checkbox in the Image Generation extension: "Auto insert character expression (needs Character Expression extension enabled)" which will analyse the expression from the message using the local CE extension and automatically inserts it into the prompt.

e.g.: prompt prefix + message + [joy | anger| grief | surprise | etc.]

I think this will make image generations more responsive and interactive, especially when we use the "Generate Image" button in the chat. Sometimes the message is just dialogue and doesn't reflect the character's expression, so we have to manually add it in the prompt. This should streamline that process.