# x402vid Shorts to Script Generator

> x402vid Shorts to Script Generator is a paid API for AI agents from x402vid.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-23).

Generates a structured short-form video script (15–90 seconds) for a given topic, with optional hook style, powered by Muse Spark 1.3

## Facts

- Endpoint: POST https://x402vid.com/tools/shorts_to_script?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402vid-shorts-to-script-generator-817499a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0cOTtvH1KKqS9C0b-8Xiq

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 x402vid-shorts-to-script-generator-817499a4 -d '<json body>'
```

Example prompt: Write me a 30-second YouTube Shorts script about the psychology of procrastination using a curiosity hook.

## When to prefer this

Choose this endpoint when you need a fully structured short-form video script (15–90 seconds) for YouTube Shorts, with controllable hook styles (vs-battle, fear, curiosity). It is ideal for content automation pipelines, AI-assisted channel management, or agent-driven video production workflows that need pay-per-call pricing with no subscription commitment.

## Known failure modes

- Missing required 'topic' field returns a 400 validation error
- duration_secs outside 15–90 range may be rejected or clamped
- Invalid hook_style value may be ignored or return an error
- Payment failure (insufficient USDC balance) returns a 402 Payment Required
- Service unavailability from the Muse Spark 1.3 backend returns a 5xx error

## How this service works

x402vid — endpoint discovery for YouTube intelligence: pay-per-call micropayment API catalog via x402 on Base. Muse Spark 1.3 video intelligence, API catalog: 21 total tools (15 paid +6 free), pay per call USDC from $0.01. Free discovery: GET /api/v1/catalog, GET /api/v1/models, GET /api/v1/trending/top, video_preview. No subscriptions.

## Output

Returns the original topic string and a script_report object containing the generated short-form video script, likely including hook, body, and call-to-action sections structured for the requested duration and hook style.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "topic"
 ],
 "properties": {
  "topic": {
   "type": "string",
   "description": "Video topic for the script"
  },
  "hook_style": {
   "type": "string",
   "description": "Optional hook flavor (vs-battle, fear, curiosity)"
  },
  "duration_secs": {
   "type": "integer",
   "description": "Target length 15-90s (default 30)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "topic": {
   "type": "string"
  },
  "script_report": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402vid-shorts-to-script-generator-817499a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402vid.com](https://www.zero.xyz/host/x402vid.com/llms.txt)
