ABcontents

API access

Buy tokens, get a key, make videos from your own app. The key is the wallet: no account.

Token packs

25 tokens

$25

100 tokens

$90 · save 10%

500 tokens

$400 · save 20%

Reference

GET /api/v1/styles
List of styles and their ids.
GET /api/v1/quote?style=<id>&duration=<s>
Tokens, price and estimated wait (current queue included). No key needed.
POST /api/v1/videos
Creates a video and debits the tokens. Multipart: logo (optional), files (up to 9: PDF, DOCX, XLSX, PPTX, ODT/ODS/ODP, CSV, TXT, MD, PNG, JPG, WebP, GIF, HEIC), kind, lang, voice (f, f2, f3, f4, f5, m, m2, m3, m4, m5), music (auto, none, own + musicFile, ambient, chip, cine, funk, lofi, lux, pop, quirky, synth, tension), style, durationS (30–300), brief, brandName, brandSay (how the brand is pronounced, optional), email (optional: we mail the order link and the finished video), format (9:16 default, 4:5, 1:1, 16:9), siteUrl (optional: a public website to make the video from) and siteLogo (auto = use the best logo found on it). At least one file or a brief is required.
GET /api/v1/videos/<id>
Status: status, stage, progress, etaSeconds, videosAhead and downloadUrl when ready.
GET /api/v1/balance
Tokens left on the key.
POST /api/mcp
MCP server (Streamable HTTP) for AI agents: list_styles, list_voices, list_music, get_quote, create_video, get_video, get_balance. The key goes in the Authorization header; files as base64.
curl -X POST https://abcontents.com/api/v1/videos \
  -H "Authorization: Bearer $ABC_KEY" \
  -F logo=@logo.png \
  -F files=@brochure.pdf -F files=@photo.jpg \
  -F kind=marketing -F lang=en -F voice=f \
  -F style=kinetic-type -F durationS=60 \
  -F brief="Launch offer: 20% off in November"

Errors: 401 invalid_key, 402 insufficient_balance (with balance and needed), 400 with the failing field, 429 rate_limited.