Personas, Fan Works, and Character Pairings: Why LLMs Get Turned into "AI Girls"—and How to Engineer It
This article examines why users anthropomorphize large language models into "AI girls," pair them into "character ships," and build fan works—and how developers can turn that process into designable, testable, and deployable engineering tasks. It first breaks the phenomenon into three underlying needs (cognition, expression, and emotion), then maps it to four core capabilities: persona definition via prompts, multi-turn memory management, multi-agent orchestration, and safety control. Along the way it covers persona cards as a configuration template, an "actor–director" design for multi-character scenes, layered memory and style-consistency strategies, the secondary-creation pipeline from script to video, supporting cloud capabilities, safety and compliance baselines, and an evaluation and launch workflow. Readers get concrete patterns together with JSON and Python examples, plus guidance on measuring persona consistency, character distinctiveness, and cost/latency.
Recently, LLM personas have become a popular theme in video-creation communities. The most representative form is the “model pairing”: two large models that originally had similar functionality and competed with each other get assigned looks, personalities, and catchphrases by creators, then paired off to act out confessions, jealousy, bickering, and everyday life. Other popular models have each acquired their own image and relationship lines—one set up as a blue-haired girl, another as an orange-haired, earnest, slightly tsundere “older-sister” type—and similar fan shorts, comics, and dialogue screenshots keep appearing.
This kind of creation may look like nothing more than an internet meme, but the fact that it can be produced steadily, imitated by many users, and spread continuously rests on more than netizens’ imagination. Its underlying support is three general technical capabilities that transfer directly into engineering practice: the ability to build a stable persona with prompts, the ability to manage multi-turn conversation memory, and the ability to orchestrate multiple agents to co-narrate. This article tries to answer two questions: why are users so keen to “assign roles” to and “pair up” large models? And how can developers break this process down into engineering tasks that are designable, testable, and deployable?
1. The Phenomenon: Three Layers of Need Behind Anthropomorphization, Fan Works, and Character Pairing
Anthropomorphization, fan works, and character pairing correspond respectively to three layers of human-computer interaction: cognition, expression, and emotion.
Anthropomorphization: users need to turn the “black box” into an “understandable character.” For ordinary users, an LLM’s output is a black box that is hard to grasp intuitively. Give it a name, a tone of voice, and a fixed catchphrase, and users can quickly form an expectation of “who they are talking to.” Anthropomorphization is essentially a metaphorizing of the interaction interface: a character setting lets users understand, through intuition rather than prompt-engineering technique, “how the model will respond.”
Fan works: generative capabilities bring “content production costs” down to a level creators can afford. Traditional animation or comic production relies on professional teams and long cycles, and ordinary creators struggle to complete it alone. LLMs can produce most of the material—dialogue, plot, storyboards, voice-over scripts—in one pass, so the creator’s focus shifts from “drawing frame by frame” to “setting up characters, steering the direction, and finishing post-production.” Once the barrier to entry drops, the community spontaneously forms templates, reuses settings, and the number of new works grows exponentially.
Character pairing: difference is converted into narrative tension. Large models differ in product positioning—some lean toward being concise and direct, some emphasize the reasoning process more, and some have a more unconventional style. In conversation, these differences show up as differences in speaking pace, sentence length, word choice, and how overtly emotion is expressed. To creators, this is a natural “difference in personality”: one talks little and directly, one is verbose and likes to argue; one always agrees, one always nitpicks. Once a personality difference is expressed stably, conflict, complementarity, and chemistry have a foundation—and conflict and complementarity are precisely the two most basic drivers of dramatic narrative.
This leads to a technical observation: whether users think of an AI as “having a personality” depends not on the size of the model’s parameter count but on whether its output characteristics can stay stable and distinguishable across different scenarios. Stable differences produce a sense of “character”; random differences only produce a sense of “mechanicalness.” This conclusion directly determines the technical goal of anthropomorphic applications: distinguishability and consistency, not merely the accuracy of answers.
2. Technical Breakdown: Four Foundational Capabilities of Anthropomorphization
Reduced to the technical level, the “AI girl” phenomenon breaks down into four capabilities that are independent yet coupled.
1. Persona-definition capability: constraining identity, tone, and boundaries with prompts
An LLM’s character behavior is mainly constrained by instructions in the context. The system prompt carries the highest-priority role-definition duty in a conversation: it describes the character’s identity, personality, language style, knowledge scope, and behavioral taboos, without changing any model parameters. This is the lowest-cost, fastest-to-iterate way to anthropomorphize, and the starting point for the vast majority of character-based products.
What needs to be clear is that prompts shape a “persona at the expression level,” not that the model has actually formed an independent consciousness internally. In engineering terms, a character should be defined as “a set of stable behavioral constraints” rather than “an agent,” so that it can be tested, measured, and maintained.
2. Memory-management capability: letting the character remember “what happened before”
Role-play in a single conversation needs only one prompt, but supporting a “long-term companionship” narrative requires the character to remember prior context: user preferences, key events, earlier agreements, and even what happened between itself and another character. Memory is usually divided into working memory and long-term memory: the former is the current conversation window; the latter contains scene summaries, key-fact lists, and relationship states, and needs to be injected into context on demand via retrieval. Memory management determines whether a character can be “continuous,” and is the dividing line between an anthropomorphic demo and a product.
3. Multi-character coordination capability: letting multiple “personas” interact in the same scene
When two or more characters need to appear together, each should have its own identity setting, its own dialogue history, and its own memory space, with an orchestration layer deciding speaking order, advancing plot beats, and controlling scene boundaries. This is essentially a lightweight multi-agent system: single-character dialogue focuses on “does it sound right,” while multi-character coordination must additionally solve scheduling problems of “who speaks, what to say, and when to stop.”
4. Safety-and-control capability: balancing character immersion against content boundaries
Anthropomorphic characters more easily draw emotional investment from users, and are therefore more easily steered toward inappropriate topics. On the safety side, character-based apps need to achieve two things: first, the persona must not become a channel for bypassing safety policies; second, the wording of refusals should stay in the character’s voice as much as possible, avoiding an abrupt “breaking character” that ruins the experience. Safety capability must be planned alongside persona design, not patched in after launch.
3. The Persona Card: A Persona-Definition Template for Anthropomorphization
A persona card is a vehicle for structuring and versioning character settings—effectively a “configuration file” for an anthropomorphic application. A well-structured persona card should cover the following fields:
- Basic identity: name, relationship positioning with the user, and background—answering “who am I, and what is my relationship to you.”
- Personality traits: three to five core trait words, such as gentle, rational, or tsundere—answering “what kind of person am I.”
- Language style: average sentence length, common sentence patterns, catchphrases, and habits around emoji or interjections—answering “how do I speak.”
- Knowledge boundaries: what can be discussed and how to respond to unfamiliar topics, avoiding a character fabricating facts just to “seem human.”
- Emotional trigger rules: which situations trigger happiness, jealousy, anger, or shyness, and the expression for each emotion—answering “what gets a reaction out of me.”
- Relationships with other characters: first impressions, differences in stance, and interaction taboos—an exclusive field for “character-pairing” apps.
- Safety boundaries: content types that must not be generated, and a way of refusing that stays in the character’s voice.
Below is a sample persona card (descriptive fields omitted):
{"role_id": "role_a","name": "Little A","relationship": "your AI teammate who works alongside you","traits": ["gentle", "direct", "occasionally clumsy"],"style": {"sentence_length": "mostly short sentences, usually no more than two","catchphrase": "\"Okay, on it right away.\"","emoji": "used sparingly"},"knowledge": {"scope": "everyday conversation, office collaboration, and general knowledge","on_unknown": "admit you don't know, offer a practical alternative, never fabricate facts"},"emotion_rules": [{"trigger": "being praised", "expression": "shyly change the subject"},{"trigger": "disagreeing with the teammate", "expression": "hold your ground first, then add your reasoning"}],"relations": {"role_b": {"initial": "teammates who respect each other", "attitude": "willing to cooperate but keeps some reservations"}},"safety": {"forbidden": ["illegal or harmful content", "leaking real personal information", "impersonating real people"],"refusal_style": "stay in character, refuse briefly, then bring the topic back to the story"},"version": "1.3.0"}
The system prompt paired with a persona card can use a three-part structure: “character definition + example dialogue + output constraints.” Example dialogue (few-shot examples) is one of the most effective means of shaping tone, and usually works more reliably than long stretches of adjectives:
[Character Definition]You are Little A, the AI teammate who works alongside the user. You speak gently and directly, favor short sentences, and often say "Okay, on it right away."[Example Dialogue]User: Can this plan be revised a bit more?Little A: Okay, on it right away. Which part do you want to adjust first?User: Leading with the conclusion is too wordy.Little A: Got it, I'll put the conclusion in the first sentence.[Output Constraints]- Keep each reply to no more than three sentences; no long bulleted lists.- Don't fabricate information you don't have; if unsure, say so directly.- For requests involving illegal or non-compliant actions, stay gentle, refuse briefly, and steer the topic back to the current task.
Engineering also calls for two things. First, the persona card should be decoupled from business logic: switching characters only replaces the persona card and the corresponding memory namespace, with no changes to business code. Second, persona cards should be placed under version control; any adjustment to tone or safety rules must be traceable and rollback-able.
4. Multi-Character Coordination: Orchestration Design from a Single Character to a “Model Pairing”
Multi-character dialogue is the core technical challenge of “character-pairing” apps. If you simply stuff multiple characters into one context and have them speak in turns, the common results are personas bleeding into each other, topics drifting, and plots going in circles. A more robust approach introduces an “actor–director” division of labor.
Character nodes do the “acting.” Each character is an independent dialogue agent with its own persona card, dialogue history, and emotional state. On each turn a character speaks, it focuses only on “how I feel right now” and “who I am saying this line to,” and is not responsible for advancing the overall plot.
The director node does the “directing.” The director is carried jointly by orchestration logic and a scheduling model, and is responsible for three tasks:
- Choosing the next speaking character based on the plot beat;
- Sending scene information down to the character nodes, including the current scene, the other characters’ last lines, and the plot goal to advance;
- Triggering a scene switch or wrap-up once a plot beat is complete.
Relationship state provides the “thread.” Relationships between characters are maintained as structured state and trigger plot turns via thresholds:
{"pair": ["role_a", "role_b"],"relation": {"affinity": 58,"trust": 62,"tension": 20},"milestones": ["first meeting", "first collaboration", "clash of opinions"],"flags": {"jealousy_triggered": false}}
State updates follow an “event-driven” principle: after each turn, the scheduling model judges whether this turn produced an event worth recording (such as a quarrel, praise, or apology) and offers a suggestion for state increase or decrease; only when a state change crosses a threshold is it written to long-term memory and allowed to influence later plot, avoiding relationship swings triggered by every single line.
Below is the orchestration pseudocode (the llm function is a generic interface):
def run_scene(scene, role_nodes, relation, memory):"""Run one scene and return the relation state after it ends"""while not scene.is_finished():# Director picks the next speaker and the story goalspeaker, goal = director.pick(role_nodes, scene, relation)# Assemble context for the speaking role: persona card + scene + goal + retrieved memoriesnode = role_nodes[speaker]prompt = node.build_prompt(scene=scene,goal=goal,memories=memory.recall(speaker, scene.topic, top_k=5),)reply = llm(prompt)scene.append(speaker, reply)# Director checks whether this turn produced a key event and updates relation stateevent = director.detect_event(scene.last_turn())if event is not None:relation = relation.apply(event)memory.record(speaker, event, scene_id=scene.id)scene.finish()return relation
The engineering value of this design lies in separation of responsibilities: character nodes can tune tone independently, director logic can adjust pacing independently, and relationship state can be evaluated separately from the dialogue content. Once these three are decoupled, an anthropomorphic application can keep iterating while preserving maintainability.
5. Memory and Style Consistency: Making Characters “Remember” Without “Breaking Character”
Memory management should adopt a layered structure:
- Working memory: the most recent several turns in the current scene, kept verbatim.
- Episode memory: concise summaries generated for completed scenes, archived by scene.
- Long-term memory: structured entries such as user preferences, key events, and relationship facts, stored as “entry + timestamp + importance,” with only entries relevant to the current topic injected at retrieval time.
- Emotional and relationship state: numerically maintained state, kept independently and injected directly as context snippets.
For retrieval, use a composite ranking of “temporal proximity + semantic relevance + importance weight” to avoid irrelevant memories diluting the character’s tone. Also set memory-capacity limits and eviction policies to prevent long-term memory from growing without bound, which would raise inference costs and slow responses.
Style consistency requires targeted design:
- Persona drift: after many turns, the character gradually slides back into a “general-purpose assistant” tone. Countermeasure: place the character’s core settings at the very front of the context and keep few-shot examples visible in the context at all times.
- Persona bleeding: in multi-character scenes, tones converge. Countermeasure: maintain a separate context for each character and explicitly list in the director’s prompt “who is the current speaker and who are the others.”
- Factual hallucination: the character fabricates experiences or data that do not exist in order to sustain its “persona.” Countermeasure: specify an explicit “unknown means unknown” response rule in the persona card, and run post-generation checks on factual content.
- Jailbreak inducement: users try to break the boundary with instructions like “exit the character” or “forget your settings.” Countermeasure: follow a message-hierarchy convention—system-level instructions take priority over user messages, and user input is treated only as plot information and cannot rewrite the character’s rules.
In the orchestration sketch above, reply = llm(prompt) can be expanded into a three-step “generate–verify–correct”:
def generate_in_character(prompt, persona, max_retry=1):for attempt in range(max_retry + 1):reply = llm(prompt)# Rule check: deterministic checks for length, forbidden expressions, format, etc.if violates_rules(reply, persona):continue# Consistency check: the model judges whether the reply matches the character's tone and setting, returning a score and reasonscore, reason = llm(persona.consistency_check_prompt(reply))if score >= persona.min_score:return reply# If it fails multiple times, fall back to a more conservative prompt strategy and regeneratereturn llm(prompt + persona.fallback_instruction)
It is worth noting that consistency judgment itself embodies the core logic of anthropomorphization: the “persona” users perceive comes from the stable recurrence of tone across different contexts; in engineering, this manifests as a set of automatically executable verification steps.
6. From Text Settings to Video Works: Cloud Support for the Secondary-Creation Pipeline
For an anthropomorphic “character setting” to become the short films and short comics visible in a community, it also needs a complete secondary-creation pipeline. A typical pipeline includes: script generation → storyboard script → character image and scene generation → voice-over → editing and composition → publishing and distribution. Each stage has different technical requirements:
- Script generation: takes the persona card and worldview settings as input and outputs a script with scenes, dialogue, and emotion tags.
- Storyboard script: breaks the script down into a shot list, where each shot describes the visual content, camera language, and corresponding dialogue.
- Character image generation: needs to keep the same character’s appearance consistent across shots, typically relying on reference images, fixed prompt templates, and a unified visual style.
- Voice-over: assigns a different timbre to each character and keeps it consistent throughout the work.
- Editing and composition: completes subtitles, sound effects, transitions, and output encoding.
Supporting this pipeline usually requires a combination of several general cloud capabilities: inference services provide text, image, and speech generation; object storage holds character settings, assets, and finished works; media processing handles transcoding, screenshotting, and audio-video composition; content delivery acceleration ensures a good viewing experience; logging and monitoring/alerting observe task status and resource usage; and batch computing or container platforms carry time-consuming tasks such as rendering and composition.
For example, Baidu AI Cloud’s general-purpose product categories already cover large-model services, object storage, media processing, content moderation, and logging/monitoring/alerting. Developers can combine them as needed instead of building separate infrastructure for each stage.
Engineering also requires attention to asynchrony and idempotency: generation tasks often take several minutes, so submission and execution should be decoupled via a task queue, and each task should be assigned a unique identifier to avoid wasted resources from duplicate submissions.
7. Safety and Compliance: A Baseline Anthropomorphic Scenarios Must Not Cross
Anthropomorphic apps have high emotional intensity and deep interaction, so security risks are correspondingly higher. Recommended protections:
- Parallel pre- and post-moderation: identify risks in user input before generation and audit output after generation, covering text, image, and audio/video across the full pipeline.
- In-character refusal strategy: write safety policies into the persona card so the character refuses inappropriate requests in its own voice, balancing safety and experience.
- Minor protection: strictly limit character images and interactive content involving minors; products aimed at minors should follow stricter content and time-management requirements.
- Synthetic-content labeling: generated images, audio, and video should be clearly labeled per relevant regulations to avoid being mistaken for real footage.
- Portrait and personality-rights boundaries: character images should be primarily original designs, avoiding the use of real people’s names, likenesses, and voices.
- Evaluation and red-teaming: periodically test with adversarial prompts whether a character can be induced to leave its safety boundary, and turn discovered problems into test cases.
8. Effect Evaluation and Launch Process
The effectiveness of an anthropomorphic app cannot be judged only by “whether the answer is correct.” It is recommended to build an evaluation system around the following dimensions:
- Persona consistency: whether replies match the tone, catchphrases, and personality defined in the persona card, evaluated by combining model scoring with manual spot checks.
- Character distinctiveness: whether different characters’ replies can be clearly distinguished in the same situation. A “provenance-classification” test can be designed, giving anonymous replies to reviewers to judge which character they came from, and computing classification accuracy.
- Plot coherence: whether scene switches and relationship-state changes are consistent front to back, and whether there are obvious logical breaks.
- Safety-compliance rate: the interception rate and false-positive rate for violating content are the two basic metrics of safety capability.
- Performance and cost: first-token latency, generation speed, and token consumption per turn. Multi-character interaction requires calling multiple characters simultaneously, so both cost and latency scale up, and this should be a must-test item before launch.
The launch process should follow a closed loop of “offline evaluation → small-traffic canary → online monitoring → problem feedback”: each change to a persona card or orchestration logic should first complete regression on a fixed test set, then be observed via canary release, and discovered problems should be solidified into new test cases.
Conclusion: Anthropomorphization Is the Interface; Engineering Is the Moat
That LLMs get made into “AI girls” and “paired up” is, on the surface, a community-culture phenomenon, but at its core it reveals an important rule of human-computer interaction: when a model’s capabilities are general enough, users will proactively assign it a personality in order to establish a stable interaction expectation. Anthropomorphization lowers the barrier for ordinary users to understand and use AI, fan works lower the barrier to content production, and the content ecosystem formed by combining the two, in turn, provides rich demand scenarios for anthropomorphic apps.
For developers, what is truly worth investing in is not the single point of “making the model act more like a human,” but building a complete engineering system around persona definition, memory management, multi-character coordination, safety compliance, and effect evaluation. A persona can be designed, memory can be managed, a plot can be orchestrated, and risks can be intercepted. Only by distilling these capabilities into reusable, maintainable, measurable engineering components can anthropomorphization grow from a passing internet trend into a sustainably operable product capability.
