Use JenVid from your AI assistant
JenVid runs an MCP server, so assistants that speak the Model Context Protocol can generate images and video for you: pick a model, check the price, start the job and hand you the result link. It uses your own API key and your own credits.
What it does
The server lives at https://jenvid.com/mcp (Streamable HTTP). It offers six tools: list models, read one model's parameters and prices, start a generation, get the result, cancel, and check your balance. Everything it does goes through the same rules as the JenVid API: the same key, the same limits and the same prices.
Get an API key
- Create an account (or sign in) and add credits on the pricing page.
- Open the API console and create a key. Keep the default permissions (
generateandread). You can give the key a spending limit so an assistant can never spend more than you allow. - Save the key in an environment variable so it is never written into a project file:
export JENVID_API_KEY="gj_live_..."Open a new terminal afterwards so the variable is picked up.
Claude Code
Run this once in a terminal:
claude mcp add --transport http jenvid https://jenvid.com/mcp --header "Authorization: Bearer $JENVID_API_KEY"Or add it to a project by putting this in .mcp.json at the project root. The key is read from the JENVID_API_KEY environment variable, so the file is safe to commit:
{
"mcpServers": {
"jenvid": {
"type": "http",
"url": "https://jenvid.com/mcp",
"headers": { "Authorization": "Bearer ${JENVID_API_KEY}" }
}
}
}Then run /mcp inside Claude Code to check that jenvid is connected. The Claude desktop app's Code tab uses the same setup.
Claude app (web, desktop, mobile)
In Claude, open Settings, then Connectors, and add a custom connector with the address https://jenvid.com/mcp. When it asks how to sign in, choose the option that sends a fixed header and enter the header name Authorization with the value Bearer <your key>. Claude stores the key for you. On a team plan one key is shared by everyone in the workspace, so give that key a spending limit.
Codex
Add this to ~/.codex/config.toml:
[mcp_servers.jenvid]
url = "https://jenvid.com/mcp"
bearer_token_env_var = "JENVID_API_KEY"Codex reads the key from the JENVID_API_KEY environment variable and sends it with each call. Restart Codex after editing the file.
Cursor and VS Code
Cursor: put this in ~/.cursor/mcp.json (or .cursor/mcp.json in a project). VS Code: put the second version in .vscode/mcp.json; it asks for the key once and stores it for you.
{
"mcpServers": {
"jenvid": {
"url": "https://jenvid.com/mcp",
"headers": { "Authorization": "Bearer ${env:JENVID_API_KEY}" }
}
}
}Other clients
Any client that supports a remote MCP server with a custom header works: use the address https://jenvid.com/mcp and the header Authorization: Bearer <your key> (X-API-Key: <your key> is accepted too). A client that can only sign in with OAuth and cannot send a header is not supported yet.
The server is plain JSON-RPC over HTTP, so you can also test it by hand:
curl -s https://jenvid.com/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $JENVID_API_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_models","arguments":{"type":"image"}}}'Tools
| Tool | What it does | Key permission |
|---|---|---|
list_models | List the image, video and audio models available on JenVid with their starting price in credits. Call this first to pick a model id, then call get_model for its parameters. | any |
get_model | Get one model: its modes (for example text-to-video or image-to-video), every accepted parameter with allowed values and defaults, and its prices in credits. Call this before generate so the params are valid and the cost is known. | any |
generate | Start a generation. This spends credits from the JenVid account: credits are held now, charged when the task succeeds and returned if it fails or is cancelled. Returns a task_id; call get_task to wait for the result. Tell the user the model and the expected cost before calling this. | generate |
get_task | Get the state of a generation task. When it has succeeded, `outputs` holds download links for the files (links stop working at `url_expires_at`, so show or save them promptly). Pass wait_seconds to wait for the task to finish instead of calling repeatedly; videos can take several minutes, so call again while `is_final` is false. | read |
cancel_task | Ask to cancel a generation task that has not finished. A task that already started may still finish and be charged; check get_task for the outcome. | generate |
get_balance | Get the JenVid credit balance: credits available to spend, credits held by running tasks, and this API key's spending limit if it has one. | read |
Things to ask
- "Use JenVid to make a wide photo of a lighthouse at dusk. Tell me the cost first."
- "Which JenVid video models are cheapest for a 6 second clip?"
- "Generate three product shots of a white sneaker on a pastel background with JenVid and give me the links."
- "How many JenVid credits do I have left?"
Cost and safety
- Only
generatespends credits. Credits are held when a job starts, charged when it succeeds and returned automatically if it fails or is cancelled. - Most assistants ask before running a tool. Keep that confirmation on for
generateif you want to approve every spend. - Give the key a spending limit in the API console. You can also revoke the key there at any time; the assistant loses access immediately.
- Result links stop working after a while (each result says when), so download what you want to keep.
- Never paste your key into a chat. Keep it in the environment variable or your client's secret storage.
Troubleshooting
- "This tool needs a JenVid API key": the client connected without the header. Check that
JENVID_API_KEYis set in the environment the client was started from, then restart it. - "forbidden": the key lacks a permission. Generating needs
generate; reading results and the balance needsread. - "insufficient_balance": add credits on the pricing page.
- "rate_limited": too many calls in a minute. Wait a moment; the limits are the same as the API's.
- Still stuck? Contact support and include the request id from the error message.