lowpoly retires Oct 30, 2026. meshy-7 for 3D generation retires Dec 31, 2026; as a texture model it stays available. Please switch models before these dates to avoid request errors. See all deprecations

v2 migration reference

Look up the differences between API v1 and v2 that affect a migration. For the migration steps, see Migrate to API v2.

The following table shows which sections to read for each thing your code does. Read the rows that match your code, and skip the rest.

If your codeRead
Calls any v1 endpointEndpoint paths and Errors
Gets, lists, streams, or deletes tasksTask reads
Reads task results, such as model URLs or thumbnailsThe task object and Response fields
Creates tasksParameter handling
Creates Image to 3D or Multi-Image to 3D tasksImage to 3D and Multi-Image to 3D
Creates or reads Text to 3D tasksText to 3D
Creates Retexture tasksRetexture
Creates Remesh tasksRemesh
Creates Convert or Resize tasksConvert and Resize
Downloads STL or 3MF filesModel size
Creates Text to Image or Image to Image tasksText to Image and Image to Image
Calls UV Unwrap, Rigging, Animation, Text to Motion, or a 3D printing endpointOther endpoints
Receives webhooksWebhook payloads
Reads response headers, such as Retry-AfterHeaders

Endpoint paths

Every /openapi/v1 endpoint that creates a task has a v2 version at the same path under /openapi/v2/, and so do Balance, Usage, and Animation Library. For example, POST /openapi/v1/image-to-3d becomes POST /openapi/v2/image-to-3d.

Creative Lab and the other v1 endpoints have no v2 version, so those calls stay on v1.

Some endpoints need more detail:

  • Text to 3D has only a v2 path, /openapi/v2/text-to-3d, so its create path doesn't change.
  • Reads use one set of routes for every task type except Creative Lab. See Task reads.
  • Balance and Animation Library return the same bodies as v1.
  • Usage, GET /openapi/v2/usage/tasks, takes the same parameters and returns the same records and errors as v1, wrapped in {"data": [...], "has_more": ...}.

Task reads

On v2, you read every task type through the same four routes, including tasks you created on v1. Creative Lab tasks aren't included. Read them on their v1 routes.

Operationv1v2
Get a taskGET /openapi/v1/<endpoint>/{id}GET /openapi/v2/tasks/{id}
List tasksGET /openapi/v1/<endpoint>GET /openapi/v2/tasks?type=<type>
Stream a taskGET /openapi/v1/<endpoint>/{id}/streamGET /openapi/v2/tasks/{id}/stream
Delete a taskDELETE /openapi/v1/<endpoint>/{id}DELETE /openapi/v2/tasks/{id}

Per-endpoint read routes, such as GET /openapi/v2/image-to-3d/{id}, don't exist on v2. Text to 3D keeps its own routes, which return a different shape. See Text to 3D reads.

The four task routes work like this:

  • Get: while a task is PENDING or IN_PROGRESS, the Retry-After header says how many seconds to wait before you poll again.
  • List: the response is {"data": [...], "has_more": ...}, newest first, with no total count. Without type, it includes every task type except Creative Lab. The other parameters are:
    • page_num: from 1 to 255
    • page_size: 10 by default, and at most 100. Values from 101 to 255 return at most 100 tasks.
    • sort_by: -created_at or +created_at
  • Stream: each message event carries the full task object, and the latest state repeats every 10 seconds. The stream closes when the task finishes, or after about 21 minutes even if it hasn't. If it closes before the task finishes, open it again or get the task. An error event carries the error object plus status_code, as in {"type": ..., "code": ..., "message": ..., "doc_url": ..., "status_code": ...}.
  • Delete: works as on v1. It returns 200 with an empty body, refunds a PENDING task, and returns 409 for an IN_PROGRESS task.
Example: list request and response
curl "https://api.meshy.ai/openapi/v2/tasks?type=image-to-3d&page_size=2" \
  -H "Authorization: Bearer ${MESHY_API_KEY}"
{
  "data": [
    { "id": "018a210d-8ba4-705c-b111-1f1776f7f578", "type": "image-to-3d", "status": "SUCCEEDED" },
    { "id": "018a210d-7a91-7c2e-9b10-5d6e7f8a9b0c", "type": "image-to-3d", "status": "PENDING" }
  ],
  "has_more": true
}

Each item in data is a full task object, shortened here.

The task object

You get the same task object from all of these:

  • The create response
  • GET /openapi/v2/tasks/{id}
  • Each list item
  • Each stream event
  • Each v2 webhook delivery

Apart from two top-level fields described after the following table, only input and output depend on the task type. A webhook delivery sends progress differently. See Webhook payloads.

FieldTypeDescription
idstringTask ID. A task you created on v1 keeps its ID on v2.
typestringTask type. See Task types.
statusstringPENDING, IN_PROGRESS, SUCCEEDED, FAILED, or CANCELED.
progressinteger0 to 100. 100 after the task succeeds.
created_atintegerCreation time in Unix milliseconds.
started_at, finished_atinteger or nullStart and finish times.
expires_atinteger or nullWhen the links in output expire.
preceding_tasksintegerQueue position while PENDING. 1 means next.
consumed_creditsinteger or nullCredits charged, net of refunds.
task_errorobject or nullWhy the task failed.
inputobject or nullThe request you sent. See input.
outputobject or nullThe results. null until the task succeeds.

