# Companion Backstory Generator

> Companion Backstory Generator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-03).

Generates rich companion character histories complete with a personal goal and a story complication, optionally seeded and themed for a specific game world.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/companion-backstories?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/companion-backstory-generator-53381839
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M1NodC9Sg0JZhjlJS8BvI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability companion-backstory-generator-53381839 -d '<json body>'
```

Example prompt: Generate 3 companion backstories for a dark fantasy world called the Shattered Realm, where magic is outlawed — each should have a personal goal and a story complication that ties into the setting's lore.

## When to prefer this

Choose this endpoint when you need structured companion character backstories with explicit personal goals and story complications — especially when you want thematic coherence with a specific game world or lore context, or when reproducibility via seed is needed for playtesting. Prefer this over general NPC generators when the character must be a companion role with narrative depth rather than a one-off NPC profile.

## Known failure modes

- count exceeds maximum of 5 — returns validation error
- malformed input schema — returns 400 bad request
- payment failure via x402 protocol — returns 402 payment required
- theme or context strings too long or unsupported — may return truncated or generic output
- seed provided but not recognized format — may still generate but reproducibility not guaranteed

## How this service works

Companion backstory generator: Generate companion histories with a personal goal and story complication.

## Output

Returns one or more companion character backstories, each containing a narrative history, a personal goal that drives the character, and a story complication that introduces conflict or depth — suitable for direct use in game writing, TTRPGs, or narrative design pipelines.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "description": "Optional repeatable seed."
  },
  "count": {
   "type": "integer",
   "default": 1,
   "maximum": 5,
   "minimum": 1
  },
  "theme": {
   "type": "string",
   "description": "Optional world or project theme."
  },
  "context": {
   "type": "string",
   "description": "Optional constraints or established lore."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/companion-backstory-generator-53381839/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
