# PrimeAPI YouTube Script Generator

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

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

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/youtube/script
- Price: $0.198008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-youtube-script-generator-c25f5e84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ssRy3O5THzBS7IhTvsmEg

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

Example prompt: Write me a YouTube video script about the top 5 productivity tips for remote workers — something engaging, around 5-7 minutes long with a strong hook and clear sections.

## When to prefer this

Use this endpoint when an AI agent needs to generate a ready-to-use YouTube video script from a topic or search query, especially when no API key is available and payment via USDC on Base (x402 protocol) is acceptable. Prefer this over general text generation when the output format specifically needs to be a YouTube-optimized video script.

## Known failure modes

- Empty or missing query field returns an error
- Vague or ambiguous query may produce a generic or low-quality script
- Service unavailability returns 402 or 5xx HTTP errors
- Payment failure in USDC on Base blocks the request
- Very long or complex topics may produce truncated output

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

A generated YouTube video script tailored to the provided query or topic, likely including structured sections such as an intro, main content segments, and an outro suitable for video narration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-youtube-script-generator-c25f5e84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
