PlayAI model · API & MCP
PlayAI is PlayableLab's ad production model. Use the REST API or MCP to produce finished ad videos for download, the same single-shot production as the dashboard, from your own stack or assistant apps.
One job per request, one output: a finished ad video (MP4). Send a brief, optionally with a product link, reference images, a reference clip, or campaign data, and poll for status, then fetch fileUrl as raw bytes (not JSON). Credits apply to the account that owns the API key.
| Input | Output |
|---|---|
| Brief (prompt + aspect ratio, optional duration, references, campaign data) | Finished ad video (MP4) |
Sign in at PlayableLab → profile menu → API integration → Create key. Copy the API key and webhook signing secret when shown — each is only displayed once.
Send your key as a Bearer token. Keep it on your server only, never in a browser or mobile app.
Start a job, then either poll GET /runs/{id} until terminal status or pass HTTPS callback_url on POST /run for a completion webhook. Download the MP4 with the same API key. Up to 5 unfinished jobs per account.
POST /api/public/v1/run
GET /api/public/v1/runs/{id}
GET /api/public/v1/runs
Use fileUrl from the succeeded run JSON.
Authenticate with Authorization: Bearer plk_live_… (create keys in dashboard → API integration). Wait for completion by polling GET /runs/{id} or by adding HTTPS callback_url on POST /run. Verify inbound webhooks with whsec_… from the same dashboard panel.
Connect PlayableLab, sign in with your account, ask for an ad video, and receive a secure download link in chat. No API key required. MCP delivery is download-only, to produce a new version, send a new brief.
In Claude, open Customize and choose Connectors.
Add PlayableLab using the connector URL above. Do not paste an API key.
Click Connect and sign in with your PlayableLab account.
Then ask Claude to produce an ad video.
Coming soon to ChatGPT. PlayableLab is not yet in the public app directory. When listing goes live: Plugins / Apps → PlayableLab → Connect → Sign in, then ask for an ad video.
For custom MCP connector setup before public listing: in a ChatGPT workspace with Developer Mode enabled, open Workspace Settings → Apps → Create, add PlayableLab with , and connect your account. Codex workspaces can use the same connector URL when MCP apps are enabled by your admin.
When your ad is ready, the assistant receives a secure download link in the tool result (not a host-app webhook). Links expire after a limited time — store the MP4 on your side. For server webhooks and REST polling, see the API integration tab.