Every field in this table is always present. A value that doesn't exist yet is null, never 0 or "". Arrays are never null, except dimensions_mm in an intended_print object, so texture_urls is [] when there are no textures.

Meshy can add fields at any time, so ignore fields you don't use.

Six fields have extra rules:

  • expires_at is 3 days after finished_at. It's null until the task succeeds, and always null for Text to 3D tasks and Enterprise accounts. v1 also set it on failed tasks. For Text to 3D tasks on other accounts, null doesn't mean Meshy keeps the files. Meshy still deletes them 3 days after the task finishes. Download what you need within those 3 days. See Asset retention.
  • preceding_tasks is 0 after the task leaves the queue, and always 0 in list results.
  • consumed_credits is 0 for failed tasks. It's null only when Meshy couldn't read the charge for that response. In that case, read the task again. List items never have null.
  • task_error is null unless the task failed. On a failed task, task_error has every field of the error object, and type is never null, so branch on type. code and doc_url are null for errors that have no public code, for example all service_unavailable errors, most server_error errors, and some invalid_input errors. See the error reference.
  • prompt_ignored appears on some Auto Split tasks. This happens when an Auto Split request sets mode to by_parts or by_color and Meshy can't read any part names from its prompt. The task splits along the parts Meshy identifies in the model's reference image instead, in the mode you chose. The task then has a top-level "prompt_ignored": true, starting with the create response. On v1, it appeared from the first read. If the model has no reference image, or Meshy finds fewer than two parts in it, the request returns 400 instead.
  • intended_print appears on every Repair Printability task you create on v2, because v2 checks wall thickness by default. On v1, it appeared only when the request named a printer type or a print size. It's at the top level, as on v1, not under output. On v2, it's there starting with the create response, and on v1 from the first read. Its dimensions_mm is null until Meshy measures the model, and it stays null if the input isn't a GLB or Meshy couldn't measure it. Every v2 analysis has the same object in output.printability.intended_print.
Example: a succeeded Image to 3D task
{
  "id": "018a210d-8ba4-705c-b111-1f1776f7f578",
  "type": "image-to-3d",
  "status": "SUCCEEDED",
  "progress": 100,
  "created_at": 1790640079880,
  "started_at": 1790640079892,
  "finished_at": 1790640153381,
  "expires_at": 1790899353381,
  "preceding_tasks": 0,
  "consumed_credits": 30,
  "task_error": null,
  "input": {
    "image_url": "https://docs.meshy.ai/images/api/quick-start/source-photo.webp",
    "should_texture": true,
    "target_formats": ["glb", "fbx"]
  },
  "output": {
    "model_urls": {
      "fbx": "https://assets.meshy.ai/***/output/model.fbx?Expires=***",
      "glb": "https://assets.meshy.ai/***/output/model.glb?Expires=***"
    },
    "thumbnail_url": "https://assets.meshy.ai/***/output/preview.png?Expires=***",
    "thumbnail_urls": null,
    "texture_urls": [
      {
        "base_color": "https://assets.meshy.ai/***/output/texture_0.png?Expires=***",
        "metallic": null,
        "roughness": null,
        "normal": null,
        "metallic_roughness": null,
        "emission": null
      }
    ]
  }
}
Example: task_error on a failed task
{
  "task_error": {
    "type": "timeout",
    "code": "timeout",
    "message": "Your request took too long to process. Please retry. If this persists, try simplifying your input.",
    "doc_url": "https://docs.meshy.ai/en/api/v2/errors#timeout"
  }
}

An internal error has null for code and doc_url, for example {"type": "server_error", "code": null, "message": "Generation failed due to resource constraints. Please retry. If this persists, try simplifying your input.", "doc_url": null}. v1 left out those two fields.

Task input

input echoes the create request you sent, limited to the parameters the endpoint accepts. Use it for debugging, not as a request to replay. If your code needs the request later, keep your own copy. input differs from your request in these ways:

  • input has only the parameters the endpoint defines. See Parameter handling.
  • v2 doesn't fill in defaults or the values Meshy chose. If you omitted target_formats, input doesn't include it, although v2 used ["glb"]. v1 tasks also returned some values Meshy chose, such as the remove_lighting, hd_texture, and texture_resolution it used. v2 has no field for them.
  • A parameter in input can still have been ignored, for example one the chosen model can't use.
  • v2 replaces a data URI with a link to Meshy's stored copy, or with data:<type>;base64,[omitted ~<size>] when there's no copy. It removes the query string from signed URLs, and the user name and password from any URL.
  • Tasks created on v1 show v1 parameter names.
  • input is null when Meshy has no saved copy of the request. This can happen for a moment right after the create call, and on tasks created before June 2026. The create response always includes input.

Task types

The type field and the type list filter use these values. The filter type=text-to-3d matches all three Text to 3D types.

