What Is a Character Card? AI Role-play Definition
A character card is the profile that turns a general chat model into a specific character. Role-play apps send it to the model on every turn, alongside the chat history.
Common fields
- Name and description (appearance, background).
- Personality (traits, speech style).
- Scenario (where and when the story starts).
- First message (the character’s opening line, which sets the voice).
- Example dialogue (sample exchanges showing how the character talks).
The V2 format
The most widely supported format is Character Card V2, a JSON object marked with the spec name chara_card_v2. Many apps also hide the same JSON inside a PNG image so the card can be shared as a picture.
Keep it lean
Because the card is re-sent every turn, it permanently uses part of the context window. Aim for roughly 400 to 1,000 tokens. Make one with the character card generator.
Related
More terms: Alignment · Content filter · Context window · Guardrails · Hallucination · Jailbreak · Full glossary