Skip to main content
Glama
Meshy MCP Server

Meshy MCP Server

Official
by meshy-dev

Generate 3D Model from Image

meshy_image_to_3d

Convert one image into a textured 3D model, or generate a bare untextured mesh by disabling texturing. Use a local file, public URL, or completed image task as input.

Instructions

Generate a 3D model from one image, textured by default (no refine step; should_texture false for a bare mesh). Typically 2–3 minutes. Cost: the mesh (meshy-7.1 / latest / meshy-6 20; meshy-6-lite, meshy-t2, meshy-t2.5 5) + 10 for the texture (15 at 8K), whichever texture_model; Ultra geometry +5.

IMAGE INPUT (exactly ONE):

  • file_path: a local image (RECOMMENDED; never base64-encode it yourself)

  • image_url: a public URL

  • input_task_id: a SUCCEEDED meshy_text_to_image / meshy_image_to_image task with ONE image (multi-view output → meshy_multi_image_to_3d)

Choose models by project (geometry ai_model + texture_model):

  • Detailed hero asset, product render, cinematic prop: meshy-7.1 + meshy-7 (PBR, up to 8K)

  • Game character to rig and animate: meshy-t2.5 (smart topology, set target_polycount) + meshy-n1

  • Many props for a game scene, or user-generated content: meshy-t2 (smart topology) + meshy-n1

  • A real object from 2 to 4 photos: meshy-7.1 on Multi-Image to 3D + meshy-7

  • A model to 3D print: meshy-7.1 + none, or meshy-7 to print in color

  • Many drafts at a low cost: meshy-6-lite + meshy-6-lite More: https://docs.meshy.ai/en/api/models Omit texture_model for the geometry's default; "none" is should_texture false; 2 to 4 photos go to meshy_multi_image_to_3d; a bas-relief or depth map of a photo goes to meshy_relief.

Example (game character): { file_path: "/path/to/character.png", ai_model: "meshy-t2.5", target_polycount: 15000, texture_model: "meshy-n1", pose_mode: "t-pose" }

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "meshy_image_to_3d"
  }
}

Input Schema

NameRequiredDescriptionDefault
ai_modelNo'latest' (default, = Meshy 7.1) or 'meshy-7.1' (best), 'meshy-6', 'meshy-6-lite' (fast, cheap, 2K textures only); 'meshy-7' is deprecated. With model_type smart-topology: 'meshy-t2.5' (the default there; newest, sharper detail for game assets) or 'meshy-t2'.
topologyNoquad or triangle (default).
auto_sizeNoAI-estimate the real-world height and resize to it (default false).
file_pathNoAbsolute path to a local .jpg/.jpeg/.png/.webp; the server encodes it.
image_urlNoPublic image URL. For local files use file_path.
origin_atNo'bottom' or 'center' (default bottom with auto_size).
pose_modeNo'a-pose' or 't-pose'; use 't-pose' when the model will be rigged or animated.
enable_pbrNoAlso make metallic/roughness/normal maps. Not with texture_model meshy-n1.
hd_textureNoDeprecated: use texture_resolution '4k'.
model_typeNostandard (default); smart-topology (ai_model meshy-t2 or meshy-t2.5): a clean, part-separated, triangle-only mesh made directly at target_polycount, ignoring remesh/decimation. lowpoly (Meshy T1) is retired: use smart-topology with meshy-t2.5.
ultra_modeNoDeprecated: use geometry_resolution '2k'.
input_task_idNoA SUCCEEDED text-to-image / image-to-image task with exactly one image, used as the input.
should_remeshNoRemesh to target_polycount / topology (default false).
symmetry_modeNoDeprecated: has no effect.
texture_modelNoTexture model, picked apart from the geometry: meshy-7 (PBR, 2K/4K/8K), meshy-n1 (2K base color from the input image, or texture_image_url as the front view; no texture_prompt, enable_pbr, 4k/8k, remove_lighting or quad remesh), meshy-6-lite (2K, lowest cost; no remove_lighting). Omit for the geometry's default: meshy-7 (meshy-7.1, latest, meshy-t2, meshy-t2.5), meshy-6 (meshy-6), meshy-6-lite (meshy-6-lite). Same price whichever; ignored with should_texture false.
should_textureNoGenerate textures (default true); false gives a cheaper untextured mesh.
target_formatsNoFormats to produce (default: all but 3mf; list '3mf' to get it). Fewer formats finish faster.
texture_promptNoText to guide texturing (max 800 characters). Not with texture_image_url. Not with texture_model meshy-n1.
alpha_thumbnailNoAlso return a transparent-background preview (alpha_thumbnail_url).
decimation_modeNoAdaptive decimation 1 (ultra) – 4 (low); overrides target_polycount.
remove_lightingNoRemove highlights/shadows from the base color (Meshy 6 texture model only: ai_model meshy-6 without texture_model; API default true there). Not true with texture_model meshy-n1 / meshy-6-lite.
response_formatNomarkdown (default) or jsonmarkdown
target_polycountNoStandard: remesh target 100–300,000, needs should_remesh true. Smart Topology: meshy-t2 100–15,000 (default 4,000), meshy-t2.5 100–30,000 (default 15,000).
image_enhancementNoOptimize the input image (meshy-6/7.1/latest); false keeps deliberate styling.
texture_image_urlNoImage URL to guide texturing. Not with texture_prompt. With texture_model meshy-n1, the front view it textures from.
texture_resolutionNoBase color texture: 2k (default), 4k or 8k (+5 credits; PBR maps stay 4K, no emission map). 4k/8k need the meshy-7 or meshy-6 texture model: not meshy-6-lite or meshy-n1.
geometry_resolutionNoUltra geometry pass: standard (default), 2k or 4k (finest); meshy-7.1/latest with model_type standard only, +5 credits.
multi_view_thumbnailsNoAlso return front/back/left/right thumbnails.
save_pre_remeshed_modelNoAlso keep the GLB from before remeshing (with should_remesh).