typeEndpointoutput fields
image-to-3d, multi-image-to-3dImage to 3D, Multi-Image to 3Dmodel_urls, thumbnail_url, thumbnail_urls, texture_urls
text-to-3d-preview, text-to-3d-refine, text-to-3dText to 3Dmodel_urls, thumbnail_url, alpha_thumbnail_url, texture_urls
retexture, remeshRetexture, Remeshmodel_urls, thumbnail_url, texture_urls
convert, resizeConvert, Resizemodel_urls, texture_urls
uv-unwrapUV Unwrapmodel_urls, thumbnail_url
rigRiggingrigged_character_glb_url, rigged_character_fbx_url, basic_animations
rig-checkRigging Checkriggable, animation_type, animatable, reasons
animateAnimationanimation_glb_url, animation_fbx_url, processed_usdz_url, processed_armature_fbx_url, processed_animation_fps_fbx_url
text-to-motionText to Motionmotion_url, motion_format, duration_ms, mode
text-to-image, image-to-imageText to Image, Image to Imageimage_urls
print-multi-colorMulti-Color Printmodel_urls, with a 3mf key
print-repairRepair Printabilitymodel_urls, thumbnail_url, print_repair_report
print-splitAuto Splitmodel_urls, thumbnail_url, part_count
reliefReliefmodel_urls, texture_urls, depth_map_url, thumbnail_url
print-analyzeAnalyze Printabilityprintability

The output fields follow these rules:

  • model_urls has one key for each format the task produced, such as glb, obj, or blend. A textured obj comes with an mtl.
  • On Image to 3D and Multi-Image to 3D tasks sent with save_pre_remeshed_model, model_urls can also have pre_remeshed_glb, the model before remeshing, when the model was remeshed. It isn't a format, so skip it if your code reads the keys as formats.
  • Each texture_urls item always has these maps, with null for a map that wasn't produced:
    • base_color
    • metallic
    • roughness
    • normal
    • metallic_roughness
    • emission
  • thumbnail_urls is null unless you requested multi_view_thumbnails. With it, thumbnail_urls has these previews:
    • front
    • right
    • back
    • left
  • alpha_thumbnail_url is on Text to 3D tasks only, and is null unless you requested alpha_thumbnail.
  • printability has the same fields as on v1, except _version, which v2 drops. metrics and evaluated_at are always present, and null until Meshy computes them.

Response fields

Use this table to update code that reads a task. Fields that aren't listed keep their names and values. The exception is the values Meshy chose that v1 returned next to your request. See Task input.

v1 fieldv2 fieldChange
model_urls.<format>output.model_urls.<format>Moved
model_urloutput.model_urls.glbMoved
thumbnail_urloutput.thumbnail_urlMoved, and null instead of ""
thumbnail_urlsoutput.thumbnail_urlsMoved, and present on the task types that list it
alpha_thumbnail_urloutput.alpha_thumbnail_url on Text to 3D tasksMoved on Text to 3D. Removed on other task types, where thumbnail_url is already a PNG with a transparent background.
texture_urlsoutput.texture_urlsMoved, and [] instead of null
image_urlsoutput.image_urlsMoved
printability, part_count, print_repair_reportThe same names under outputMoved. part_count and print_repair_report are always present, and null when not set, where v1 left them out.
printability._versionNoneRemoved
result.<field> (Rigging, Animation, Text to Motion)output.<field>Moved, and null instead of ""
result.<field> (Rigging Check)output.<field>Moved. output is null until the task succeeds, where v1 left result out.
Request parameters, such as prompt and ai_modelinput.<parameter>Moved, and only if you sent them
text_style_prompt, image_style_url (Retexture)input.texture_prompt, input.texture_image_urlRenamed. texture_image_url is the URL you sent, while v1 returned a link to Meshy's copy.
art_style, object_prompt, style_prompt, negative_promptNoneRemoved, with no replacement
started_at, finished_at, expires_atThe same namesnull until set, instead of 0. expires_at has more null cases, see The task object.
preceding_taskspreceding_tasksAlways present

Three differences depend on the task:

  • alpha_thumbnail_url and thumbnail_urls are null unless you requested them. A texture map that wasn't produced is null instead of missing.
  • Convert, Resize, and Multi-Color Print tasks have no thumbnail_url on v2, where v1 sent "". Only Text to 3D tasks have alpha_thumbnail_url. UV Unwrap, Repair Printability, and Multi-Color Print tasks have no texture_urls.
  • Tasks created on v1 keep v1 parameter names in input, for example text_style_prompt.

Request parameters

Parameter handling

