Skip to content

Plugin adding an endpoint to edit the avatar of a character

Notifications You must be signed in to change notification settings

sakhavhyand/SillyTavern-AvatarEdit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

SillyTavern Avatar Replacement

Add an endpoint to replace the avatar of a character.

Needed for SillyTavern-AnotherCharManager extension in order to use the avatar replacement feature.

Installation

  1. Before you begin, make sure you set a config enableServerPlugins to true in the config.yaml file of SillyTavern.

  2. Open a terminal in your SillyTavern directory, then run the following:

cd plugins
git clone https://github.com/sakhavhyand/SillyTavern-AvatarEdit
  1. Restart the SillyTavern server.

Usage

/api/plugins/avataredit/edit-avatar
OR
/api/plugins/avataredit/edit-avatar?crop={cropdata}

FORMDATA
{
    'avatar': FILE,
    'avatar_url': 'default_FluxTheCat.png'
}
-> Code 200

About

Plugin adding an endpoint to edit the avatar of a character

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published