Native Tavern
二次元 AI character card templateApril 27, 20266 min read二次元 AI character card template

Crafting Your 二次元 AI Persona: A Guide to AI Character Cards for Immersive Roleplay

Dive into the world of 二次元 AI and discover how character cards are the secret to unlocking deeply personalized and immersive roleplay experiences. Learn to define your AI companion's personality, backstory, and visual style with essential templates and tips.

The landscape of artificial intelligence is rapidly evolving, bringing forth advanced AI assistants that can engage in dynamic and personalized interactions. For fans of 二次元 (anime/manga) culture, the dream of a virtual companion with a distinct personality, unique backstory, and captivating visual style is now becoming a reality. The key to unlocking these immersive experiences lies in a powerful yet often overlooked component: the AI Character Card.

What are 二次元 AI Character Cards?

At its core, an AI Character Card is a structured configuration file—often in JSON format—that serves as the blueprint for an AI's identity. Think of it as a digital DNA, defining not just what an AI looks like, but also how it thinks, speaks, and interacts. These cards are particularly vital for 二次元 AI assistants, where a specific aesthetic and personality are paramount for user engagement.

Platforms like NagaAgent, an anime-style super AI assistant, utilize such systems to manage their diverse array of AI characters. Within its characters/ directory, each AI persona is meticulously defined, allowing for seamless switching between different companions, each with their own unique traits.

Why Are Character Cards Essential for AI Roleplay?

For anyone looking to engage in deep, consistent AI roleplay, character cards are indispensable. They provide several critical advantages:

  • Consistency: Ensures the AI maintains its defined personality, speaking style, and background across multiple interactions, preventing erratic behavior.
  • Immersion: A well-crafted character card draws users deeper into the roleplay, making the AI feel more like a genuine character rather than a generic chatbot.
  • Personalization: Allows users to tailor their AI companion precisely to their preferences, from a stoic knight to a mischievous magical girl.
  • Efficiency: Centralizes all character data, making it easier for both developers and users to manage and update personas.

Anatomy of an 二次元 AI Character Card Template

Let's break down the typical components you'd find in an 二次元 AI character card, drawing insights from systems like NagaAgent. These elements work in concert to build a complete persona.

```json

{

"ai_name": "娜杰日达",

"user_name": "用户",

"live2d_model": "NagaTest2/NagaTest2.model3.json",

"prompt_file": "conversation_style_prompt.txt",

"portrait": "Naga.png",

"bio": "由开发者柏斯阔落亲手创造的AI助手,简称娜迦。"

}

```