Output Schema

NameRequiredDescriptionDefault
statusYes
messageYes
task_idYes
estimated_timeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.11
    • changedInput schema / properties / ai_model / description
      Previous value: -"'latest' (default, = Meshy 7.1) or 'meshy-7.1' (best), 'meshy-6', 'meshy-6-lite' (fast, cheap, 2K textures only); 'meshy-7' is deprecated. With model_type smart-topology: 'meshy-t2' (the default there) or 'meshy-t2.5' (newest, sharper detail for game assets)."New value: +"'latest' (default, = Meshy 7.1) or 'meshy-7.1' (best), 'meshy-6', 'meshy-6-lite' (fast, cheap, 2K textures only); 'meshy-7' is deprecated. With model_type smart-topology: 'meshy-t2.5' (the default there; newest, sharper detail for game assets) or 'meshy-t2'."
    • changedInput schema / properties / texture_image_url / description
      Previous value: -"Image URL to guide texturing. With texture_model meshy-n1, the front view it textures from."New value: +"Image URL to guide texturing. Not with texture_prompt. With texture_model meshy-n1, the front view it textures from."
    • changedInput schema / properties / texture_prompt / description
      Previous value: -"Text to guide texturing (max 800 characters). Not with texture_model meshy-n1."New value: +"Text to guide texturing (max 800 characters). Not with texture_image_url. Not with texture_model meshy-n1."
  2. Changed6 schema fields changedv0.6.9
    • changedInput schema / properties / enable_pbr / description
      Previous value: -"Also make metallic/roughness/normal maps."New value: +"Also make metallic/roughness/normal maps. Not with texture_model meshy-n1."
    • changedInput schema / properties / remove_lighting / description
      Previous value: -"Remove highlights/shadows from the base color (meshy-6 only; API default true there)."New value: +"Remove highlights/shadows from the base color (Meshy 6 texture model only: ai_model meshy-6 without texture_model; API default true there). Not true with texture_model meshy-n1 / meshy-6-lite."
    • changedInput schema / properties / texture_image_url / description
      Previous value: -"Image URL to guide texturing."New value: +"Image URL to guide texturing. With texture_model meshy-n1, the front view it textures from."
    • addedInput schema / properties / texture_model
      Added value: +{
      +  "description": "Texture model, picked apart from the geometry: meshy-7 (PBR, 2K/4K/8K), meshy-n1 (2K base color from the input image, or texture_image_url as the front view; no texture_prompt, enable_pbr, 4k/8k, remove_lighting or quad remesh), meshy-6-lite (2K, lowest cost; no remove_lighting). Omit for the geometry's default: meshy-7 (meshy-7.1, latest, meshy-t2, meshy-t2.5), meshy-6 (meshy-6), meshy-6-lite (meshy-6-lite). Same price whichever; ignored with should_texture false.",
      +  "enum": [
      +    "meshy-7",
      +    "meshy-n1",
      +    "meshy-6-lite"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / texture_prompt / description
      Previous value: -"Text to guide texturing (max 800 characters)."New value: +"Text to guide texturing (max 800 characters). Not with texture_model meshy-n1."
    • changedInput schema / properties / texture_resolution / description
      Previous value: -"Base color texture: 2k (default), 4k or 8k (+5 credits; PBR maps stay 4K, no emission map). 4k/8k not on meshy-6-lite."New value: +"Base color texture: 2k (default), 4k or 8k (+5 credits; PBR maps stay 4K, no emission map). 4k/8k need the meshy-7 or meshy-6 texture model: not meshy-6-lite or meshy-n1."
  3. Changed4 schema fields changedv0.6.7
    • changedInput schema / properties / ai_model / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "meshy-6-lite",
      -      "meshy-6",
      -      "meshy-7",
      -      "meshy-7.1",
      -      "latest"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "enum": [
      -      "meshy-t1",
      -      "meshy-t2",
      -      "meshy-t2.5"
      -    ],
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "meshy-6-lite",
      +      "meshy-6",
      +      "meshy-7",
      +      "meshy-7.1",
      +      "latest"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "enum": [
      +      "meshy-t2",
      +      "meshy-t2.5"
      +    ],
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / ai_model / description
      Previous value: -"'latest' (default, = Meshy 7.1) or 'meshy-7.1' (best), 'meshy-6', 'meshy-6-lite' (fast, cheap, 2K textures only); 'meshy-7' is deprecated. With model_type smart-topology: 'meshy-t2' (the default there) or 'meshy-t2.5' (newest, sharper detail for game assets); 'meshy-t1' is deprecated."New value: +"'latest' (default, = Meshy 7.1) or 'meshy-7.1' (best), 'meshy-6', 'meshy-6-lite' (fast, cheap, 2K textures only); 'meshy-7' is deprecated. With model_type smart-topology: 'meshy-t2' (the default there) or 'meshy-t2.5' (newest, sharper detail for game assets)."
    • changedInput schema / properties / model_type / description
      Previous value: -"standard (default); smart-topology (ai_model meshy-t2 or meshy-t2.5): a clean, part-separated, triangle-only mesh made directly at target_polycount, ignoring remesh/decimation; lowpoly is deprecated (billed like meshy-6, retires 2026-10-30)."New value: +"standard (default); smart-topology (ai_model meshy-t2 or meshy-t2.5): a clean, part-separated, triangle-only mesh made directly at target_polycount, ignoring remesh/decimation. lowpoly (Meshy T1) is retired: use smart-topology with meshy-t2.5."
    • changedInput schema / properties / model_type / enum
      Previous value: -[
      -  "standard",
      -  "smart-topology",
      -  "lowpoly"
      -]New value: +[
      +  "standard",
      +  "smart-topology"
      +]
  4. First observedv0.6.4

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds the operationally important facts: roughly 2-3 minutes per call, a full credit-cost breakdown by geometry and texture model plus the +5 Ultra/8K surcharges, and that texturing is on by default. It also discloses non-obvious defaults and deprecations (texture_model omission behavior, ignored when should_texture is false) that no annotation conveys.

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-loads purpose, cost and the one-image constraint, then layers input rules, model-selection heuristics and an example — a sensible structure for a 29-parameter tool. A few points are restated (the multi-image routing and the should_texture/none equivalence appear twice), and the docs link is arguably filler, but the density is justified overall.

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

Completeness5/5

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

For a 29-parameter generative tool, the description covers everything an agent needs before calling: input source selection, mutual exclusions, cost, latency, default texture behavior, model pairing per use case, and sibling routing. Return-value detail is correctly omitted since an output schema exists.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description goes well beyond field definitions by mapping parameter combinations to outcomes (meshy-t2.5 + target_polycount for riggable characters, "none" meaning should_texture false, omitted texture_model falling back to the geometry's default). The worked example payload ties the abstract guidance to concrete values.

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?

Opens with a specific verb and resource ("Generate a 3D model from one image") and immediately names the sibling it is not: multi-view output goes to meshy_multi_image_to_3d and bas-relief/depth maps to meshy_relief. The single-image scope is stated twice and reinforced by the "exactly ONE" input block.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use matrix keyed to project type (hero asset, game character to rig, many props, 3D print, cheap drafts) with the exact ai_model + texture_model pairing for each. It also states the alternatives and the conditions that select them (2-4 photos → meshy_multi_image_to_3d, bas-relief → meshy_relief), so no routing inference is required.

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