Skip to main content
Glama
Meshy MCP Server

Meshy MCP Server

Official
by meshy-dev

Generate 2D Image from Text

meshy_text_to_image

Generate a 2D image from a text prompt to preview and approve a design before 3D conversion. Produces multi-view or pose-locked concept art for use as input to image-to-3D.

Instructions

Generate a 2D image from text, e.g. a design for the user to approve before 3D. Typically ~30 s. Cost: nano-banana 3, nano-banana-2 6, nano-banana-2-lite 3, nano-banana-2-1 4, nano-banana-pro 9, GPT Image models 9 credits.

To make it 3D: meshy_image_to_3d with input_task_id = this task (multi-view output: meshy_multi_image_to_3d).

Example: { ai_model: "nano-banana-pro", prompt: "game character", generate_multi_view: true, pose_mode: "t-pose" }

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ai_model": "<ai_model>",
      "prompt": "<prompt>"
    },
    "name": "meshy_text_to_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesText description
ai_modelYesImage model; ask the user.
pose_modeNoCharacter pose: 'a-pose' or 't-pose'. nano-banana models render a pose at 3:4 whatever aspect_ratio says.
aspect_ratioNoDefault '1:1'; '3:2' and '2:3' are GPT Image models only (refused on nano-banana). Not with generate_multi_view. With pose_mode, nano-banana models render 3:4 regardless.
response_formatNomarkdown (default) or jsonmarkdown
remove_backgroundNoTransparent-background PNG (no effect on multi-view output).
generate_multi_viewNoFront/side/back views (input for meshy_multi_image_to_3d). Not with aspect_ratio.

Output Schema

NameRequiredDescriptionDefault
statusYes
messageYes
task_idYes
estimated_timeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.11
    • changedInput schema / properties / aspect_ratio / description
      Previous value: -"Default '1:1'; '3:2' and '2:3' are GPT Image models only. Not with generate_multi_view."New value: +"Default '1:1'; '3:2' and '2:3' are GPT Image models only (refused on nano-banana). Not with generate_multi_view. With pose_mode, nano-banana models render 3:4 regardless."
    • changedInput schema / properties / pose_mode / description
      Previous value: -"Character pose: 'a-pose' or 't-pose'"New value: +"Character pose: 'a-pose' or 't-pose'. nano-banana models render a pose at 3:4 whatever aspect_ratio says."
  2. First observedv0.6.4

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, non-idempotent, non-destructive, so the description is not carrying the safety burden alone. It adds genuinely useful behavior beyond that: ~30 s latency and a per-model credit price list, which matters because the operation costs money and the model choice is a cost decision. It omits what a failed or partial generation looks like, but output schema coverage reduces that need.

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?

Front-loaded with purpose, then cost, then the forward pipeline, then a concrete example — a sensible ordering with no filler sentences. The cost list is terse to the point of near-cryptography ('nano-banana 3, nano-banana-2 6'), requiring the reader to infer the unit is credits, which is the only real friction.

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

Completeness4/5

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

For a 7-parameter generative tool with full schema coverage, an output schema, and annotations, the description covers purpose, cost, latency, and the downstream handoff. What remains unstated — failure modes and whether generation is asynchronous — is minor and largely inferable from siblings like meshy_get_task_status.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description exceeds it by mapping enum values to credit costs (nano-banana-pro 9, GPT Image models 9, etc.), which is decision-relevant information absent from the schema. The worked example also demonstrates a valid combination of ai_model, prompt, generate_multi_view, and pose_mode. It does not restate the aspect_ratio/pose_mode conflicts, but the schema already handles those.

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

Purpose5/5

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

States a specific verb and resource ('Generate a 2D image from text') plus the pipeline role ('a design for the user to approve before 3D'), which separates it from meshy_text_to_3d and from meshy_image_to_image editing. An agent can identify this as the text-prompt entry point without opening the schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent forward: 'To make it 3D: meshy_image_to_3d with input_task_id = this task', including the multi-view variant via meshy_multi_image_to_3d. It also signals an approval checkpoint before 3D. It does not say when to prefer meshy_image_to_image (editing an existing image) over generating fresh, so the alternative coverage is incomplete rather than absent.

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