Skip to content

Commit 56ec175

Browse files
authored
Merge pull request #1 from BeatAPI/codex/realtime-baseline
Add secure Realtime Video MCP tools
2 parents 197de98 + dea88c5 commit 56ec175

27 files changed

Lines changed: 1393 additions & 106 deletions

.codex-plugin/plugin.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "beatapi-codex-plugin",
3-
"version": "0.1.0",
4-
"description": "Create and manage BeatAPI AI music video and ecommerce video workflows from Codex.",
3+
"version": "0.2.0",
4+
"description": "Create and manage BeatAPI async and realtime AI video APIs from Codex.",
55
"author": {
66
"name": "BeatAPI",
77
"email": "support@beatapi.io",
@@ -14,14 +14,15 @@
1414
"beatapi",
1515
"ai-video",
1616
"music-video",
17-
"ecommerce-video"
17+
"ecommerce-video",
18+
"realtime-video"
1819
],
1920
"skills": "./skills/",
2021
"mcpServers": "./.mcp.json",
2122
"interface": {
2223
"displayName": "BeatAPI",
23-
"shortDescription": "Create AI music videos and product ads",
24-
"longDescription": "Use one existing BeatAPI account and API key from Codex to upload inputs, check credits and concurrency, create asynchronous Music Video and Ecommerce Video tasks, manage storyboard shots, monitor progress, retrieve hosted results, and configure webhooks.",
24+
"shortDescription": "Manage async and realtime AI video APIs",
25+
"longDescription": "Use one existing BeatAPI account and API key from Codex to upload inputs, check credits and concurrency, create asynchronous Music Video and Ecommerce Video tasks, manage short-lived Realtime Video sessions, monitor progress, retrieve hosted results, and configure webhooks.",
2526
"developerName": "BeatAPI",
2627
"category": "Creativity",
2728
"capabilities": [
@@ -34,6 +35,7 @@
3435
"defaultPrompt": [
3536
"Use $beatapi-video to create a music video from my images and audio.",
3637
"Use $beatapi-video to turn my product images into a vertical ad.",
38+
"Use $beatapi-video to create a 60-second realtime session for my web app.",
3739
"Use $beatapi-video to check my credits and task status."
3840
],
3941
"brandColor": "#2563FF",

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
## Unreleased
44

5+
## 0.2.0 - 2026-07-31
6+
7+
- Added Realtime Video session create, read, and close MCP tools.
8+
- Store the one-time Realtime browser client secret in a mode-`0600` local file
9+
and keep it out of model-visible tool results.
10+
- Synchronized the canonical Skill, official client runtime, and public OpenAPI
11+
contract to the Realtime baseline.
12+
- Added exact-origin, duration, idempotency, billing, and browser trust-boundary
13+
guidance.
514
- Prefer bundled MCP execution in the canonical Skill with CLI fallback.
6-
- Distinguish missing authentication from unexpected CLI runtime failures.
7-
- Align MCP usage fixtures with the current BeatAPI OpenAPI contract.
8-
- Clarify that the public Skills-only package does not bundle the local MCP
9-
server and may require the official CLI.
1015

1116
## 0.1.0 - 2026-07-17
1217

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# BeatAPI Codex Plugin
22

3-
Create and manage BeatAPI AI Music Video and Ecommerce Video workflows directly
4-
from Codex. The plugin combines the canonical `beatapi-video` Skill with a
5-
bundled local MCP server and uses the same API key as the BeatAPI CLI.
3+
Create and manage BeatAPI asynchronous workflows and Realtime Video sessions
4+
directly from Codex. The plugin combines the canonical `beatapi-video` Skill
5+
with a bundled local MCP server and uses the same API key as the BeatAPI CLI.
66

77
## What users can do
88

@@ -11,6 +11,7 @@ bundled local MCP server and uses the same API key as the BeatAPI CLI.
1111
- create automatic or manual Music Video tasks;
1212
- inspect, edit, materialize, and compose storyboard shots;
1313
- create Ecommerce Video tasks;
14+
- create, inspect, and close short-lived Realtime Video sessions;
1415
- poll asynchronous tasks until a terminal or actionable state;
1516
- create, inspect, update, and delete webhook endpoints.
1617

@@ -19,6 +20,11 @@ The plugin does not put API keys in prompts or MCP tool arguments. It first uses
1920
`beatapi` CLI, which reads the key saved by `beatapi auth login` from the
2021
operating-system credential manager.
2122

23+
Realtime creation stores the one-time browser `client_secret` in a local file
24+
with mode `0600`; it is never returned to the model. The agent manages only the
25+
server-side session. Camera permission, WebRTC, and rendering remain in the
26+
browser SDK.
27+
2228
## Install for Codex desktop
2329

2430
Prerequisites:
@@ -51,6 +57,7 @@ Restart the desktop app after installation. Useful starter requests include:
5157
- “Use `$beatapi-video` to create a music video from my images and audio.”
5258
- “Turn these product photos into a 15-second 9:16 ad.”
5359
- “Check my BeatAPI credits and the status of task `task_...`.”
60+
- “Create a 60-second Realtime Video session for `https://app.example.com`.”
5461

5562
## Package layout
5663

0 commit comments

Comments
 (0)