Skip to main content

MCP server that generates images via OpenRouter using google/gemini-3-pro-image-preview.

Project description

openrouter-banana-mcp

MCP server that generates images from text prompts using OpenRouter with the google/gemini-3-pro-image-preview model.

Setup

uv sync

Create a .env file or export environment variables:

OPENROUTER_API_KEY=your_key_here

Run

uv run banana-mcp

Or:

python -m banana_mcp

MCP Tool

Tool: generate_image

Input:

  • prompt (string)

Output:

  • model (string)
  • images (list of base64 data URLs)
  • text (optional assistant text)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openrouter_banana_mcp-0.1.0.tar.gz (431.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openrouter_banana_mcp-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file openrouter_banana_mcp-0.1.0.tar.gz.

File metadata

File hashes

Hashes for openrouter_banana_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7100cb1dcabdf15cfeb7b533977c62bfca918b48308e3496a85ec8be1c6b889
MD5 a0a95f899d0dd7cf27f1f22997a5b222
BLAKE2b-256 a19fdfe9f8f28a318d6b9952d7199b40ab4737a118574d25c028cdff094fc8d2

See more details on using hashes here.

File details

Details for the file openrouter_banana_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openrouter_banana_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8ac47b80cd61294cbbb13cd9d55760b1e0d495c596a9a88ae15eadcb0e7e8e1
MD5 7addcc2e6be75adc33b25b4a785af639
BLAKE2b-256 00068179dcaa4bd23a4054fa2da1e0bdaa6add0f201a0042cec78f29ec726a7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page