Skip to main content
Glama

image_to_model

Destructive

Generate a 3D mesh from one reference image by creating a Tripo task; returns a task_id immediately, then call wait_for_task to retrieve the model.

Instructions

Generate a 3D mesh from one reference image (a local path, URL, file token, or the task ID of a text_to_image / image_to_image task). Creates a Tripo task (spends credits) and returns its task_id immediately; then call wait_for_task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pbrNoGenerate PBR materials (default true); implies texture
quadNoQuad topology; forces FBX output and 10k faces unless face_limit is set (+5 credits). Not on P1
inputYesThe reference image: absolute local path (uploaded), public URL, file token, or task ID of a text_to_image / image_to_image task. PNG, JPEG or WebP, at least 256x256, up to 20 MB
modelNoModel version: v3.1-20260211 (H3.1, default), v3.0-20250812, v2.5-20250123, P1-20260311 (low-poly), P2-20260801 (low-poly preview). Aliases such as v3.1, p1 and p2 work. See list_models.
delightNoRemove baked-in lighting from textures (default true). Only texture_version v3.5-20260815 reads it
textureNoGenerate textures (default true). false is cheaper and required for generate_parts
compressNoCompress the output geometry (meshopt)
auto_sizeNoScale the mesh to real-world size in meters
export_uvNoInclude UVs in the output (default true)
face_limitNoTarget face count. H3.x up to 1.5M (2M with geometry_quality detailed); P1 50-20,000; P2 48-50,000; quad up to 150k
model_seedNoSeed for geometry generation
orientationNoalign_image rotates the mesh to match the image. Needs texture
texture_seedNoSeed for texture generation
generate_partsNoGenerate separately editable parts (+20 credits). Requires texture false and pbr false. H3.x only
smart_low_polyNoHand-crafted-style low-poly topology on H3.x (+10 credits). Use P1/P2 for game-ready low poly instead
texture_qualityNoTexture quality (default standard). detailed is HD (+10 credits), extreme is 8K (+20). fast needs texture_version v3.5-20260815
texture_versionNoTexturing model version: v3.5-20260815, v3.0-20250812 or v2.5-20250123. Defaults to the one matching model
geometry_qualityNodetailed (Ultra) adds geometric detail (+20 credits). H3.x only
texture_alignmentNoAlign textures to the original image (default) or to the geometry
export_orientationNoFacing axis of the output (default +x). Later operations do not inherit it; prefer setting it on convert_model
enable_image_autofixNoLet Tripo clean up the input image first

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo
task_idYes
producesYes
warningsNo
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

Adds behavior the annotations don't convey: the call spends credits and returns a task_id immediately rather than a finished mesh, establishing the async pattern. Annotations already flag it as a non-idempotent, destructive write, so the description isn't obligated to restate that; per-option credit costs live in the schema.

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

Conciseness5/5

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

Two sentences: the first defines the operation and valid inputs, the second covers side effects and the required next call. No filler, and the most decision-relevant facts (what it makes, what it costs, what to do next) are front-loaded.

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 21-parameter async generator with an output schema and full annotation coverage, the description supplies what the structured fields cannot: credit spend, immediate task_id return, and the wait_for_task handoff. It omits failure/precondition detail (e.g. minimum image size is only in the schema), which keeps it from a 5.

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?

Schema description coverage is 100% and every one of the 21 parameters is documented inline, including constraints, defaults and credit surcharges. The description adds no parameter-level meaning beyond restating the accepted input forms, so the baseline 3 is appropriate.

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 3D mesh from one reference image') and scopes it to a single image, which cleanly separates it from multiview_to_model and text_to_model. The enumerated accepted input forms make the boundary even sharper.

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?

Names the upstream sources that produce valid input (text_to_image / image_to_image task IDs) and gives the explicit follow-up step: 'then call wait_for_task.' It doesn't contrast itself against sibling generators like multiview_to_model or image_to_splat, so it stops short of full when-not guidance.

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