mcp
v0.1.3Generate images with any major model — one API key, one prepaid balance, one MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_image
Generate an image from a text prompt. Returns a hosted image URL (valid long-term) plus cost and balance. Pick a model with list_models; nano-banana-2 is the general-purpose default.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to draw. Be specific about style, mood, and composition. |
aspect_ratio | string | e.g. "1:1", "16:9", "9:16" |
model | string | Model id from list_models |
edit_image
Edit a previously generated image with a natural-language instruction (e.g. "make the sky darker", "remove the text"). Pass the img_… id returned by generate_image.
| Parameter | Type | Description |
|---|---|---|
image * | string | The img_… id of a previous generation |
instruction * | string | What to change; everything else stays the same |
aspect_ratio | string | omit to keep the source image's shape; e.g. "16:9" to reshape |
model | string | Model id from list_models |
list_models
List available image models with pricing, latency, and what each is best for.
get_balance
Show the current prepaid balance in USD.