Accès API
Achetez un pack vidéo et recevez un code. Utilisez-le dans le formulaire (« J'ai un pack ») ou depuis votre app avec l'API. Le code est le solde : pas de compte.
Packs vidéo
5 videos
US$12 · US$2.40 each · économisez 20%
10 videos
US$21 · US$2.10 each · économisez 30%
A one-minute 2D video is one video; a 3D one or one over a minute uses more, rounded up. The key holds the balance — no account.
Documentation
GET /api/v1/styles- Liste des styles et de leurs identifiants.
GET /api/v1/voices?language=<en|es|pt|fr>- Narrators for a language, each with a sample mp3. No key needed.
GET /api/v1/quote?style=<id>&duration=<s>- Videos, 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 (characters f, f2…f10 and m, m2…m9, plus accent ids such as far/mar, fuk/muk, fpt/mpt, fqc/mqc; GET /api/v1/voices (or list_voices on the MCP) returns all with samples), music (none by default, auto, 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>- Statut : status, stage, progress, etaSeconds, videosAhead et downloadUrl une fois la vidéo prête.
GET /api/v1/balance- Videos and tokens left on the key.
POST /api/mcp- Serveur MCP (Streamable HTTP) pour agents IA : list_styles, list_voices, list_music, get_quote, create_video, get_video, get_balance. La clé se place dans l'en-tête Authorization ; les fichiers en 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"Erreurs : 401 invalid_key, 402 insufficient_balance (avec balance et needed), 400 avec le champ en cause, 429 rate_limited.