{"uid":"cap_xaiPO8K521mrH6p6UzYh7","slug":"x402-zoo-npc-generator-7a8324ff","name":"x402-zoo NPC Generator","description":"Generate a structured fictional NPC with identity, role, personality, motive, secret and mannerism.","url":"https://x402-zoo.lolagent.workers.dev/api/npc","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"role":{"type":"string"},"seed":{"type":"string"},"tone":{"type":"string"},"species":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Sr9TbZptNMdGAAOOAVS7w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a structured fictional non-player character (NPC) with identity, role, personality, motive, secret, and mannerism attributes.","exampleAgentPrompt":"Can you generate a fictional NPC for me — a human innkeeper with a mysterious tone? Use seed 42 so I can reproduce it later.","exampleUseCases":[{"title":"Tabletop RPG session prep","prompt":"I'm running a D&D session tonight and need a quick NPC — generate me an elven merchant character with a secretive personality and a hidden motive, using seed 77 so I can reuse them later."},{"title":"Video game world-building","prompt":"I'm building a sci-fi game and need a structured NPC profile — can you create an alien bounty hunter character with a gritty tone, including their personality quirks and a secret they're hiding?"},{"title":"Creative writing character inspiration","prompt":"I'm writing a fantasy story and I need a villain NPC — generate me a human cultist with a dark, ominous tone and give me their full profile including their secret and mannerism."}],"resultDescription":"A structured JSON object containing fictional NPC fields: identity (name, species), role, personality description, motive, a secret they are hiding, and a distinctive mannerism — all generated according to the optional role, species, tone, and seed parameters supplied.","failureModes":["Invalid or unsupported query parameter values may result in default fallback generation or an error response","Payment failure (402) if the x402 micropayment of $0.002 USDC is not supplied or is invalid","Seed-based reproducibility may vary if the underlying model or logic changes between versions","Network timeout on Cloudflare Workers edge if the generation takes too long"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, affordable ($0.002 USDC), structured NPC profile on demand — especially useful for game masters, game developers, or fiction writers who need reproducible characters via seed values. Prefer this over a general LLM prompt when you want a reliably structured JSON output with specific NPC fields (identity, motive, secret, mannerism) without prompt engineering overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:50:41.255Z","isFirstParty":false}