v2 handles request parameters like this:

  • A create request with a parameter the endpoint doesn't define returns 400 with the code parameter_unknown. This includes a misspelled name, a removed v1 parameter, and a name in the wrong case, such as enablePbr. v1 ignores a parameter it doesn't define. So does Text to 3D when the request has mode.
  • message names each unknown parameter. For a removed v1 parameter, it also names the replacement. For a near miss, it names the parameter you probably meant. Some removed parameters changed results on v1, so send the replacement listed for your endpoint.
  • A request with both input_task_id and model_url returns 400 with the code parameters_conflict. v1 uses input_task_id, so send only that one.
  • v2 ignores remove_lighting on Image to 3D, Multi-Image to 3D, and Retexture, because the texture models that texture_model takes don't use it. It also ignores image_enhancement when ai_model is meshy-6-lite, and on Image to 3D with Smart Topology models. v1 returns 400 for some of these requests.
  • With "should_texture": false, v2 ignores texture_model and the other texture parameters. v1 returns 400 for "enable_pbr": true with "should_texture": false.

All other validation still applies. For example, a texture_resolution the texture model doesn't support returns 400, and so does a parameter with the wrong type. Sending "image_url": 123 returns image_url must be a string.

Texture model

On v2, a request that makes a textured model names its texture model in texture_model. Meshy doesn't pick one for you:

  • Image to 3D, Multi-Image to 3D, and Text to 3D one-call requests need texture_model unless should_texture is false. A textured request without it returns 400 with the code parameter_missing.
  • Retexture needs texture_model in every request. It replaces ai_model.

Text to 3D requests with mode ignore texture_model. For the texture models that each ai_model takes on each endpoint, and the options each texture model supports, see Texture models.

To keep the textures your v1 requests made, send the texture model that v1 used. The following table shows it for each v1 request.

v1 requestSend on v2
ai_model of meshy-7.1, latest, meshy-t2.5, or meshy-t2, without texture_model"texture_model": "meshy-7"
"ai_model": "meshy-6-lite" without texture_model (Image to 3D)"texture_model": "meshy-6-lite"
"ai_model": "meshy-6-lite" without texture_model (Multi-Image to 3D)"texture_model": "meshy-7". Multi-Image to 3D takes meshy-7 or meshy-n1.
"ai_model": "meshy-6" without texture_model, or "texture_model": "meshy-6""texture_model": "meshy-7", the closest match. v2 has no Meshy 6 texture model.
texture_model of meshy-7, meshy-n1, or meshy-6-liteThe same texture_model
Retexture without ai_model, or with latest or meshy-standard-latest"texture_model": "meshy-7"
Retexture with ai_model of meshy-7, meshy-n1, or meshy-6-litetexture_model with the same value
Retexture with "ai_model": "meshy-6""texture_model": "meshy-7", the closest match

The texture model doesn't change the price. A textured task costs the mesh plus the texture at its resolution, as on v1.

Image to 3D and Multi-Image to 3D

To get the same results as on v1, change these parts of your request. Rows marked Image to 3D apply to that endpoint only.

v1 requestOn v2Send on v2
target_formats omittedReturns GLB only"target_formats": ["glb", "obj", "fbx", "stl", "usdz"], or the formats you use
texture_model omitted on a textured request400The texture model v1 used. See Texture model.
"hd_texture": true400"texture_resolution": "4k"
"is_a_t_pose": true400"pose_mode": "t-pose"
"ultra_mode": true400"geometry_resolution": "2k"
texture_prompt with texture_image_url400texture_prompt only
"model_type": "smart-topology" without ai_model (Image to 3D)400"ai_model": "meshy-smart-topology-latest"
"model_type": "smart-topology" with ai_model (Image to 3D)400Nothing. Your results don't change.
symmetry_mode400Nothing. Your results don't change.
surface_mode (Image to 3D)400Nothing. Your results don't change.
alpha_thumbnail400Nothing. thumbnail_url is already a PNG with a transparent background.

A few details about these replacements:

  • "texture_resolution": "4k" needs a texture model that makes 4K textures, as "hd_texture": true does on v1. On v2, that's "texture_model": "meshy-7", with any ai_model.
  • is_a_t_pose asked for a T-pose. "pose_mode": "t-pose" also asks for one, but with a different image model and prompt, so the mesh can differ from the v1 result.
  • When you sent both texture inputs, v1 used texture_prompt and ignored texture_image_url.
  • On Image to 3D, ai_model alone selects the model. A v1 "model_type": "smart-topology" request without ai_model runs Meshy T2.5. On v2, meshy-smart-topology-latest runs it too. It follows the newest Smart Topology model, so its results can change. For results that stay the same, send meshy-t2.5.
  • Both endpoints accept "ai_model": "meshy-standard-latest", which works like latest. latest follows the standard model Meshy points it to on v1 and v2, so its results can change. For results that stay the same, send a specific model, such as meshy-6.
  • STL and 3MF files follow the model size rules.
Example: the same Image to 3D request on v1 and v2

Image to 3D request

# v1: Smart Topology through model_type, 4K textures through hd_texture, all formats by default
curl https://api.meshy.ai/openapi/v1/image-to-3d \
  -X POST \
  -H "Authorization: Bearer ${MESHY_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://docs.meshy.ai/images/api/quick-start/source-photo.webp",
    "model_type": "smart-topology",
    "ai_model": "meshy-t2",
    "should_texture": true,
    "hd_texture": true,
    "symmetry_mode": "auto"
  }'
Example: the same Multi-Image to 3D request on v1 and v2

Multi-Image to 3D request

