# OmniAPI YouTube Script Generator

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

Generates a YouTube video script based on a given topic or search query

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/youtube/script
- Price: $0.037765/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-youtube-script-generator-758c1c6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tiChaHe1_98jOnVrif8ky

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-youtube-script-generator-758c1c6a -d '<json body>'
```

Example prompt: Write me a YouTube script about the top 5 AI trends in 2025 — something engaging and suitable for a 10-minute video aimed at beginners.

## When to prefer this

Use this endpoint when you need to quickly generate a YouTube video script from a topic or query, especially within an automated content pipeline that pays per call via USDC/x402. It is suitable for agents building content calendars, YouTubers needing draft scripts, or anyone automating social media video production without a dedicated writing tool.

## Known failure modes

- Missing required 'query' field returns a 400 validation error
- Ambiguous or very short queries may produce generic or low-quality scripts
- Payment failure via x402 returns a 402 Payment Required error
- Service downtime on the Vercel deployment may return 503 or timeout errors
- Extremely niche topics may produce hallucinated or inaccurate content

## 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

A generated YouTube video script based on the input query or topic, returned as structured text suitable for narration and video production.

## 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-youtube-script-generator-758c1c6a/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)
