ZeldaFan0225/AI_Horde_Discord

Feature request: Textual Inversion support

Closed this issue · 1 comments

Efreak commented

Horde now supports all TIs on Civitai, would be nice to have support for them.

The format is as follows, all that's required is the name field (limit is unmentioned, the name is the Civitai id or fuzzy matching, just like loras):

tis: [
  {
    "name": "str",
    "inject_ti": "prompt|negprompt",
    "strength":0.55
  }
]

Recommendation: if the user selects a TI but doesn't inject it in the prompt (no instance of embedding:), set inject_ti to "prompt".

Suggestion: allow specifying multiple TIs with a comma-separated list. People really like certain negative embeddings, and it would be nice to be able to use multiple. If autocomplete is implemented like it is for Loras and if possible, allow completion after the comma to add another TI

For styles, I intend to use the exact same syntax as the API (shown above). If you choose not to implement TIs, please at least pass the ti object through when using styles.

i added something in the latest commit please see if it checks your feature request