# v1: texture_prompt wins over texture_image_url, 4K through hd_texture
curl https://api.meshy.ai/openapi/v1/multi-image-to-3d \
  -X POST \
  -H "Authorization: Bearer ${MESHY_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "image_urls": [
      "https://docs.meshy.ai/images/api/quick-start/source-photo.webp",
      "https://docs.meshy.ai/images/api/quick-start/source-photo.webp"
    ],
    "ai_model": "meshy-7.1",
    "should_texture": true,
    "hd_texture": true,
    "texture_prompt": "weathered bronze",
    "texture_image_url": "https://docs.meshy.ai/images/api/quick-start/source-photo.webp"
  }'

Retexture

To get the same results as on v1, change these parts of your request.

v1 requestOn v2Send on v2
text_style_prompt, image_style_url400texture_prompt, texture_image_url
ai_modelRenamedtexture_model. See Texture model.
ai_model omitted400"texture_model": "meshy-7"
enable_original_uv omittedKeeps usable UVs"uv_mode": "regenerate"
"enable_original_uv": false400"uv_mode": "regenerate"
"enable_original_uv": true400"uv_mode": "preserve"
target_formats omittedReturns GLB onlyThe formats you use
"hd_texture": true400"texture_resolution": "4k"
text_style_prompt with image_style_url400texture_image_url only
art_style400Nothing. v2 has no art styles. With cartoon, v1 skipped Meshy's prompt rewrite, which v2 can apply to a short prompt.
name400Nothing. Your results don't change.
alpha_thumbnail400Nothing. thumbnail_url is already a PNG with a transparent background.

These replacements need more detail:

  • uv_mode decides the UVs. A model with no UVs gets new ones with every value. The values work like this:
    • auto, the default, keeps the model's UVs if the box around all its UV coordinates covers at least 5% of the UV square. Otherwise, it generates new ones.
    • regenerate always generates new ones, like v1.
    • preserve keeps them. A model whose UV box covers less than 5% fails with model_insufficient_uv.
  • With input_task_id, keeping the UVs also keeps the mesh's size and position. With new UVs, or a model_url upload, Meshy re-centers the mesh and keeps its size. See Model size.
  • When you sent both texture inputs, v1 used image_style_url and ignored text_style_prompt.
  • STL and 3MF files follow the model size rules.
Example: the same Retexture request on v1 and v2

Retexture request

# v1: style prompt name, default UV behavior regenerates UVs
curl https://api.meshy.ai/openapi/v1/retexture \
  -X POST \
  -H "Authorization: Bearer ${MESHY_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model_url": "https://cdn.meshy.ai/model/example_model_2.glb",
    "text_style_prompt": "weathered bronze with green patina",
    "ai_model": "meshy-7",
    "enable_pbr": true,
    "hd_texture": true
  }'

Remesh

v2 Remesh changes topology and polycount, and returns the formats you list in target_formats, as v1 Remesh does. Without target_formats, it returns GLB. Quad topology stays quad in OBJ and FBX files. Remesh accepts these parameters:

  • input_task_id or model_url
  • topology
  • target_polycount
  • decimation_mode
  • target_formats

Remesh doesn't take alpha_thumbnail, because thumbnail_url is already a PNG with a transparent background. A request with it returns 400.

The result keeps the model's size, including the size of a model_url upload. A model_url upload comes back as one centered mesh, so it doesn't keep its position. Remesh drops rigs, animations, and morph targets. STL and 3MF files follow the model size rules, so their size can differ from v1 Remesh files.

Remove these parameters from the request:

  • resize_height
  • resize_longest_side
  • origin_at
  • auto_size
  • convert_format_only

If any of them is present, even as null or false, the request returns 400.

To get a v1 result that used these parameters, run a chain of tasks. Pass each task's id as the next task's input_task_id, and wait for each task to succeed before you create the next one:

  • For Remesh with a new size, run Remesh, then Resize, then Convert if you need other formats.
  • For Remesh with origin_at and no size, run the same chain and send only origin_at to Resize.
  • For "convert_format_only": true, run one Convert task. v1 didn't remesh in this mode either.

Like a v1 Remesh with a new size, the chain keeps quad topology in OBJ, FBX, and Blend files. A textured OBJ comes with its mtl file.

Resize sets the size with resize_height, resize_longest_side, or auto_size, and puts the origin at the bottom unless you send origin_at, as v1 Remesh did when it resized. Sent alone, origin_at moves only the origin and keeps the size, as on v1.

Resize and Convert tasks have no thumbnail_url. If you read the thumbnail from your v1 Remesh result, read it from the Remesh task. When you ran only Convert, read it from the input task. Their texture_urls lists the input task's texture maps.

Meshy charges each task separately. A Remesh with formats costs 5 credits on v1 and v2. A v1 Remesh with formats and a resize or an origin move cost 5 credits. The v2 chain costs 7: Remesh 5, Resize 1, and Convert 1. A convert_format_only request becomes one Convert task for 1 credit instead of 5.

Example: a v1 Remesh request as a v2 chain

Remesh request

