Characters

Characters carry the Truby-style want / fear / lie axes that drive the chapter writer's sense of who the character is, plus optional aliases, role, bio, and voice profile. At least one isPov: true character is needed for multi-POV books.

List characters

GET /v1/books/{bookId}/characters
authorization: Bearer ant_live_…

→ 200 {
  "data": [
    {
      "id": "8b0c…",
      "name": "Marin",
      "aliases": ["the salt-keeper"],
      "role": "protagonist",
      "bio": "Lighthouse keeper, raised by her grandmother in Tide's Cove.",
      "voiceProfile": "Spare, water-bound, never apologetic.",
      "want": "to keep the village safe through one more storm",
      "fear": "becoming the version of her mother she swore she wouldn't",
      "lie": "love is something you earn by being useful",
      "isPov": true
    }
  ]
}

Create a character

POST /v1/books/{bookId}/characters
content-type: application/json
authorization: Bearer ant_live_…

{
  "name": "Selene",
  "role": "antagonist",
  "want": "to break the village's grip on the cove",
  "fear": "being forgotten",
  "lie": "control is the only love that doesn't decay",
  "isPov": false
}

Patch + delete one character

PATCH /v1/books/{bookId}/characters/{characterId}
content-type: application/json
authorization: Bearer ant_live_…

{
  "voiceProfile": "Clipped, generous with silence, never repeats herself."
}
DELETE /v1/books/{bookId}/characters/{characterId}
authorization: Bearer ant_live_…

→ 200 { "data": { "ok": true } }

Conflict edges that referenced the deleted character are cleaned up automatically.

Field reference

  • name — required, ≤ 120 chars.
  • aliases — up to 20 short alternate names.
  • role (≤ 200), pronouns and age (≤ 40), bio (background, ≤ 2000), appearance (≤ 1000), tics (≤ 500), voiceProfile (≤ 2000) and register (≤ 240) — free-form text; null or an empty string clears one. Authors edit the same fields in the studio's Characters tab.
  • want / need / fear / lie / truth — one short clause each (≤ 240 chars). Setting any to null drops it from the chapter prompt.
  • isPov — true marks the character as a POV carrier.
  • arcMovements — read-only on GET: the arc track_character_arcs found, with one movement per chapter (chapterOrder, beat want | need | lie | truth, direction advance | regress | flat, note), oldest first. Empty until it has run for that character.

Add a conflict between two characters

Records one edge in the book's conflict matrix, which the chapter writer reads. Body: toCharacterId (another character in the same book), kind (blocks, rivals, loves, fears, manipulates, protects, betrays or other) and an optional description (up to 280 characters). Free. Returns 201.

POST /v1/books/{bookId}/characters/{characterId}/conflicts
authorization: Bearer ant_live_…
content-type: application/json

{ "toCharacterId": "3f1a…", "kind": "rivals", "description": "Both want the keeper's post." }

→ 201

Portraits and reference images

generate_character_portrait draws a character and lock_character_portrait locks a portrait as a reference. Locked details go into every later chapter, scene and cover prompt. Portraits Anthra generated are also sent to the image model as reference images, up to 4 per image; uploaded portraits stay text-only. Art can still drift, so review it, and use repair_illustration to redraw one picture against the locks.

From the MCP

list_characters, create_character, update_character, and delete_character are all available over the MCP server too. The conflict matrix is wrapped by list_character_conflicts, add_character_conflict, and remove_character_conflict.