Studiov1.0.0
signal:// a2v developers

API & Agent Control

The studio turns pasted ASCII, ANSI, multi-frame text, JSON/NDJSON streams, and asciicast recordings into reconstructed video. The HTTP API gives scripts, automations, and AI agents the same source parser plus stateless SVG, HTML, ANSI, JSON, NDJSON, and text rendering with CRT styling. Trusted source/WebM handoffs are a browser studio path for preserving original source artifacts without degrading them through ASCII.

Live playground

POST /api/v1/render
cURL
curl -X POST /api/v1/render \
  -H "Content-Type: application/json" \
  -d '{"ascii":"___\n   .-''   ''-.\n  /  .-'''-.  \\\n |  /  /_\\  \\  |\n |  |   |   |  |\n  \\  '-...-'  /\n   '-._____.-'\n signal://a2v","format":"svg","monoColor":"#22c55e","background":"#050805","glow":0.6,"scanlines":true}'
Response

Run a request to see the output.

Endpoints

GET/api/health
GET/api/v1/health
GET/api/docs
POST/api/v1/render
POST/api/mcp
GET/api/v1/agent
GET/api/openapi.json

Render parameters

ParamTypeDefaultDescription
formatenumsvgsvg | html | ansi | json | json-stream | text output artifact.
monoColorhex#22c55ePhosphor / glyph color.
backgroundhex#050805Backdrop color (svg/html).
glowfloat 0–10.6CRT phosphor bloom amount (svg/html).
scanlinesbooleantrueOverlay CRT scanlines (svg/html).
fontSizeinteger 6–4814Cell height in px (svg/html).
gradientTohex | nullnullOptional top→bottom gradient target color.
frameinteger0Frame index for multi-frame / .cast input.
trimbooleantrueTrim blank border rows and columns.
Formats:svghtmlansijsonjson-streamtext

Agents & MCP

POST /api/mcp

The Model Context Protocol endpoint speaks JSON-RPC 2.0 and exposes a single render_ascii tool. Point any MCP-compatible agent at the endpoint, or fetch the agent manifest for ready-to-run recipes.

MCP tool call
curl -X POST /api/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "render_ascii",
      "arguments": { "ascii": "signal://a2v", "format": "ansi" }
    }
  }'

Discovery