# MomoTalk (/docs/momotalk)

MomoTalk is a chat that looks like a phone messenger. You write to a Blue Archive
student, and she answers with a stack of short bubbles instead of one long
message. The student has a mood, a relationship, and a schedule, so a chat that
waits a day feels different from a chat that waits a minute.

Open **MomoTalk** in the sidebar (or `/momotalk`).

## How a turn works [#how-a-turn-works]

1. You send a line.
2. The student answers with **one or two bubbles** in the common case. A longer
   stack is possible, but it is the exception.
3. The bubble text never starts with her name. If the model writes `Ako: ...`,
   the app removes the label before the line is stored.
4. The turn is saved before it is answered, so a lost connection does not lose
   your message. A reply that arrived while you were away is waiting in the room.

Each turn is one model call. The stats row counts model calls, not bubbles, so
the cost does not grow with the number of rows you see.

## Mood and time [#mood-and-time]

A student is not a static prompt. Her mood is stored as a small set of numbers and
a stage. Time makes the mood drift: a chat left alone moves toward a quieter or
more hurt tone without any scheduled job.

- **Relationship panel** shows the current mood, stage, and tone, and the reason
  the tone changed.
- **Time sensitivity** means the model knows the date and your chat timezone, so a
  student can react to "today" and to a long silence.
- A mood change is committed only when the turn succeeds. A failed turn changes
  nothing.

## She writes first [#she-writes-first]

When you stop writing, a student can send a line on her own. The thresholds are
**30 minutes, 8 hours, 24 hours, and 72 hours**. One stage, one line.

| Mode | Who writes | Cost |
| --- | --- | --- |
| `ai` (default) | The free model pool, in her voice, from her mood | Free |
| `template` | A fixed line from her voice bank | Free, instant |

A proactive line never costs you credits. You did not ask for it, so the app does
not bill it, even when the chat uses a paid model.

Presence decides whether that line is worth writing. A student writes the line you
chose while you are active, a template line when you are dormant, and nothing at
all when the account is blocked.

## Photos [#photos]

Ask for a picture in words: "send me a pic of you". The app also offers a photo
control in the composer.

- A picture is **priced at the send**, and the price is shown before it is made.
- A repeated request in the same setting is **free**. The app keeps one shared
  photo cache per student and setting, so the second person to ask does not pay
  twice.
- If you cannot pay, the chat still continues. The line says the photo was not
  generated.
- A photo comes with a short vision description, so the student can talk about the
  picture she sent.

## Her voice [#her-voice]

A bubble can be spoken aloud. A student with no built voice is an offer, not an
error: you pay one credit to build her voice once, and every account can then use
it for free.

- The build reads the Blue Archive wiki for Japanese voice lines, picks the
  reference clips, and clones the voice from them.
- A student with no Japanese transcription is marked **unavailable** with a
  reason. The control still appears and explains, because a missing button reads
  as a broken feature.
- Speaking a line costs credits because the text-to-speech provider bills it.
  About 0.003 USD for a 40-character line.
- Japanese is the source language. The line is translated before it is spoken.

## Group rooms [#group-rooms]

A MomoTalk room can hold several students. The roster allows **10 people including
you**, so up to nine students can join. Members rotate so the room does not become
one student answering everything, and the next speaker is saved with the
conversation, so a reload does not change who answers.

A one-to-one history is plain text. A group history uses `Name: text` because a
group model cannot tell the members apart without it.

## Deleting a line [#deleting-a-line]

You can delete your line or a student's line. A system notice cannot be deleted.
A deleted line is hidden from the transcript, never sent to the model, never
counted as unread, and never answered by a queued job.