80trust / 100

Npc Dialogue Gen

by gaming.halowerk.com in Security & trust

x402 APIPassing, checked 3 h ago

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
112 ms typical, 141 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://gaming.halowerk.com/v1/npc-dialogue-gen" \
  -H "content-type: application/json" \
  -d '{"facts":["The east beacon stopped at midnight.","The harbor gate closes at dawn."],"intent":"offer_quest","npc_name":"Captain Ilyra","player_name":"Mara","seed":"harbor-night-17","tone":"wary"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgaming.halowerk.com%2Fv1%2Fnpc-dialogue-gen
const res = await pay("https://gaming.halowerk.com/v1/npc-dialogue-gen", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"facts":["The east beacon stopped at midnight.","The harbor gate closes at dawn."],"intent":"offer_quest","npc_name":"Captain Ilyra","player_name":"Mara","seed":"harbor-night-17","tone":"wary"}),
});
console.log(await res.json());

Example input

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402139 ms$0.003
6 h agoPassed402141 ms$0.003
10 h agoPassed402145 ms$0.003
13 h agoPassed402112 ms$0.003
17 h agoPassed40298 ms$0.003
21 h agoPassed402108 ms$0.003
24 h agoPassed40234 ms$0.003
30 h agoPassed402114 ms$0.003