Skip to main content
Glama

Generate an image

carpe_image_generate

Generate images from a text prompt using Venice image models, with inline or saved output, fixed per-image pricing, and automatic queuing for slow models.

Instructions

Generate image(s) from a prompt (Venice image models: Flux, GPT Image, Nano Banana, Seedream, Qwen Image, Recraft, uncensored SD…). Images are returned inline and/or saved to CARPE_OUTPUT_DIR. Fixed price per image (carpe_pricing). Slow models run as a queued job automatically.

Input Schema

NameRequiredDescriptionDefault
modeNoauto (default): queue slow models (gpt-image, nano-banana, recraft, flux-2, qwen-image) and edits, sync otherwise.
seedNo
extraNoAdditional model parameters passed through verbatim (steps, cfg_scale, style_preset, hide_watermark…).
modelNoImage model id (default z-image-turbo). See carpe_list_models type "image".
routeNo"carpe" → /v1/image/* (Carpe TEE network). "router" → /router/images/* (cheapest of Carpe and external markets; no privacy filter for images). Default from CARPE_DEFAULT_ROUTE.
widthNo
formatNoOutput format (default webp).
heightNo
promptYes
qualityNoPrice tier on tiered models.
variantsNo1–4 images (sync mode only), each billed.
safe_modeNoBlur adult content (default false).
resolutionNo"1K" | "2K" | "4K" on tiered models — sets the price tier.
aspect_ratioNoe.g. "1:1", "16:9" (model-dependent).
wait_secondsNoSeconds to wait for a queued job before returning a job_id (default 120).
negative_promptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the description's value is in the extra detail it supplies: fixed per-image pricing, images returned inline and/or written to CARPE_OUTPUT_DIR, and automatic queuing of slow models. The async disclosure is the most important addition, though it omits how to follow up on a returned job_id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences, front-loaded with the core action and followed by output location, cost, and queuing behavior in descending order of importance. The model-list parenthetical is dense but earns its place by signaling capability breadth.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter generation tool with no output schema, the description correctly covers the return channel and the queue path. The key gap is that it mentions a job_id being returned after wait_seconds without telling the agent to poll carpe_image_status, leaving the async workflow incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 16 parameters and 69% schema description coverage, the schema already documents the important knobs (mode, model, route, format, quality, variants, safe_mode, resolution, aspect_ratio, wait_seconds, extra). The description adds only marginal meaning — default model families, default tiering behavior, pricing implications — and says nothing about the undocumented prompt, seed, width, height, or negative_prompt params.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Generate image(s) from a prompt") and enumerates the serving model families, so an agent immediately knows this is text-to-image creation rather than editing or upscaling. Sibling tools like carpe_image_edit and carpe_image_upscale are not named explicitly, but the verb distinction is strong enough to disambiguate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description routes the agent usefully in two places: it points to carpe_pricing for cost and to carpe_list_models for model ids, and it explains that slow models are auto-queued. However, it never states when to prefer this over carpe_image_edit, carpe_image_multi_edit, or carpe_image_upscale, and gives no when-not-to-use conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.