1. Upload TavernAI PNG Card
Upload your TavernAI V2 PNG card.
Technical Documentation: Mapping V2 Metadata to Oobabooga Schemas
The migration from **TavernAI (V2 PNG)** to **TextGenWebUI** (often referred to as oobabooga) represents a move from a visual character library to a powerhouse local model inference platform. While TavernAI focuses on the containerized character experience, TextGenWebUI requires a specific JSON structure to correctly populate its internal `context` and `greeting` fields.
1. Container Translation: PNG Chunks to Context Blocks
TavernAI cards utilize auxiliary chunks within a PNG file to store character data. This data is usually encoded as a Base64 string representing a complex, nested JSON object. To convert this for TextGenWebUI, our tool must perform a binary scan of the PNG, extract the chara or ccv3 payload, and then perform a "Semantic Synthesis" to map the TavernAI V2 schema into the flatter, context-driven model used by oobabooga.
2. Logic Normalization: The Context Monolith
TavernAI V2 separates character logic into distinct fields like personality, description, and scenario. TextGenWebUI often benefits from a more consolidated approach, utilizing a single context field to drive the model's behavior. Our converter identifies the core traits from the source metadata and intelligently merges them into a cohesive context monolith, ensuring that the character's behavioral constraints and world-building are preserved for the inference engine.
3. Dialogue and Greeting Alignment
We extract the TavernAI first_mes and map it directly to the TextGenWebUI greeting field. Furthermore, we ensure that dialogue examples are formatted to maximize their influence on the character's speaking style. This is critical because TextGenWebUI is often used with a wide variety of models (Llama, Mistral, GGUF, EXL2) that have different sensitivities to dialogue cues. By standardizing the output, we ensure a consistent speaking style across any model you load into the webui.
4. Privacy and the "Zero-Server" Advantage
Because character development often involves personal creative effort, we prioritize security. Our tool utilizes a "Zero-Server" architecture, where all JSON processing is handled by your browser's local JavaScript. Your character files are never transmitted to our server, cached, or seen by any third party. This ensures that you maintain full ownership and control over your creative digital assets as you move them to your local inference environment.
5. Identity Integrity and Library Management
When you export to TextGenWebUI, our tool generates a standardized JSON file that is ready for instant use in the characters folder of your oobabooga installation. This ensures that your TavernAI characters are integrated perfectly with the webui's library management features, facilitating easier organization and allowing you to leverage the full power of local LLM orchestration without losing the nuanced personalities you've crafted.
