Skip to main content

Turbogen MCP server

Generate images, video and audio with Turbogen straight from Claude Desktop, Claude Code, Cursor or any other MCP client. Same models and prices as the studio; credits come from your balance.

Tools

Tool What it does
list_models(kind?) Model ids, aspect/voice choices, options and credit prices (kind = image, video or audio)
generate_image(prompt, model="nano-banana-2", aspect="1:1", option?, reference_images?) Image, saved locally; a preview is returned when the file is under 1 MB
generate_video(prompt, model="veo-3.1-fast", aspect="16:9", option="8s", image_path?) Video clip; pass image_path for image-to-video
generate_audio(text_or_prompt, model="voice", aspect?, option?, lyrics?) voice (aspect = voice name), music (aspect = Instrumental / With vocals + lyrics) or sfx
upscale_image(path, scale="2x") Upscale a local image 2x or 4x
get_balance() Remaining credits
job_status(job_id, download=false) Status of a job, e.g. one that took longer than the 10-minute wait

Generation tools submit the job, poll every 3 s for up to 10 minutes, download the result into the output folder and return the local path, the cost and your remaining credits.

Get an API key

API access comes with the Boost, Turbo and Max packs. Open API in the studio (https://turbogen.app/#/apikeys), create a key and copy it (lk_..., shown only once).

Configuration

Variable Required Default
TURBOGEN_API_KEY yes —
TURBOGEN_BASE_URL no https://turbogen.app
TURBOGEN_OUTPUT_DIR no ~/Downloads/turbogen

Install

With uv nothing needs installing up front, uvx runs it on demand:

uvx turbogen-mcp

Or install the command once with pipx (or uv tool):

pipx install turbogen-mcp      # or: uv tool install turbogen-mcp
turbogen-mcp                            # waits for an MCP client on stdin; Ctrl+C to quit

Plain venv:

python -m venv .venv
.venv/bin/pip install turbogen-mcp     # Windows: .venv\Scripts\pip install turbogen-mcp

Requires Python 3.10+.

Claude Desktop

Edit claude_desktop_config.json (Settings > Developer > Edit Config; macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and restart Claude Desktop:

{
  "mcpServers": {
    "turbogen": {
      "command": "uvx",
      "args": ["turbogen-mcp"],
      "env": {
        "TURBOGEN_API_KEY": "lk_your_key_here"
      }
    }
  }
}

With pipx use "command": "turbogen-mcp" and drop args. If the app cannot find the command, give the full path (e.g. C:\\Users\\you\\.local\\bin\\turbogen-mcp.exe).

Claude Code

claude mcp add turbogen --env TURBOGEN_API_KEY=lk_your_key_here -- uvx turbogen-mcp
# installed with pipx instead:
claude mcp add turbogen --env TURBOGEN_API_KEY=lk_your_key_here -- turbogen-mcp

Add --scope user to make it available in every project. Check with claude mcp list.

Cursor

Create .cursor/mcp.json in the project (or ~/.cursor/mcp.json for all projects):

{
  "mcpServers": {
    "turbogen": {
      "command": "uvx",
      "args": ["turbogen-mcp"],
      "env": {
        "TURBOGEN_API_KEY": "lk_your_key_here",
        "TURBOGEN_OUTPUT_DIR": "~/Downloads/turbogen"
      }
    }
  }
}

Try it

Ask your assistant things like:

  • "List the Turbogen video models and their prices."
  • "Generate a 16:9 image of a lighthouse at dusk with nano-banana-2."
  • "Turn ~/Downloads/turbogen/lighthouse.png into an 8 second Veo clip with a slow push-in."
  • "Make a 5 second sound effect of waves on rocks."
  • "How many credits do I have left?"

Errors

  • Not enough credits (402): top up at <base>/#/pricing.
  • Invalid API key (401): the key is wrong, revoked, or the account has no API access.
  • Model unavailable (503): try another model or retry later.
  • Rate limited (429): up to 30 jobs per minute and 3 running at once.
  • Failed generations are refunded automatically.

Metadata

Release files for turbogen-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for turbogen-mcp 0.1.0
File Size Uploaded Provenance Actions
turbogen_mcp-0.1.0.tar.gz 9.2 kB Without provenance Details for turbogen_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for turbogen-mcp 0.1.0
File Interpreter ABI Platform Actions
turbogen_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for turbogen_mcp-0.1.0-py3-none-any.whl

Total release size: 19.4 kB

Release files / turbogen_mcp-0.1.0.tar.gz

Download URL turbogen_mcp-0.1.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ee85951ec83f1c060e725ba32b9dfae75334d24d9c961d1d9e2b1265e00c6896
BLAKE2b-256 checksum
How to use checksums
2cdbbdd7706e7dd65d0f7800580b230afaeca5d96761fca1073cbbef3ef93533
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / turbogen_mcp-0.1.0-py3-none-any.whl

Download URL turbogen_mcp-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8694fbbe54426419b0777d776d7fe28911cfdce5a1ebc9408b0844d79945b65d
BLAKE2b-256 checksum
How to use checksums
28b97f4093354ed267702d29ffda48607c23f0a504f00ffb0476fb21821a8e8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for turbogen-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page