# whatchuneed LLM Text Generation

> whatchuneed LLM Text Generation is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Generates text from a prompt using a hosted LLM, with optional style and length controls, for $0.05 USDC per call via x402 protocol.

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/llm/generate
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-llm-text-generation-d8a9a561
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7cO_EZ3_OvrjhQrdR9C7z

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 whatchuneed-llm-text-generation-d8a9a561 -d '<json body>'
```

Example prompt: Write a short, casual-style paragraph introducing our new productivity app called FocusFlow — keep it under 100 words and punchy.

## When to prefer this

Choose this endpoint when you need pay-per-call LLM text generation without managing API keys or subscriptions, and you are already using the x402 micro-payment protocol. It is well suited for lightweight agents that need occasional text generation across varied styles and lengths without committing to a dedicated LLM provider contract.

## Known failure modes

- Missing required 'prompt' field returns a 400 validation error
- Payment not provided or invalid x402 payment header returns 402 Payment Required
- Invalid 'style' or 'length' values may be ignored or cause a 400 error
- Prompt too long may exceed model context limits and return an error
- Service unavailability on the hosted LLM backend returns a 503 or 500 error

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a JSON object containing the generated text string, the name of the model used to generate it, and the word count of the output.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "style": {
   "type": "string"
  },
  "length": {
   "type": "string"
  },
  "prompt": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "model": {
   "type": "string"
  },
  "word_count": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-llm-text-generation-d8a9a561/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