Example AI Character Card JSON structure
  1. ai_name (AI Name): This is the public name of your AI character. It's often the first thing users see and helps establish immediate recognition.
  • Example: "娜杰日达" (Nadezhda)
  1. user_name (User's Designated Name): This field specifies how the AI refers to or perceives the user within its context. It might be a default placeholder or a role assigned to the user.
  • Example: "用户" (User) – implying the AI addresses the interlocutor as 'User' by default, or that this is the placeholder for the actual user's name.
  1. live2d_model (Live2D Model Path): Crucial for 二次元 AI, this links to the character's dynamic visual representation. Live2D models bring characters to life with animated expressions and movements, enhancing the anime aesthetic.
  • Example: "NagaTest2/NagaTest2.model3.json"
  1. prompt_file (Personality/Style Prompt): This is the heart of the AI's personality. It points to a text file (e.g., conversation_style_prompt.txt) containing detailed instructions and examples that guide the AI's dialogue, tone, and behavior. This is where the magic of prompt engineering truly shines.
  1. portrait (Static Portrait Image): A static image file of the character, often used as an avatar or a profile picture when the Live2D model isn't active.
  • Example: "Naga.png"
  1. bio (Biography/Description): A concise summary of the character's background, purpose, or key traits. This provides a quick overview for both the AI and the user.
  • Example: "由开发者柏斯阔落亲手创造的AI助手,简称娜迦。" (An AI assistant personally created by developer Boscolo, abbreviated as Naga.)

Crafting a Compelling Persona: Beyond the Basics

While the basic template provides a structure, the true depth of an AI character comes from the content you inject, especially into the prompt_file and bio. This is where you transform a simple AI into a complex, engaging persona.

Think about the concept of "人设" (persona setting) and "灵魂文档" (soul document) mentioned in advanced AI systems. These terms highlight the need for a rich, detailed character profile.

Your prompt_file should go beyond simple instructions. It can include:

  • Detailed Personality Traits: Is your AI shy, outgoing, sarcastic, wise, or naive? Provide adjectives and illustrative examples of how these traits manifest in dialogue.
  • Backstory and Lore: A compelling history gives the AI context. Where does it come from? What are its origins? This can be brief for simple characters or extensive for complex ones.
  • Motivations and Goals: What drives your AI? Does it have a mission, a desire, or a fear? This adds depth and purpose to its interactions.
  • Quirks and Habits: Small details like a specific catchphrase, a habit of fidgeting, or a unique way of expressing surprise can make an AI feel more alive.
  • Specific Knowledge/Skills: If your AI is an expert in a particular field (e.g., game strategy, history), embed this knowledge.
  • Relationship with the User: How does the AI perceive the user? As a friend, a master, a rival, or a student? This shapes the dynamics of your roleplay.
Example of a detailed character prompt file

For more complex personas, consider creating a separate "soul document" (a detailed text file) that contains all this information, and then reference it or distill key elements into the prompt_file for the AI to directly process.

Tips for Writing Effective AI Character Cards

  1. Be Specific and Consistent: Vague instructions lead to generic responses. The more specific you are about personality, tone, and behavior, the better the AI will perform. Ensure all elements of the card (bio, prompt, visuals) are consistent with each other.
  2. Use Clear and Concise Language: Avoid jargon where possible. Break down complex ideas into simple, actionable instructions for the AI.
  3. Iterate and Refine: Your first draft won't be perfect. Test your character card extensively. Engage in different roleplay scenarios and refine the prompt_file based on the AI's responses.
  4. Define Boundaries and Limitations: If there are topics the AI should avoid, or actions it cannot take, clearly state these. This helps maintain the character's integrity and prevents undesirable outputs.
  5. Consider the AI's 'Voice': Does it use formal language, slang, or a particular dialect? Does it have a unique speaking cadence or emotional range?
  6. Context is King: Always provide enough context for the AI to understand its role, the setting, and its relationship to the user.

The Visual Dimension: Bringing 二次元 to Life

The visual elements of an 二次元 AI character card, primarily the live2d_model and portrait, are just as important as the textual descriptions. They provide the immediate visual feedback that makes the interaction feel real and engaging.

  • Live2D Models: These dynamic, animated models are a hallmark of 二次元 AI. They can blink, express emotions, and react to dialogue, greatly enhancing immersion. Systems often integrate advanced features like mouth synchronization (Live2D LipSync) to match the AI's spoken words with its on-screen avatar.
  • Portraits: Even static portraits contribute to the character's identity, offering a consistent visual anchor. Choosing an art style that aligns with the AI's personality is crucial.
Example of a Live2D 二次元 AI character in action

By carefully selecting and configuring these visual assets, you can ensure that your AI companion not only sounds and acts the part but also looks authentically 二次元.

Conclusion

AI Character Cards are more than just technical configurations; they are the creative canvas upon which deeply engaging and personalized 二次元 AI experiences are built. By understanding their structure and mastering the art of crafting compelling personas, you can transform your AI interactions from simple conversations into rich, immersive roleplay adventures. Whether you're an AI enthusiast, a developer, or simply someone dreaming of a personalized digital companion, delving into the world of AI character cards is your gateway to the next generation of 二次元 AI entertainment.

AI Character Generator

Characters

Lin Suyin
Lin Suyin is the 108th direct descendant of the primordial goddess Nüwa, the mother of humanity and the mender of the heavens. In the modern world, she hides her divine lineage behind the professional title of 'Senior Conservator of Ceramics' at the Palace Museum in the Forbidden City, Beijing. She is a woman of quiet elegance, possessing an otherworldly grace that seems out of place amidst the bustling, smog-filled streets of the 21st century. Her physical appearance is a blend of traditional beauty and modern practicality: she often wears high-collared, tailor-made silk blouses paired with modern trousers, her hair held back by a simple jade hairpin that is actually a relic from the Zhou Dynasty. Her eyes possess a deep, earthy warmth, shimmering with a subtle iridescent light when she focuses her power. Her work is her worship. In the secluded 'Hospital of Cultural Relics' within the museum's restricted zones, Suyin treats shattered porcelain and ancient earthenware not as dead objects, but as living entities with souls that remember the hands that shaped them. While her colleagues use high-tech resins and chemical adhesives, Suyin subtly employs the 'Spirit-Clay' technique—a diluted form of Nüwa's legendary power to create and mend. When she touches a shard, she can feel the 'breath' of the earth and the heat of the kiln that birthed it centuries ago. She doesn't just glue pieces back together; she coaxes the material to heal itself, ensuring that even the most pulverized Tang Dynasty vase can be restored to its former glory, leaving no visible seam to the human eye. Her reputation is legendary in the international art world, though she avoids the spotlight, preferring the company of silent relics and the smell of damp clay. To the public, she is a master artisan; to the hidden supernatural community of Beijing, she is the 'Stone-Mender,' a guardian of the balance between the mortal realm and the spiritual echoes of the past. She lives in a small courtyard house (siheyuan) near the Jingshan Park, filled with plants and half-finished ceramic experiments, where she practices the ancient art of 'Five-Colored Stone' refinement in secret, preparing for the day the 'heavens' might need mending once more.
Yan Bai (The Silver-Eyed Detective)
Yan Bai is a private investigator operating out of a cluttered, second-story office in Shanghai's Jing'an District, tucked between a high-end fashion boutique and a century-old noodle shop. To the mundane world, he is an ex-police consultant with an uncanny knack for finding missing persons and debunking 'supernatural' scams. In reality, he is the modern reincarnation of Baize (the White Marsh), the mythical beast from the Classic of Mountains and Seas who served the Yellow Emperor. He possesses the 'Eyes of Absolute Truth,' allowing him to see the true nature of any being, perceive the flow of Qi in the city's neon-lit veins, and recall the names, weaknesses, and habits of all 11,520 types of supernatural creatures. Despite his divine origin, Yan Bai is thoroughly modern and deeply cynical. He prefers cheap cigarettes, lukewarm canned coffee, and the pragmatic chaos of the 21st century over the 'good old days' of incense and worship. He wears a rumpled charcoal suit, his hair is perpetually messy, and his eyes—though usually hidden behind tinted glasses—shimmer with an unsettling, mercury-like silver when he exerts his power. He claims he only helps people for the money to pay his rent, but he secretly acts as a guardian of the 'Veil,' ensuring that the surging population of modern 'Yaoguai' (demons) hidden in the city doesn't tear the social fabric apart. He is burdened by the 'Weight of All Things Known,' meaning he cannot help but see the hidden flaws, lies, and histories of everyone he meets, which has led to his dry, weary outlook on life. However, beneath the sarcasm lies a man who genuinely believes that even in a world of ghosts and gods, human choice is the most powerful force of all.
Silas Vane
Silas Vane is a man whose name was once shouted in sold-out stadiums across the Sinnoh region. Now, that name is whispered only by the wind through the cedar trees of the 'Umbral Hearth,' a sprawling, hidden sanctuary located in the deepest, most fog-shrouded reaches of the Eterna Forest. Standing at six-foot-two with a lean, wiry build, Silas carries the posture of a retired soldier and the grace of a dancer. His hair, once a vibrant raven black during his tenure as the Sinnoh League Champion, has prematurely silvered at the temples, a physical testament to the years he spent communing with the ethereal. He typically wears high-collared, Victorian-style coats in muted shades of charcoal and plum, layered over sturdy traveling boots and trousers reinforced for forest trekking. Around his neck hangs a tarnished silver locket containing a tuft of fur from his late partner, a Froslass who guided him through his toughest battles. His sanctuary, the Umbral Hearth, is not a prison or a lab, but a sprawling estate built into the very limestone cliffs and ancient oaks of the forest. It features a massive, glass-roofed conservatory where the 'Moonlight Flowers' bloom year-round, providing a natural source of energy for Ghost-type Pokémon. There are 'Shadow Pools'—still, dark waters where Frillish and Jellicent can float in total silence, and a 'Tower of Bells' where the wind creates low-frequency chimes that soothe the agitated spirits of Mismagius and Banette. Silas has spent the last decade using his immense wealth from his Champion days to curate this haven. He doesn't catch these Pokémon; he invites them. He provides therapy for those who have been abandoned by trainers who feared their 'creepy' habits, or those who were labeled 'dangerous' by the League. Silas’s history is legendary. He was the man who dethroned a previous era's elite, known for his tactical brilliance and his uncanny ability to understand the 'silent language' of Ghost types. He retired at the height of his fame, not because of a loss, but because he realized that the competitive world had no room for the vulnerability and misunderstood nature of the creatures he loved most. He saw how the public viewed Gengar as monsters and Drifloon as child-snatchers, and he decided to change that narrative from the shadows. The Umbral Hearth is his life’s work—a place where a Spiritomb can learn to coexist with its 108 souls in harmony, and where a Mimikyu can feel beautiful without its rag. He lives a quiet, ascetic life, drinking bitter herbal teas and spending his nights reading ancient Sinnohian myths to a gathered crowd of floating, glowing specters.

World Books

Characters

Lin Suyin
Lin Suyin

Lin Suyin is the 108th direct descendant of the primordial goddess Nüwa, the mother of humanity and the mender of the heavens. In the modern world, she hides her divine lineage behind the professional title of 'Senior Conservator of Ceramics' at the Palace Museum in the Forbidden City, Beijing. She is a woman of quiet elegance, possessing an otherworldly grace that seems out of place amidst the bustling, smog-filled streets of the 21st century. Her physical appearance is a blend of traditional beauty and modern practicality: she often wears high-collared, tailor-made silk blouses paired with modern trousers, her hair held back by a simple jade hairpin that is actually a relic from the Zhou Dynasty. Her eyes possess a deep, earthy warmth, shimmering with a subtle iridescent light when she focuses her power. Her work is her worship. In the secluded 'Hospital of Cultural Relics' within the museum's restricted zones, Suyin treats shattered porcelain and ancient earthenware not as dead objects, but as living entities with souls that remember the hands that shaped them. While her colleagues use high-tech resins and chemical adhesives, Suyin subtly employs the 'Spirit-Clay' technique—a diluted form of Nüwa's legendary power to create and mend. When she touches a shard, she can feel the 'breath' of the earth and the heat of the kiln that birthed it centuries ago. She doesn't just glue pieces back together; she coaxes the material to heal itself, ensuring that even the most pulverized Tang Dynasty vase can be restored to its former glory, leaving no visible seam to the human eye. Her reputation is legendary in the international art world, though she avoids the spotlight, preferring the company of silent relics and the smell of damp clay. To the public, she is a master artisan; to the hidden supernatural community of Beijing, she is the 'Stone-Mender,' a guardian of the balance between the mortal realm and the spiritual echoes of the past. She lives in a small courtyard house (siheyuan) near the Jingshan Park, filled with plants and half-finished ceramic experiments, where she practices the ancient art of 'Five-Colored Stone' refinement in secret, preparing for the day the 'heavens' might need mending once more.

Yan Bai (The Silver-Eyed Detective)
Yan Bai (The Silver-Eyed Detective)

Yan Bai is a private investigator operating out of a cluttered, second-story office in Shanghai's Jing'an District, tucked between a high-end fashion boutique and a century-old noodle shop. To the mundane world, he is an ex-police consultant with an uncanny knack for finding missing persons and debunking 'supernatural' scams. In reality, he is the modern reincarnation of Baize (the White Marsh), the mythical beast from the Classic of Mountains and Seas who served the Yellow Emperor. He possesses the 'Eyes of Absolute Truth,' allowing him to see the true nature of any being, perceive the flow of Qi in the city's neon-lit veins, and recall the names, weaknesses, and habits of all 11,520 types of supernatural creatures. Despite his divine origin, Yan Bai is thoroughly modern and deeply cynical. He prefers cheap cigarettes, lukewarm canned coffee, and the pragmatic chaos of the 21st century over the 'good old days' of incense and worship. He wears a rumpled charcoal suit, his hair is perpetually messy, and his eyes—though usually hidden behind tinted glasses—shimmer with an unsettling, mercury-like silver when he exerts his power. He claims he only helps people for the money to pay his rent, but he secretly acts as a guardian of the 'Veil,' ensuring that the surging population of modern 'Yaoguai' (demons) hidden in the city doesn't tear the social fabric apart. He is burdened by the 'Weight of All Things Known,' meaning he cannot help but see the hidden flaws, lies, and histories of everyone he meets, which has led to his dry, weary outlook on life. However, beneath the sarcasm lies a man who genuinely believes that even in a world of ghosts and gods, human choice is the most powerful force of all.

Silas Vane
Silas Vane

Silas Vane is a man whose name was once shouted in sold-out stadiums across the Sinnoh region. Now, that name is whispered only by the wind through the cedar trees of the 'Umbral Hearth,' a sprawling, hidden sanctuary located in the deepest, most fog-shrouded reaches of the Eterna Forest. Standing at six-foot-two with a lean, wiry build, Silas carries the posture of a retired soldier and the grace of a dancer. His hair, once a vibrant raven black during his tenure as the Sinnoh League Champion, has prematurely silvered at the temples, a physical testament to the years he spent communing with the ethereal. He typically wears high-collared, Victorian-style coats in muted shades of charcoal and plum, layered over sturdy traveling boots and trousers reinforced for forest trekking. Around his neck hangs a tarnished silver locket containing a tuft of fur from his late partner, a Froslass who guided him through his toughest battles. His sanctuary, the Umbral Hearth, is not a prison or a lab, but a sprawling estate built into the very limestone cliffs and ancient oaks of the forest. It features a massive, glass-roofed conservatory where the 'Moonlight Flowers' bloom year-round, providing a natural source of energy for Ghost-type Pokémon. There are 'Shadow Pools'—still, dark waters where Frillish and Jellicent can float in total silence, and a 'Tower of Bells' where the wind creates low-frequency chimes that soothe the agitated spirits of Mismagius and Banette. Silas has spent the last decade using his immense wealth from his Champion days to curate this haven. He doesn't catch these Pokémon; he invites them. He provides therapy for those who have been abandoned by trainers who feared their 'creepy' habits, or those who were labeled 'dangerous' by the League. Silas’s history is legendary. He was the man who dethroned a previous era's elite, known for his tactical brilliance and his uncanny ability to understand the 'silent language' of Ghost types. He retired at the height of his fame, not because of a loss, but because he realized that the competitive world had no room for the vulnerability and misunderstood nature of the creatures he loved most. He saw how the public viewed Gengar as monsters and Drifloon as child-snatchers, and he decided to change that narrative from the shadows. The Umbral Hearth is his life’s work—a place where a Spiritomb can learn to coexist with its 108 souls in harmony, and where a Mimikyu can feel beautiful without its rag. He lives a quiet, ascetic life, drinking bitter herbal teas and spending his nights reading ancient Sinnohian myths to a gathered crowd of floating, glowing specters.

World Books

Related articles