# v1: remesh, resize, and convert in one task
curl https://api.meshy.ai/openapi/v1/remesh \
  -X POST \
  -H "Authorization: Bearer ${MESHY_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "input_task_id": "018a210d-8ba4-705c-b111-1f1776f7f578",
    "topology": "triangle",
    "target_polycount": 10000,
    "resize_height": 1.8,
    "origin_at": "bottom",
    "target_formats": ["glb", "fbx"]
  }'

Convert and Resize

The requests work as on v1, and Convert still requires target_formats. v2 Resize also takes origin_at without a size: it moves only the origin and keeps the size. Tasks that take a v2 Resize task as input_task_id use the resized model, including an OBJ, FBX, or STL file resized from model_url. On v2, Convert keeps the size of a model_url upload in every format, and its STL and 3MF files follow the model size rules.

Model size

On v2, a model's size depends on where it comes from:

  • Image to 3D and Multi-Image to 3D scale their STL and 3MF files down to at most 150 mm on the longest side, keeping the proportions. Other formats keep the model's size. Tasks that start from a model Meshy generated do the same, for example a Remesh or Convert of an Image to 3D or Text to 3D task, and so does a model scaled with auto_size.
  • Text to 3D, Resize, Repair Printability, and Relief don't apply the cap to their own files.
  • A model you upload with model_url keeps its own size in every format on Convert, Remesh, Retexture, and Multi-Color Print.
  • A model you resize with resize_height or resize_longest_side keeps the size you set, in every format.

To print a generated model at another size, run Resize, then Convert to stl or 3mf.

An upload comes back as one centered mesh without rigs or animations. Remesh also drops morph targets. If Meshy can't read an upload's size, it returns the model at a standard size, with STL and 3MF files at most 150 mm.

A scaled-down STL file, and every 3MF file, has its origin at the bottom. Auto Split always applies the cap.

Text to Image and Image to Image

Replace remove_background with background. A request with remove_background returns 400. By default, v2 returns PNG images with a transparent background, for single and multi-view images. Background removal keeps only the main subject, so a generated scene or environment is removed too. If background removal fails, the task still succeeds with the original image. To keep the background of a single image, send "background": "opaque". Multi-view images always have a transparent background, and "background": "opaque" with generate_multi_view: true returns 400. Credits don't change.

Example: the same Text to Image request on v1 and v2

Text to Image request

# v1: background removal is opt-in
curl https://api.meshy.ai/openapi/v1/text-to-image \
  -X POST \
  -H "Authorization: Bearer ${MESHY_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "ai_model": "nano-banana",
    "prompt": "a brass robot, full body",
    "remove_background": true
  }'

Other endpoints

These endpoints keep their v1 requests, except for the removed parameters listed after this list. Their responses change to the v2 task object:

  • UV Unwrap
  • Rigging
  • Rigging Check
  • Animation
  • Text to Motion
  • Multi-Color Print
  • Repair Printability
  • Analyze Printability
  • Auto Split
  • Relief

Some of them have extra details:

  • For Rigging, Rigging Check, Animation, and Text to Motion, the fields v1 nested under result move to output. See Response fields.
  • Rigging defaults skeleton_template to mixamo, and some models return 422. See Rigging. For the bones and units, see Rigging skeleton in Changes in v2.
  • Rigging's height_meters has no default on v2, and defaults to 1.7 for a biped rig on v1. To keep the v1 size, send "height_meters": 1.7.
  • Rigging and Animation name each animation clip as a download from the Meshy web app does: Walking and Running for the basic animations, and the animation's key for a library animation, such as Big_Wave_Hello. A Text to Motion clip takes its task's id, such as _018a210d_1c22_7e0f_9d3a_4a5b6c7d8e9f. On v1, it's named retarget_clip. See Animation.
  • Rigging doesn't take texture_image_url, and a request with it returns 400. Meshy uses the textures embedded in the model_url file, or the input task's textures. To rig a textured character from a model_url, embed its textures in the GLB.
  • Repair Printability doesn't take alpha_thumbnail, because thumbnail_url is already a PNG with a transparent background. A request with it returns 400.
  • Multi-Color Print keeps the size of a model_url upload, and its 3MF file follows the model size rules.
  • Relief's target_formats defaults to ["glb"] on v2, and to ["glb", "stl"] on v1. To keep the STL file, send "target_formats": ["glb", "stl"].
  • Analyze Printability is still free. If Meshy already analyzed the input_task_id model at the same printer type and print size, the create response can already be SUCCEEDED with output.printability filled in. Check status before you poll.
  • Repair Printability and Analyze Printability check wall thickness by default, for an FDM print 150 mm tall. To judge the walls at your own print, send printer_type and a size. For the default size of each file format, see Repair Printability.
Example: a Rigging result on v1 and v2

Rigging result

