# OmniAPI AI Joke Generator

> OmniAPI AI Joke Generator is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.148833/call, status unknown (last checked 2026-09-14).

Generates a joke on demand based on a query or topic input, delivered as a paid-per-call AI endpoint via x402/USDC.

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/joke
- Price: $0.148833/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-ai-joke-generator-c41ed733
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v0uUOXzw6J3DAzb3eAoIC

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 omniapi-ai-joke-generator-c41ed733 -d '<json body>'
```

Example prompt: Tell me a joke about software engineers using the OmniAPI joke generator — something clever and punchy.

## When to prefer this

Choose this endpoint when you need quick, on-demand AI-generated jokes themed around a specific topic and are operating in an x402/USDC micropayment context. It is best suited for chatbots, entertainment apps, or content pipelines that need humor generation without maintaining their own LLM infrastructure. Prefer alternatives if you need fine-grained joke style control, multi-joke batches, or free/non-crypto payment options.

## Known failure modes

- Missing required 'query' field returns a 400 validation error
- Payment failure via x402 (insufficient USDC balance or unsupported facilitator) results in a 402 response
- Overly vague or empty query may produce a generic or low-quality joke
- Rate limiting or server errors on the Vercel deployment may return 500 errors
- Unsupported input types in params object may be silently ignored

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns an AI-generated joke as a text response, typically including a setup and punchline or a one-liner, themed around the query topic provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-ai-joke-generator-c41ed733/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
