AI assistants
Connect your AI assistant (MCP)
GW Video runs a remote MCP server. Add it to the AI tool you already use and ask for videos in plain words: your assistant plans the video, shows you the plan and the cost, starts the render, waits for it and hands you the download link.
The MCP connector works with a Day Pass, with Pay as you go and on Enterprise. The same API key also works with the REST API.
- Server address
https://gw.video/mcp- Transport
- Streamable HTTP
- Sign-in
- An API key in the header
Authorization: Bearer YOUR_KEY - Name it
gw-video(any name works; the examples use this one)
What it does
Once connected, your assistant can:
- Plan a video from a plain request, including pictures, a sound file or a script document you attach, and show you the plan with a time and cost estimate before anything renders.
- Make single clips up to 20 seconds from text, a start picture, a first and last frame, a sound file or a talking-host script, with a style and a camera move.
- Make multi-shot clips: 2–4 shots joined by cuts in one clip, for a short ad, teaser or montage.
- Make longer stories as Story projects: the same characters and look across many short shots, joined into one video.
- Follow progress and fetch results: queue position, render stage and the download link when the video is ready.
It works in Claude Code, OpenAI Codex, Cursor, Claude Desktop and any other client that speaks MCP.
1. Get an API key
- Sign in and open Account → API keys.
- Name the key after the tool that will use it (for example “Laptop – Claude Code”) and tick the permissions. An assistant that makes videos needs
videos:writeandvideos:read; addaccount:readso it can check your Day Pass or render time. - Copy the key. It starts with
vsk_and is shown once. Below, replaceYOUR_KEYwith it.
One key per tool or computer makes it easy to revoke just one later. You can have up to 10 active keys. A key's permissions can't be changed: to change them, or to replace a key, create a new one and then revoke the old one.
2. Claude Code
Run this once in a terminal:
claude mcp add --transport http gw-video https://gw.video/mcp \
--header "Authorization: Bearer YOUR_KEY"
Choose where it is available with --scope:
| Scope | Who and where |
|---|---|
--scope local (default) | Only you, only in the project folder you ran it from. |
--scope user | Only you, in every project on this computer. The usual choice. |
--scope project | Everyone working in the project, through a .mcp.json file in its root. Never put a key in that file: use a variable, as below. |
For a shared project, keep the key in each person's environment (export GW_VIDEO_API_KEY="YOUR_KEY") and commit this .mcp.json:
{
"mcpServers": {
"gw-video": {
"type": "http",
"url": "https://gw.video/mcp",
"headers": { "Authorization": "Bearer ${GW_VIDEO_API_KEY}" }
}
}
}
Check it: claude mcp list should show gw-video as connected (claude mcp get gw-video shows the details). Inside a Claude Code session, type /mcp: the server should have a check mark and list its tools.
3. OpenAI Codex
Codex (the CLI, the IDE extension and the desktop app share one config) reads the key from an environment variable, so the key never sits in a config file.
a. Put the key in your environment. Add this line to ~/.zshrc or ~/.bashrc and open a new terminal:
export GW_VIDEO_API_KEY="YOUR_KEY"
b. Add the server, either with one command:
codex mcp add gw-video --url https://gw.video/mcp \
--bearer-token-env-var GW_VIDEO_API_KEY
or by adding this to ~/.codex/config.toml (or .codex/config.toml in a trusted project):
[mcp_servers.gw-video]
url = "https://gw.video/mcp"
bearer_token_env_var = "GW_VIDEO_API_KEY"
tool_timeout_sec = 60
Check it: codex mcp list lists the server; inside Codex, /mcp shows it with its tools. If calls fail with 401, the variable is not set in the shell that started Codex.
4. Cursor
Add the server to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):
{
"mcpServers": {
"gw-video": {
"url": "https://gw.video/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}
To read the key from your environment instead, write "Bearer ${env:GW_VIDEO_API_KEY}". Then open Cursor Settings → MCP and check that gw-video is enabled and lists its tools.
5. Claude Desktop
Claude Desktop starts local servers, so a small bridge (mcp-remote, run with Node.js 18 or newer) connects it to our server and sends your key. Open Settings → Developer → Edit Config and add this to claude_desktop_config.json:
{
"mcpServers": {
"gw-video": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://gw.video/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": { "AUTH_HEADER": "Bearer YOUR_KEY" }
}
}
}
Quit and reopen Claude Desktop. The tools appear under the tools (slider) icon in a new chat. The header is passed through env so the space in “Bearer YOUR_KEY” survives on Windows too.
6. Other MCP clients
- Clients that take a URL and headers (most do): address
https://gw.video/mcp, transport Streamable HTTP, headerAuthorization: Bearer YOUR_KEY. The server is stateless and answers every request with JSON (no session id, no event stream). Protocol versions: 2025-06-18, 2025-03-26, 2024-11-05. - Clients that only start local (stdio) servers: run the bridge as the server command:
npx -y mcp-remote https://gw.video/mcp --header "Authorization: Bearer YOUR_KEY" - Your own agent on the OpenAI Responses API: pass the server as a tool:
"tools": [{ "type": "mcp", "server_label": "gw-video", "server_url": "https://gw.video/mcp", "headers": { "Authorization": "Bearer YOUR_KEY" }, "require_approval": "never" }] - ChatGPT's own connectors sign in with OAuth only, which we don't offer yet, so they can't use an API key.
Test the connection without any client:
curl -s https://gw.video/mcp \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'
Tools
Your assistant sees these tools and their instructions; you don't call them yourself. They teach it how the service works and how to write a strong prompt.
Projects (every video lives in one)
list_projects | Your projects, Quick videos first: ask which one a new video belongs in. |
setup_project | Starts a project from one sentence: goal, where it is posted, shape, usual format and colours suggested from your words. |
update_project_memory | Changes what every later video of a project keeps the same (goal, format, look, colours, brand, always / never rules). Shown in the project's History; undo there. |
Plan first (easiest)
plan_video | Turns a plain request (plus pictures, a sound file or a script document) into a checked plan with a time and cost estimate: one clip (2–4 shots joined by cuts when you ask for several beats) or a Story project; with pilot_video_id, a longer story that continues one of your videos with its settings and characters. Free: nothing renders yet. |
create_from_plan | Renders a plan once you confirm it: one clip, or a whole story project. |
Single videos
quote_video | Before a clip: its render time and cost in Fast and in Full quality, and whether Full quality is offered for it. Nothing is created. |
create_video | Starts one clip from a prompt, with optional styles, a camera move and a start picture, in Full quality (the default) or Fast. |
make_final | Re-renders a draft at 1080p with its seed, in the draft's quality unless told otherwise: quotes Fast and Full quality first, renders on confirm. |
get_video | Status, queue position and, when it is ready, the download link. Can wait up to 25 s. |
list_videos | Your videos, newest first. |
cancel_video | Cancels a video that is still waiting in the queue (free). Once it starts rendering it finishes by itself. |
archive_video | Archives a finished video: out of your list, nothing deleted, still downloadable. |
restore_video | Brings an archived video back into your list. |
create_upload | A one-time upload link for a start picture, last frame, reference picture, sound file or a script document for plan_video. |
Story projects (longer videos)
create_project | Starts a Story project: one look and the same characters across many short shots. |
add_character | Adds a recurring character, place or product with a fixed description (and pictures). |
add_shot | Adds a shot: what happens, its length, how it links to the shot before, dialogue, camera move. |
create_multishot_clip | Makes 2-4 shots as ONE multi-shot clip (up to 20 s) in one call, with your characters, voice and music, saved in a project. |
update_shot | Changes a shot: prompt, length, link, characters, trim, and whether it joins the clip before (clip: auto, join, alone). |
update_project | Changes a project's settings, and how its shots render: multi-shot clips and chained shots (auto or off). |
render_project | Renders every shot that has no finished take yet, in story order. |
finalize_project | Re-renders every chosen take at the final quality, in the takes' quality unless told otherwise: quotes Fast and Full quality first, renders on confirm. |
get_project | The story's shots, takes and progress, and the download link of the joined video. |
get_take_review | A take's quality check: a score out of 10, a one-line summary and issues with times. |
get_reel_review | The whole film's quality check: a score, a short summary and suggested fixes. |
export_project | Joins the chosen takes into one video (free). |
archive_project | Archives a story project: out of your list, nothing deleted; queued takes are cancelled. |
restore_project | Brings an archived story project back exactly as it was. |
Voices and voice recordings (Voice Studio)
list_voices | Your voice characters with their VC- ids, languages, gender, style and consent status. |
list_voice_presets | Ready-made stock voices you can add. |
add_stock_voice | Adds a stock voice to your voices and returns its VC- id. |
clone_voice | An instant clone of a real person's voice, with that person's recorded consent. |
get_voice | One voice character by its VC- id. |
create_recording | Speaks a script with one voice, however long, with a timing for every line (VR- id). |
upload_recording | Saves your own audio recording as a voice recording (VR- id). |
list_recordings | Your voice recordings, newest first. |
get_recording | One recording: its audio link, length, voice, script and line timings. |
set_project_voice | Gives a story project its voice (VC- id) or imports a recording (VR- id) as its narration. |
Music Studio (MU- ids)
create_music | Makes a song or a background track from words: mood, genre, tempo, key, instruments, length, and lyrics to sing in many languages (Hindi too) or instrumental (MU- id). |
get_music | One track: its status, length, tempo, key, beat grid, versions and MP3 / WAV links. |
list_music | Your music tracks, newest first. |
extend_music | Continues a track by some seconds, or gives it an outro. |
repaint_music | Makes one part of a track again and keeps the rest. |
remix_music | A new style or new lyrics with the same structure (how close is up to you). |
cutdown_music | A 15, 30 or 60 s version with a clean ending. |
delete_music | Removes a track from your Music Studio; projects that use it keep their copy. |
use_music_in_project | Gives a story project a track as its music: ducked under the voice, the shot cuts on its beats. |
Characters (CH- ids)
list_characters | Your characters with their CH- ids, descriptions, voices and picture links. |
get_character | One character by its CH- id. |
create_character | A new character from a name and a description, with 4 picture options to pick from. |
create_character_from_photo | A character from your own photo or drawing: a clean, neutral start picture with the same face (the person in it must have agreed). |
character_options | 4 new picture options for a character that isn't locked yet. |
choose_character_picture | Locks the chosen option as the character's main picture. |
character_sheet | Front, side, 3/4, full body and 3 expressions with the same face. |
edit_character | Changes the main picture in words ("make the jacket blue"), keeping the character. |
delete_character | Removes a character from your library; projects that use it keep it. |
use_character_in_project | Adds the locked character to a story project's cast with its pictures, so every shot with it looks the same. |
Your account
get_balance | Your Day Pass (and when it ends) or the render time you have left, and how much queued videos will use. |
list_options | What your account can make right now: modes, qualities, lengths, voices, styles and camera moves. |
Example conversations
Make a 15 s vertical video of a barista pouring latte art at sunrise in 1080p, glossy commercial look, slow push in.
Calls plan_video, then shows you: “One clip, 15 s, 9:16, 1080p, style Studio Commercial, camera Push In. About 0:09:37 of render time. Shall I make it?”
Yes, go.
Calls create_from_plan, then get_video with a wait until the video is done, and gives you the download link.
Turn this script into a 60-second story. script.pdf
Calls plan_video with the document attached. The plan is a Story project: the characters with fixed descriptions and voices, ten shots of about 6 s each, how each shot links to the one before, and the estimate.
Make the second character older, then start it.
Plans again with your change, calls create_from_plan, follows the shots with get_project, joins them with export_project and gives you one link for the whole film.
I like the fox video I made this morning. Turn it into a 3-minute YouTube story where the fox finds a lost cub.
Finds the video with list_videos, then calls plan_video with its id as pilot_video_id. The plan is a Story project in 16:9 that keeps the video's styles, camera move, quality, frame rate, voice and characters; your video is shot 1 (not rendered or charged again) and the next shot starts on its last frame.
Animate this photo of my shop front with a slow rise up, 6 seconds, 16:9. shop.jpg
Calls create_upload, uploads the file to the link it got, then create_video with "mode": "image" and "camera_motion": "rise-up".
A 15-second vertical ad for our water bottle: a close-up of the bottle on a wet rock at dawn, cut to a runner drinking from it, match cut to the rising sun. Glossy commercial look, the same beat all the way through.
Calls plan_video, then shows you: “One clip in 3 shots, 15 s, 9:16, Draft (the fastest quality, with sound; say “in 1080p” for more), Studio Commercial: close-up of the bottle 5 s, hard cut to the runner 5 s, match cut to the sunrise 5 s. With its estimate of render time. Shall I make it?”
Make the first cut a dissolve, then go.
Changes the second shot's cut in the plan, calls create_from_plan with the edited plan, then get_video until the video is done.
More things to ask: “What styles can I use?” (list_options), “How much render time do I have left?” or “How long does my Day Pass run?” (get_balance), “Cancel the last video.” See the styles & camera moves guide for names to use in your requests.
Multi-shot clips
Ask for a short edit instead of one long take, and the plan becomes one clip of 2–4 shots joined by cuts. It renders in one go, so the music or ambience can carry on across the cuts. Good for ads, teasers, product reveals and quick montages.
How to ask
- Name the cuts: “close-up of the bottle, cut to a runner drinking from it, match cut to the sunrise.” The cuts are hard cut, match cut and dissolve (what each one does).
- Or number the shots: “Shot 1: the empty shop at dawn. Shot 2: the owner unlocks the door. Shot 3: the first customer walks in.”
- Or list three or more moments with “then”: “the kettle boils, then she pours the tea, then she smiles at the window.” A “then” that carries on one sentence (“picks up the ball, then throws it”) is one action and stays one shot.
- A dissolve for time passing: “… dissolve to the same street at night.”
- Say “one continuous shot” or “no cuts” to keep a single shot. Ask for more than 20 seconds or a story, and the plan is a Story project instead.
- One clip holds at most 4 shots: list more moments and some of them share a shot or are left out, and the plan says so. For a shot per moment, ask for a Story project.
How the plan looks
plan_video answers with one clip. Its summary lists the shots, and the shots themselves are in plan.single.multi_shot. For the request in the example above:
Text → Video · Draft (540p) · 9:16 · 15 s · 3 shots in one clip: close-up, hard cut to medium shot, match cut to wide shot · style Studio Commercial ×1
| Shot | How it reads in the prompt |
|---|---|
| 1. Start, 5 s | Close-up of a matte black water bottle on a wet rock at dawn. Droplets of water slide down its side. Slow push in. Cool blue morning light. Sound: a soft electronic beat. |
| 2. Hard cut, 5 s | A hard cut transitions to a medium shot of a young woman in running gear on a coastal path. She stops, drinks from the bottle and twists its round silver cap shut. Handheld, following her. Cool blue morning light. The sound carries on across the cut. |
| 3. Match cut, 5 s | A match cut transitions to a wide shot of the round sun rising over the sea behind the young woman on the cliff path. She runs on toward the light. The camera holds still. Warm golden sunrise light. The sound carries on across the cut. A calm voice says, "Stay cold. Keep moving." |
The clip's prompt is these shots in order, every cut named, with the subject, the shot size and the light said again after each cut. Your assistant shows you the plan before anything renders.
- Change it in plain words: “make the first cut a dissolve”, “give the last shot more time”, “make the runner an older man”. Your assistant edits the shots and leaves the prompt alone, so the prompt is written again from your edited shots. The shot lengths always add up to the clip's length: to give one shot more time, make the clip longer or another shot shorter.
- Wrote the prompt yourself? An edited prompt renders exactly as written.
- No camera move: each shot says its own camera, so a multi-shot clip takes no
camera_motion. Styles work as usual. - Modes: words, a start picture (the first shot starts on it) or Ingredients references. A first and last frame, a sound file or a talking-host script makes one continuous shot.
Price and limits
The MCP connector and the REST API work with a Day Pass, with Pay as you go and on Enterprise. With a Day Pass ($4.65 for 24 hours) or Enterprise ($980 per month, with 4K and dedicated render capacity) videos are unlimited: nothing is counted or charged per video. Unlimited is the number of videos, not the speed: on a Day Pass they render one at a time on shared render capacity. On Pay as you go ( $2.00 per render hour ) you pay for render time only, per second: planning, waiting in the queue, safety checks and failures on our side are free, and a video whose estimated render time doesn't fit the render time you have left is refused before it starts.
Pay as you go: You pay only for the time your videos render — not for how long you have an account. Keep your account for a month and render for 2 hours: you pay for 2 hours.
| Videos rendering at once | 1 per account; 2 more can wait |
|---|---|
| Requests | 30 per minute per key |
| New videos | 100000 per hour per key |
| Plans | 20 per hour per account (free) |
| Clip length | 2–20 s; up to 10 s at 1440p; up to 10 s at 4K; up to 5 s at 4K native |
| One request | Up to 1 MB. Pictures and sound go through create_upload (up to 200 MB per file) |
| Documents for a plan | Up to 720 KB as a file (.txt .md .pdf .docx); for a longer one, send its text |
| Download links | Valid about 10 minutes; ask for the video again for a fresh link |
Troubleshooting
| You see | What to do |
|---|---|
401 missing_key, invalid_key, revoked_key | The header must be exactly Authorization: Bearer vsk_…. Check the key wasn't cut short when pasting and hasn't been revoked; for Codex, check the environment variable is set in the shell that starts it. |
401 owner_inactive | The person who created the key has left the account or was deactivated. Someone still on the account creates a new key. |
403 insufficient_scope | The key lacks a permission (for example videos:write). Create a new key with it. |
403 terms_not_accepted | Sign in to the website once and accept the current terms. |
403 account_hold, account_suspended, account_closed | Your account can't start new videos right now. Contact support. |
403 mcp_pro_only | This key's account doesn't include the MCP connector yet (it works with a Day Pass, with Pay as you go and on Enterprise). Get a Day Pass or add render time, or use the same key with the REST API. |
403 enterprise_only | 4K, 4K native and Upscale to 4K are on Enterprise; 4K means a much longer processing time. Ask for 1440p or 1080p instead; list_options shows which qualities your account can use. Enterprise is on the Billing page ($980 per month). |
| 404 on every call | API access isn't switched on yet. Contact support. |
| 402 | out_of_credits: you are out of render time, so no new video, plan or project render starts until you get a Day Pass or add render time (reading and downloading still work). insufficient_time: not enough render time for this video's estimate; get a Day Pass, add render time, or ask for a shorter clip or a lower quality. Neither happens while a Day Pass or Enterprise is active. |
400 too_many_variations | Up to 2 variations per video. Ask for 2 or fewer. |
400 style_unavailable, unknown_style | The style can't be used on your account right now, or there is no style by that name. list_options lists the styles you can use (styles[].available); ask again with one of them, or without a style. |
409 likeness_consent | A file shows or voices a real person. Confirm you have their consent; your assistant then sends the request again with likeness_consent: true. It must ask you first. |
413 too_large | The request was over 1 MB. Upload files with create_upload; send a long document as text. |
429 rate_limited, create_limit, queue_full | Too many requests, too many new videos this hour, or your queue is full. Wait the number of seconds in Retry-After, or until a video finishes. |
| “Camera moves aren't available right now” | Camera moves are briefly switched off. Ask again without a camera move and describe the camera in the prompt instead (“the camera slowly pushes in”). |
| The tools don't show up | Restart the client after changing its config. Check with claude mcp list, codex mcp list or /mcp. Claude Desktop's bridge needs Node.js 18+ (node --version). |
| A call times out | Videos take minutes. get_video waits at most 25 s per call and is meant to be called again; keep your client's tool timeout at 60 s or more. |
Keep your key safe
- A key acts as you: it can use your Day Pass and your render time. Keep it out of code, chats, screenshots and shared repositories; prefer environment variables, as in the Codex and shared-project examples.
- Give each key only the permissions it needs, and one key per tool or computer.
- If a key may have leaked, revoke it in Account → API keys. It stops working on the next request; create a new one and update your tool.
- Your assistant must ask you before it confirms consent for a real person in a picture or recording. Say no if you don't have it.