{
  "id": "018a210d-8ba4-705c-b111-1f1776f7f578",
  "type": "rig",
  "status": "SUCCEEDED",
  "result": {
    "rigged_character_fbx_url": "https://assets.meshy.ai/***/output/Character_output.fbx?Expires=***",
    "rigged_character_glb_url": "https://assets.meshy.ai/***/output/Character_output.glb?Expires=***",
    "basic_animations": {
      "walking_glb_url": "https://assets.meshy.ai/***/output/Animation_Walking_withSkin.glb?Expires=***",
      "running_glb_url": "https://assets.meshy.ai/***/output/Animation_Running_withSkin.glb?Expires=***"
    }
  }
}

Both examples are shortened to the fields that change.

Text to 3D

Text to 3D has no v1 version, and its create requests don't change. Its route already runs on v2, so these changes to its responses and errors apply to your current Text to 3D code:

  • The create response is the full task object, with the Location and Retry-After headers. It still includes result with the task ID, so existing code keeps working.
  • Read Text to 3D tasks through /openapi/v2/tasks, like every other task type. See Text to 3D reads.
  • Most error responses change to the v2 error object. See Errors.
  • A refine or one-call request with both texture_prompt and texture_image_url returns 400. To keep your current results, send only texture_prompt.

One-call requests

mode, which splits the work into a preview and a refine, is deprecated and stops working on March 15, 2027.

To make a model in one request, omit mode. A one-call request returns a textured model unless you send "should_texture": false, and needs texture_model for the texture. The task has the type text-to-3d, and costs the same as a preview plus a refine. One-call requests follow these rules:

  • If you also send mode, Text to 3D ignores should_texture and texture_model, and runs the two-step flow.
  • "should_texture": false creates the mesh only, and costs the same as a preview. With it, Meshy ignores texture_model and the other texture parameters.
  • Every ai_model takes texture_model of meshy-7, meshy-n1, or meshy-6-lite. With meshy-6 or meshy-6-lite, meshy-n1 needs texture_image_url. See Texture models.
  • ai_model can be one of these values:
    • latest
    • meshy-standard-latest
    • meshy-7.1
    • meshy-6
    • meshy-6-lite
    • A Smart Topology model, such as meshy-t2
  • meshy-7 returns 400, so send meshy-7.1 instead.
  • geometry_resolution 2k and 4k need meshy-7.1, or latest when it resolves to Meshy 7.1.
  • A one-call request with ultra_mode returns 400, so send geometry_resolution instead.
  • A one-call request with a parameter Text to 3D doesn't define returns 400 with the code parameter_unknown. See Parameter handling.
  • count above 1 returns 400.
  • If your refine sent ai_model, send its texture model as texture_model. For meshy-7, meshy-7.1, or latest, that's meshy-7. For meshy-n1 or meshy-6-lite, send the same value. For meshy-6, send meshy-7, the closest match.
  • You can't refine a one-call task. To check the mesh before you texture it, send "should_texture": false. Then texture the finished task with Retexture, using its id as input_task_id.
Example: a one-call request

cURL

# One call: omit mode, and name the texture model
curl https://api.meshy.ai/openapi/v2/text-to-3d \
  -X POST \
  -H "Authorization: Bearer ${MESHY_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a monster mask",
    "ai_model": "meshy-7.1",
    "texture_model": "meshy-7",
    "enable_pbr": true,
    "texture_prompt": "weathered bronze with green patina",
    "target_formats": ["glb", "fbx"]
  }'

Text to 3D reads

GET /openapi/v2/tasks/{id} returns Text to 3D tasks in the same shape as every other task type. If your code reads them from /openapi/v2/text-to-3d/{id}, its list, its stream, or v1 webhooks, these fields change when you move to the task routes. The Text to 3D routes and v1 webhooks also include input and output, next to the top-level fields.

FieldText to 3D routesTask routes
model_urls, thumbnail_url, texture_urls, and other resultsTop levelUnder output
prompt, mode, texture_prompt, and other request fieldsTop levelUnder input, and only the ones you sent
texture_image_urlA link to Meshy's copyinput.texture_image_url, the URL you sent
started_at, finished_at before they're set0null
preceding_tasksOnly while the task is queued, never in list itemsAlways present
consumed_credits when Meshy couldn't read the chargeMissingnull

input holds only the request you sent, so values Meshy filled in, such as model_type, are on the Text to 3D routes only. A refine's input has a prompt only if the refine request sent one, while the Text to 3D routes show its preview's prompt.

Unchanged behavior

Text to 3D keeps these behaviors:

  • model_type still works, but you can leave it out. ai_model alone picks the model, so meshy-t2.5 and meshy-t2 run Smart Topology without it.
  • Without target_formats, Text to 3D returns GLB, OBJ, FBX, STL, and USDZ. It returns 3mf only when you request it. It doesn't accept gltf, and it has no print size cap.
  • Most parameters a model can't use still return 400. For example, remove_lighting on a refine with meshy-6-lite returns remove_lighting is only supported for meshy-6. Meshy 7, Meshy 7.1, and Smart Topology texturing ignore remove_lighting instead.
  • Requests with mode ignore these parameters, and one-call requests return 400 for them. Remove them from your requests:
    • negative_prompt
    • art_style
    • symmetry_mode
    • texture_richness
  • Text to 3D responses don't include these fields:
    • negative_prompt
    • art_style
    • texture_richness
    • video_url
  • Call https://api.meshy.ai/openapi/v2/text-to-3d. The path without /openapi is deprecated. See the changelog.

