Zum Inhalt
HALOWERK

Gamingwerk

npc dialogue gen

Selects and fills a small declared dialogue template using a caller-supplied seed, NPC name, intent, tone, and facts. It produces a reproducible writing prompt, not model-generated prose, lore verification, localization, or a complete conversation system.

POST https://gaming.halowerk.com/v1/npc-dialogue-gen

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
seedstringJaStable seed used only for deterministic template selection.
npc_namestringJa
player_namestringJa
intentstringJa
tonestringJa
factsarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "seed",
    "npc_name",
    "player_name",
    "intent",
    "tone",
    "facts"
  ],
  "additionalProperties": false,
  "properties": {
    "seed": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "Stable seed used only for deterministic template selection."
    },
    "npc_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "player_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "intent": {
      "type": "string",
      "enum": [
        "greet",
        "warn",
        "offer_quest",
        "trade",
        "refuse"
      ]
    },
    "tone": {
      "type": "string",
      "enum": [
        "warm",
        "formal",
        "wary",
        "urgent",
        "dry"
      ]
    },
    "facts": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 512,
        "description": "A fact that may be surfaced verbatim."
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "seed": "harbor-night-17",
  "npc_name": "Captain Ilyra",
  "player_name": "Mara",
  "intent": "offer_quest",
  "tone": "wary",
  "facts": [
    "The east beacon stopped at midnight.",
    "The harbor gate closes at dawn."
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://gaming.halowerk.com/v1/npc-dialogue-gen/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →