TAIConvert
CLI for easily converting/extracting TavernAI character images to JSON for the different pygmalion Web-UIs.
Install / Use
/learn @Mindus1/TAIConvertREADME
TAIConvert
This CLI can be used to easily convert TavernAI character images to JSON for the different pygmalion Web-UIs.
Index
Installation
Install this tool using pipx:
$ pipx install taiconvert
Normal pip installation is also possible:
$ pip install taiconvert
You can also used the pre-built pyinstaller binary from the releases page.
Usage
For help, run:
$ taiconvert --help
You can also use:
$ python -m taiconvert --help
Conversion
To convert a single image, run:
$ taiconvert convert <path/to/image>
The output will be written to <imagename>.pygmalion.json in the same directory as the image.
To convert multiple images, run:
$ taiconvert convert <path/to/image1> <path/to/image2> <path/to/image3> ...
Extraction
To extract the character json from a TavernAI character image file, run:
$ taiconvert extract <path/to/image>
The output will be written to <imagename>.tavernai.json in the same directory as the image.
To extract multiple images, run:
$ taiconvert extract <path/to/image1> <path/to/image2> <path/to/image3> ...
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
$ pipx install virtualenv
$ cd taiconvert
$ virtualenv .venv
$ .venv/Scripts/activate
Now install the dependencies and install the pre-commit hooks:
$ pip install -e '.[dev]'
$ pre-commit install
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