Webhook payloads

Each webhook has a payload version, v1 or v2, that you set on the Webhooks page. The version doesn't depend on which API version created the task. Your existing webhooks stay on v1 until you switch them. A webhook you add on the Webhooks page starts on v2 unless you pick v1.

The two versions differ like this:

  • A v2 delivery has the header Meshy-Webhook-Version: v2 and the same task object as GET /openapi/v2/tasks/{id}, except progress. A delivery sends progress as 50 while the task is IN_PROGRESS, 100 when it succeeds, and 0 when it fails or is canceled.
  • A v1 delivery has the header Meshy-Webhook-Version: v1 and the v1 body for its task type. Text to 3D deliveries on a v1 webhook also have input and output, so tell the versions apart by the header, not the body.

Creative Lab is the one exception. Its deliveries keep their current body and the v1 header, even on a v2 webhook.

v1 and v2 webhooks receive the same tasks, whichever API version created them. Each webhook receives the tasks that run as its Meshy user, and a team API key runs as the team owner. See Webhooks.

A test from Send test on the Webhooks page has the same body and headers as a real delivery of that task, plus Meshy-Webhook-Test: true. Real deliveries never have this header. A test doesn't count as a delivery, and it doesn't change the webhook.

To test a webhook and switch it to v2, see Move your webhooks to v2.

Headers

v2 adds the Location header, sends Retry-After on the create response too, and keeps the rest.

Headerv1v2
LocationNot sent/openapi/v2/tasks/{id} on a 202 create response, or /openapi/v2/text-to-3d/{id} for Text to 3D
Retry-AfterOn a 429 for too many requests per second, and on reads of a PENDING or IN_PROGRESS taskThe same, and on the 202 create response as a hint for your first poll
X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-ResetSentSent

v1 and v2 share the same rate limits. For Text to 3D, Location points to the Text to 3D routes.

Errors

An error response is the same object as a failed task's task_error, in the form {"type": "...", "code": "...", "message": "...", "doc_url": ...}. HTTP status codes don't change, and message is still there, but many messages are more specific. For example, a v2 message names a parameter the way you sent it, or says why a download failed or why Meshy can't use a task ID. If your code matches message text, branch on code instead. See Request error codes.

Text to 3D errors use this object too. The exception is a request Meshy rejects before it reads the API key, for example because the key is missing or invalid. That response keeps the {"message": "..."} body.

v1 messagev2 code and message
Invalid values: TargetPolycount must be 100 or greaterparameter_out_of_range: target_polycount must be between 100 and 300000
Invalid values: FPS must be one of [24 25 30 60]parameter_invalid_value: post_process.fps must be one of: 24, 25, 30, 60
Invalid values: InputTaskID is a required field; ModelURL is a required fieldparameter_missing: Provide either input_task_id or model_url
failed to validate and download the input image, Fail to download imageinput_download_failed: Could not download image_url: the host example.invalid, or a URL it redirects to, could not be found
Task not found, for an input_task_idinput_task_not_found: input_task_id does not match any of your tasks
Input task is not succeeded, status is FAILEDinput_task_not_ready: input_task_id names a task that failed; use a task that succeeded

These requests worked on v1 and return 400 on v2:

  • parameter_missing with texture_model is required unless should_texture is false. Send texture_model (meshy-7, meshy-n1 or meshy-6-lite), or should_texture: false for an untextured mesh.: a request for a textured model has no texture_model. On Retexture, the message is texture_model is required. Send meshy-7, meshy-n1 or meshy-6-lite. See Texture model.
  • parameter_unknown: the request has a parameter the endpoint doesn't define, such as a removed v1 parameter or a misspelled name. message names the parameter and what to send instead. See Parameter handling.
  • parameters_conflict with Send either "input_task_id" or "model_url", not both.: the request has both model inputs. Send only input_task_id, the one v1 used.
  • parameters_conflict with texture_prompt and texture_image_url are mutually exclusive: the request has both texture inputs, on Image to 3D, Multi-Image to 3D, Retexture, or a Text to 3D refine or one-call request. Send only one. See Request parameters.
  • parameter_unknown with Unknown parameter "<parameter>": it is a v1 parameter. Use /openapi/v2/convert or /openapi/v2/resize instead.: a Remesh request has a resize parameter or convert_format_only. See Remesh.

Three 404 responses are worth telling apart:

  • route_not_found with NoMatchingRoute: Please double check the path and method: the route doesn't exist on v2, for example GET /openapi/v2/image-to-3d/{id}. Use /openapi/v2/tasks/{id}.
  • task_not_found with Task not found, or Task "<id>" not found on a delete: the task ID doesn't exist, belongs to another account, was deleted, or was removed after its retention period. See Asset retention. Creative Lab task IDs also return this.
  • input_task_not_found with input_task_id does not match any of your tasks, or the same text for preview_task_id or rig_task_id: a create request names a task that doesn't exist, belongs to another account, or was deleted.