Skip to content
Docs

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:

It works in Claude Code, OpenAI Codex, Cursor, Claude Desktop and any other client that speaks MCP.

1. Get an API key

  1. Sign in and open Account → API keys.
  2. 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:write and videos:read; add account:read so it can check your Day Pass or render time.
  3. Copy the key. It starts with vsk_ and is shown once. Below, replace YOUR_KEY with 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:

ScopeWho and where
--scope local (default)Only you, only in the project folder you ran it from.
--scope userOnly you, in every project on this computer. The usual choice.
--scope projectEveryone 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

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_projectsYour projects, Quick videos first: ask which one a new video belongs in.
setup_projectStarts a project from one sentence: goal, where it is posted, shape, usual format and colours suggested from your words.
update_project_memoryChanges 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_videoTurns 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_planRenders a plan once you confirm it: one clip, or a whole story project.

Single videos

quote_videoBefore 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_videoStarts one clip from a prompt, with optional styles, a camera move and a start picture, in Full quality (the default) or Fast.
make_finalRe-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_videoStatus, queue position and, when it is ready, the download link. Can wait up to 25 s.
list_videosYour videos, newest first.
cancel_videoCancels a video that is still waiting in the queue (free). Once it starts rendering it finishes by itself.
archive_videoArchives a finished video: out of your list, nothing deleted, still downloadable.
restore_videoBrings an archived video back into your list.
create_uploadA 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_projectStarts a Story project: one look and the same characters across many short shots.
add_characterAdds a recurring character, place or product with a fixed description (and pictures).
add_shotAdds a shot: what happens, its length, how it links to the shot before, dialogue, camera move.
create_multishot_clipMakes 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_shotChanges a shot: prompt, length, link, characters, trim, and whether it joins the clip before (clip: auto, join, alone).
update_projectChanges a project's settings, and how its shots render: multi-shot clips and chained shots (auto or off).
render_projectRenders every shot that has no finished take yet, in story order.
finalize_projectRe-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_projectThe story's shots, takes and progress, and the download link of the joined video.
get_take_reviewA take's quality check: a score out of 10, a one-line summary and issues with times.
get_reel_reviewThe whole film's quality check: a score, a short summary and suggested fixes.
export_projectJoins the chosen takes into one video (free).
archive_projectArchives a story project: out of your list, nothing deleted; queued takes are cancelled.
restore_projectBrings an archived story project back exactly as it was.

Voices and voice recordings (Voice Studio)

list_voicesYour voice characters with their VC- ids, languages, gender, style and consent status.
list_voice_presetsReady-made stock voices you can add.
add_stock_voiceAdds a stock voice to your voices and returns its VC- id.
clone_voiceAn instant clone of a real person's voice, with that person's recorded consent.
get_voiceOne voice character by its VC- id.
create_recordingSpeaks a script with one voice, however long, with a timing for every line (VR- id).
upload_recordingSaves your own audio recording as a voice recording (VR- id).
list_recordingsYour voice recordings, newest first.
get_recordingOne recording: its audio link, length, voice, script and line timings.
set_project_voiceGives a story project its voice (VC- id) or imports a recording (VR- id) as its narration.

Music Studio (MU- ids)

create_musicMakes 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_musicOne track: its status, length, tempo, key, beat grid, versions and MP3 / WAV links.
list_musicYour music tracks, newest first.
extend_musicContinues a track by some seconds, or gives it an outro.
repaint_musicMakes one part of a track again and keeps the rest.
remix_musicA new style or new lyrics with the same structure (how close is up to you).
cutdown_musicA 15, 30 or 60 s version with a clean ending.
delete_musicRemoves a track from your Music Studio; projects that use it keep their copy.
use_music_in_projectGives a story project a track as its music: ducked under the voice, the shot cuts on its beats.

Characters (CH- ids)

list_charactersYour characters with their CH- ids, descriptions, voices and picture links.
get_characterOne character by its CH- id.
create_characterA new character from a name and a description, with 4 picture options to pick from.
create_character_from_photoA character from your own photo or drawing: a clean, neutral start picture with the same face (the person in it must have agreed).
character_options4 new picture options for a character that isn't locked yet.
choose_character_pictureLocks the chosen option as the character's main picture.
character_sheetFront, side, 3/4, full body and 3 expressions with the same face.
edit_characterChanges the main picture in words ("make the jacket blue"), keeping the character.
delete_characterRemoves a character from your library; projects that use it keep it.
use_character_in_projectAdds the locked character to a story project's cast with its pictures, so every shot with it looks the same.

Your account

get_balanceYour Day Pass (and when it ends) or the render time you have left, and how much queued videos will use.
list_optionsWhat 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

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
ShotHow it reads in the prompt
1. Start, 5 sClose-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 sA 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 sA 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.

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 once1 per account; 2 more can wait
Requests30 per minute per key
New videos100000 per hour per key
Plans20 per hour per account (free)
Clip length2–20 s; up to 10 s at 1440p; up to 10 s at 4K; up to 5 s at 4K native
One requestUp to 1 MB. Pictures and sound go through create_upload (up to 200 MB per file)
Documents for a planUp to 720 KB as a file (.txt .md .pdf .docx); for a longer one, send its text
Download linksValid about 10 minutes; ask for the video again for a fresh link

Troubleshooting

You seeWhat to do
401 missing_key, invalid_key, revoked_keyThe 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_inactiveThe person who created the key has left the account or was deactivated. Someone still on the account creates a new key.
403 insufficient_scopeThe key lacks a permission (for example videos:write). Create a new key with it.
403 terms_not_acceptedSign in to the website once and accept the current terms.
403 account_hold, account_suspended, account_closedYour account can't start new videos right now. Contact support.
403 mcp_pro_onlyThis 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_only4K, 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 callAPI access isn't switched on yet. Contact support.
402out_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_variationsUp to 2 variations per video. Ask for 2 or fewer.
400 style_unavailable, unknown_styleThe 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_consentA 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_largeThe request was over 1 MB. Upload files with create_upload; send a long document as text.
429 rate_limited, create_limit, queue_fullToo 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 upRestart 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 outVideos 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