Meshy
meshyMeshy provides generative 3D, image, motion, animation, model-processing, and Creative Lab APIs.
Acciones disponibles (27)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Cancel Creative Lab TaskMESHY_CANCEL_CREATIVE_LAB_TASKAcciónCancel a Creative Lab task only while it is PENDING or IN_PROGRESS. Terminal task history is retained. Canceling a PENDING task refunds its credits; canceling an IN_PROGRESS task does not refund credits.
MESHY_CANCEL_CREATIVE_LAB_TASKAcciónCancel a Creative Lab task only while it is PENDING or IN_PROGRESS. Terminal task history is retained. Canceling a PENDING task refunds its credits; canceling an IN_PROGRESS task does not refund credits.
Parámetros de entrada
task_idstringObligatorioID of a PENDING or IN_PROGRESS Creative Lab task to cancel.
task_typestringObligatorioenumCreative Lab task family that owns the ID; selects a fixed documented cancellation endpoint.
creative_lab_keychain_prototypecreative_lab_keychain_buildcreative_lab_fridge_magnet_prototypecreative_lab_fridge_magnet_buildcreative_lab_figure_prototypecreative_lab_figure_buildcreative_lab_vinyl_figure_prototypecreative_lab_vinyl_figure_buildcreative_lab_brick_figure_prototypecreative_lab_brick_figure_buildcreative_lab_lamp_prototypecreative_lab_lamp_build+5
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Animation TaskMESHY_CREATE_ANIMATION_TASKAcciónStart a 3-credit task that applies either a selected library animation or a succeeded Text to Motion clip to a completed rigging task and return the animation task ID.
MESHY_CREATE_ANIMATION_TASKAcciónStart a 3-credit task that applies either a selected library animation or a succeeded Text to Motion clip to a completed rigging task and return the animation task ID.
Parámetros de entrada
namestringOptional task name.
action_idintegerIdentifier of the preset animation action to apply, returned by MESHY_LIST_ANIMATION_LIBRARY. Provide exactly one of action_id or motion_task_id.
rig_task_idstringObligatorioCompleted Meshy rigging task ID whose model will be animated.
post_processobjectOptional post-processing operation for changing frame rate, converting FBX to USDZ, or extracting the armature.
motion_task_idstringID of a successfully completed Text to Motion task to apply instead of a preset action. The generated clip is retargeted onto the rigged character and snapshotted when this task is created. Source assets are retained for 3 days, so apply the clip before it expires. Requires a biped rig. Provide exactly one of action_id or motion_task_id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Auto Split TaskMESHY_CREATE_AUTO_SPLIT_TASKAcciónSplit a succeeded untextured Meshy 6 or Meshy 7 model into separately printable parts and return the task ID. An accepted task costs 10 credits; failed tasks are refunded, as is a task deleted while still pending.
MESHY_CREATE_AUTO_SPLIT_TASKAcciónSplit a succeeded untextured Meshy 6 or Meshy 7 model into separately printable parts and return the task ID. An accepted task costs 10 credits; failed tasks are refunded, as is a task deleted while still pending.
Parámetros de entrada
modestringenumSplit automatically, by named structural parts, or by named color regions. by_color requires an Image to 3D or Multi-Image to 3D source.
autoby_partsby_colorlayoutstringenumKeep parts assembled or lay them out separately on a build plate.
assembledon_platepromptstringOne to ten part names in any language, not a general description. Required for by_parts and by_color and ignored for auto. Meshy rejects prompts naming fewer than two parts; an unreadable prompt falls back to auto and the task reports prompt_ignored.
connectorsbooleanAdd mortise-and-tenon connectors at each cut.
input_task_idstringObligatorioSucceeded, untextured Meshy 6 or Meshy 7 Image to 3D, Multi-Image to 3D, Text to 3D preview, Remesh, Convert, or Resize task whose model will be split.
connector_sizenumberConnector size relative to the cut surface. Only valid when connectors is true.
connector_typestringenumConnector shape. Only valid when connectors is true.
cubecylindertarget_formatsstring[]Output formats. GLB is always produced; STL is not supported.
connector_heightnumberConnector extension relative to the cut surface. Only valid when connectors is true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Collapsible Fidget TaskMESHY_CREATE_COLLAPSIBLE_FIDGET_TASKAcciónStart an entitled 6-credit task that generates a collapsible fidget directly from an image and return the task ID.
MESHY_CREATE_COLLAPSIBLE_FIDGET_TASKAcciónStart an entitled 6-credit task that generates a collapsible fidget directly from an image and return the task ID.
Parámetros de entrada
namestringOptional task name, up to 100 characters.
image_urlstringObligatorioPublic HTTP(S) URL or base64 data URI for a JPG, JPEG, PNG, or WebP source image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Convert TaskMESHY_CREATE_CONVERT_TASKAcciónStart a 1-credit task that converts a model into one or more requested formats; returns the task ID.
MESHY_CREATE_CONVERT_TASKAcciónStart a 1-credit task that converts a model into one or more requested formats; returns the task ID.
Parámetros de entrada
model_urlstringModel HTTP(S) URL or data URI to convert. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
input_task_idstringPrior Meshy task ID containing the model to convert. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
target_formatsstring[]ObligatorioOne or more output formats: glb, obj, fbx, stl, usdz, blend, or 3mf.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Creative Lab BuildMESHY_CREATE_CREATIVE_LAB_BUILDAcciónStart a 3D build from a succeeded matching Creative Lab prototype. Lamp builds cost 6 credits, keycap builds cost 50, and all other builds cost 30. The call returns a build task ID.
MESHY_CREATE_CREATIVE_LAB_BUILDAcciónStart a 3D build from a succeeded matching Creative Lab prototype. Lamp builds cost 6 credits, keycap builds cost 50, and all other builds cost 30. The call returns a build task ID.
Parámetros de entrada
namestringOptional task name.
productstringObligatorioenumCreative Lab product to build. It must match the succeeded prototype task.
keychainfridge_magnetfigurevinyl_figurebrick_figurelampkeycapfidget_pixelbuild_optionsanyRequired when product='keycap' and must include a non-empty candidate_id. Optional when product is 'keychain', 'fridge_magnet', 'lamp', or 'fidget_pixel'. Omit for figure, vinyl_figure, or brick_figure; build_options is rejected for those products.
input_task_idstringObligatorioSucceeded prototype task ID created for the selected product with the same Meshy API key.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Creative Lab PrototypeMESHY_CREATE_CREATIVE_LAB_PROTOTYPEAcciónStart an entitled image-to-prototype task for a fixed Creative Lab product. Lamp prototypes cost 30 credits, keycap prototypes cost 12, and all other prototypes cost 6. The task ID can be passed to the matching build operation.
MESHY_CREATE_CREATIVE_LAB_PROTOTYPEAcciónStart an entitled image-to-prototype task for a fixed Creative Lab product. Lamp prototypes cost 30 credits, keycap prototypes cost 12, and all other prototypes cost 6. The task ID can be passed to the matching build operation.
Parámetros de entrada
namestringOptional task name of at most 100 characters.
productstringObligatorioenumCreative Lab product prototype to generate; selects one fixed documented endpoint.
keychainfridge_magnetfigurevinyl_figurebrick_figurelampkeycapfidget_pixelimage_urlstringObligatorioPublic image URL or base64 data URI containing a JPG, JPEG, PNG, or WebP image.
product_optionsanyRequired when product='fidget_pixel': set the nested product discriminator to 'fidget_pixel' and provide a non-empty type. Optional when product is 'keychain' or 'lamp', with the nested product discriminator matching the top-level product. Omit for fridge_magnet, figure, vinyl_figure, brick_figure, or keycap; product_options is rejected for those products.
remove_backgroundbooleanWhether Meshy should return a transparent prototype image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Image to 3D TaskMESHY_CREATE_IMAGE_TO_3D_TASKAcciónStart a 3D generation task from one to four views of one object or a prior task's input images. One image uses single-image generation and two to four use multi-image generation. Meshy-6/7 cost 20 credits without texture, 30 with texture, or 35 with 8K texture; single-image Meshy T2 costs 5, 15, or 20 respectively; other models cost 5 without or 15 with texture. Ultra on Meshy-7 adds 5 credits. Returns task_id and the exact task_type discriminator for GET_TASK, LIST_TASKS, or DELETE_TASK.
MESHY_CREATE_IMAGE_TO_3D_TASKAcciónStart a 3D generation task from one to four views of one object or a prior task's input images. One image uses single-image generation and two to four use multi-image generation. Meshy-6/7 cost 20 credits without texture, 30 with texture, or 35 with 8K texture; single-image Meshy T2 costs 5, 15, or 20 respectively; other models cost 5 without or 15 with texture. Ultra on Meshy-7 adds 5 credits. Returns task_id and the exact task_type discriminator for GET_TASK, LIST_TASKS, or DELETE_TASK.
Parámetros de entrada
namestringOptional task name, up to 100 characters.
ai_modelstringenumMeshy model to use. When omitted, Meshy selects the endpoint and model-type default. meshy-t2 is single-image only and requires model_type='smart-topology'; meshy-7 may require account entitlement. Pricing before add-ons: meshy-6 and meshy-7 cost 20 credits without texture or 30 with texture; meshy-t2 costs 5 without texture or 15 with texture; other models cost 5 without texture or 15 with texture.
meshy-5meshy-6meshy-7latestmeshy-t2topologystringenumOutput mesh topology. Quad topology is not supported by meshy-t2.
quadtriangleauto_sizebooleanWhether to estimate the model's real-world size automatically.
origin_atstringenumPlace the model origin at its bottom or center.
bottomcenterpose_modestringenumForce an A-pose or T-pose for a character model.
a-poset-poseenable_pbrbooleanWhether to produce physically based rendering texture maps.
image_urlsstring[]One to four views of the same object. One image uses Meshy's single-image pipeline; two to four images use its multi-image pipeline. One of image_urls or input_task_id is required. If both are provided, input_task_id takes priority and image_urls is ignored.
model_typestringenumSingle-image-only generation pipeline: standard, lowpoly, or smart-topology.
standardlowpolysmart-topologymoderationbooleanWhether to run content moderation.
ultra_modebooleanEnable the high-detail pass. Ultra adds 5 credits to the applicable meshy-7 price and requires account entitlement; it requires meshy-7 for single-image or meshy-7/latest for multi-image generation.
experimentalobjectSingle-image-only experimental generation options.
input_task_idstringPrior task whose input image or images should be reused. One of input_task_id or image_urls is required; if both are provided, this task takes priority. Also provide input_image_count.
should_remeshbooleanWhether to remesh after the draft stage. The default depends on the model.
should_texturebooleanWhether to run the texture stage. Texturing adds 10 credits to the base 5- or 20-credit generation price.
target_formatsstring[]Additional output formats: glb, obj, fbx, stl, usdz, or 3mf.
texture_promptstringOptional texture description, up to 800 characters. If texture_image_url is also provided, texture_prompt takes priority and texture_image_url is ignored. For multi-image generation it is mutually exclusive with texture_image_urls.
alpha_thumbnailbooleanWhether to produce a transparent-background preview.
decimation_modeintegerenumDecimation algorithm selector from 1 through 4.
1234remove_lightingbooleanWhether to remove baked lighting. Not supported with smart-topology.
target_polycountintegerTarget polygon count from 100 to 300000. When omitted, Meshy chooses the single-image default or 30000 for multi-image generation.
image_enhancementbooleanWhether to enhance the input image(s). Not supported with smart-topology.
input_image_countintegerNumber of input images in input_task_id. Required only with input_task_id; 1 selects the single-image pipeline and 2-4 select the multi-image pipeline.
texture_image_urlstringOptional single texture reference as an HTTP(S) URL or data URI. For single- or multi-image generation, texture_prompt takes priority if both are provided. For multi-image generation it is mutually exclusive with texture_image_urls.
texture_image_urlsstring[]Multi-image-only texture reference views, with the primary view first. Requires should_texture and meshy-7/latest; mutually exclusive with texture_prompt and texture_image_url.
texture_resolutionstringenumTexture resolution tier: 2k, 4k, or 8k. An 8K texture adds 5 credits for meshy-6, meshy-7, and single-image meshy-t2, making their textured prices 35, 35, and 20 credits respectively. Other textured models remain 15 credits; meshy-5 does not support 4K or 8K.
2k4k8kmulti_view_thumbnailsbooleanWhether to render front, right, back, and left thumbnails.
save_pre_remeshed_modelbooleanWhether to include the model produced before remeshing in task outputs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Image to Image TaskMESHY_CREATE_IMAGE_TO_IMAGE_TASKAcciónStart a credit-consuming task that edits or restyles one to five reference images from a text instruction. The task costs 3 to 12 credits depending on the model and returns a task ID for status checks.
MESHY_CREATE_IMAGE_TO_IMAGE_TASKAcciónStart a credit-consuming task that edits or restyles one to five reference images from a text instruction. The task costs 3 to 12 credits depending on the model and returns a task ID for status checks.
Parámetros de entrada
promptstringObligatorioText instruction describing the transformation or edit to apply.
ai_modelstringObligatorioenumMeshy image-edit model to use.
nano-banananano-banana-pronano-banana-2gpt-image-2aspect_ratiostringenumOutput aspect ratio. gpt-image-2 supports 1:1, 16:9, 9:16, 3:2, and 2:3; nano-banana models support 1:1, 16:9, 9:16, 4:3, and 3:4. Do not set this with generate_multi_view.
1:116:99:164:33:43:22:3remove_backgroundbooleanWhether to return a transparent RGBA PNG with the background removed. Available only for single-image output.
generate_multi_viewbooleanWhether to generate a split image showing the subject from multiple angles. Cannot be combined with aspect_ratio or background removal.
reference_image_urlsstring[]ObligatorioOne to five reference images to edit from, provided as public HTTP(S) URLs or JPEG/PNG data URIs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Multi-Color Print TaskMESHY_CREATE_MULTI_COLOR_PRINT_TASKAcciónStart a 10-credit task that converts a GLB or FBX model from a prior Meshy task or direct URL into a limited-color 3MF for 3D printing, and return the task ID. When both sources are provided, input_task_id takes precedence.
MESHY_CREATE_MULTI_COLOR_PRINT_TASKAcciónStart a 10-credit task that converts a GLB or FBX model from a prior Meshy task or direct URL into a limited-color 3MF for 3D printing, and return the task ID. When both sources are provided, input_task_id takes precedence.
Parámetros de entrada
stylestringenumColor-placement algorithm to use.
realisticcartoonmax_depthintegerQuadtree depth from 3 to 6; used by the realistic style.
model_urlstringHTTP(S) URL or data URI for a GLB or FBX model. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
max_colorsintegerTarget number of colors, from 1 to 16.
input_task_idstringPrior Meshy task containing the GLB model. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Print Analysis TaskMESHY_CREATE_PRINT_ANALYSIS_TASKAcciónStart a free task that analyzes a GLB, GLTF, OBJ, FBX, or STL model from a prior Meshy task or direct URL for printability defects and return the task ID. When both sources are provided, input_task_id takes precedence.
MESHY_CREATE_PRINT_ANALYSIS_TASKAcciónStart a free task that analyzes a GLB, GLTF, OBJ, FBX, or STL model from a prior Meshy task or direct URL for printability defects and return the task ID. When both sources are provided, input_task_id takes precedence.
Parámetros de entrada
model_urlstringGLB, GLTF, OBJ, FBX, or STL HTTP(S) URL or data URI. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
input_task_idstringPrior Meshy task ID containing the model to analyze. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Print Repair TaskMESHY_CREATE_PRINT_REPAIR_TASKAcciónStart a 10-credit task that repairs a GLB, GLTF, OBJ, FBX, or STL model from a prior Meshy task or direct URL for 3D printing and return the task ID. When both sources are provided, input_task_id takes precedence. The repaired asset retains the input format.
MESHY_CREATE_PRINT_REPAIR_TASKAcciónStart a 10-credit task that repairs a GLB, GLTF, OBJ, FBX, or STL model from a prior Meshy task or direct URL for 3D printing and return the task ID. When both sources are provided, input_task_id takes precedence. The repaired asset retains the input format.
Parámetros de entrada
model_urlstringGLB, GLTF, OBJ, FBX, or STL model HTTP(S) URL or data URI. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
input_task_idstringPrior Meshy task ID containing the GLB, STL, or OBJ model to repair. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
alpha_thumbnailbooleanGenerate a transparent-background preview thumbnail.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Remesh TaskMESHY_CREATE_REMESH_TASKAcciónStart a 5-credit task that remeshes a model to the requested topology and polygon count, optionally resizes it, and exports the remeshed result in the requested formats. Use CREATE_CONVERT_TASK for format conversion without remeshing. Returns the remesh task ID.
MESHY_CREATE_REMESH_TASKAcciónStart a 5-credit task that remeshes a model to the requested topology and polygon count, optionally resizes it, and exports the remeshed result in the requested formats. Use CREATE_CONVERT_TASK for format conversion without remeshing. Returns the remesh task ID.
Parámetros de entrada
topologystringenumOutput mesh topology.
quadtriangleauto_sizebooleanAutomatically estimate real-world size; mutually exclusive with explicit sizing fields.
model_urlstringModel HTTP(S) URL or data URI to remesh. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
origin_atstringenumPlace the model origin at its bottom or center.
bottomcenterinput_task_idstringPrior Meshy task ID containing the model to remesh. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
resize_heightnumberTarget height in meters; mutually exclusive with resize_longest_side and auto_size.
target_formatsstring[]Formats for the remeshed output. Defaults to glb. Use CREATE_CONVERT_TASK when only format conversion is needed.
alpha_thumbnailbooleanGenerate a transparent-background preview thumbnail.
decimation_modeintegerenumDecimation algorithm selector from 1 through 4.
1234target_polycountintegerTarget polygon count from 100 to 300000.
resize_longest_sidenumberTarget longest side in meters; mutually exclusive with resize_height and auto_size.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Resize TaskMESHY_CREATE_RESIZE_TASKAcciónStart a 1-credit task that scales a model by height, longest side, or automatic sizing and return the task ID.
MESHY_CREATE_RESIZE_TASKAcciónStart a 1-credit task that scales a model by height, longest side, or automatic sizing and return the task ID.
Parámetros de entrada
auto_sizebooleanAutomatically estimate real-world size; choose exactly one sizing method.
model_urlstringModel HTTP(S) URL or data URI to resize. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
origin_atstringenumPlace the resized model origin at its bottom or center.
bottomcenterinput_task_idstringPrior Meshy task ID containing the model to resize. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
resize_heightnumberTarget height in meters; choose exactly one sizing method.
resize_longest_sidenumberTarget longest side in meters; choose exactly one sizing method.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Retexture TaskMESHY_CREATE_RETEXTURE_TASKAcciónStart a credit-consuming task that applies one text, image, or multiview style source to an existing 3D model. The task costs 10 credits at 2k or 4k resolution and 15 credits at 8k, and returns a task ID for status checks.
MESHY_CREATE_RETEXTURE_TASKAcciónStart a credit-consuming task that applies one text, image, or multiview style source to an existing 3D model. The task costs 10 credits at 2k or 4k resolution and 15 credits at 8k, and returns a task ID for status checks.
Parámetros de entrada
namestringOptional task name.
ai_modelstringenumMeshy model to use.
meshy-5meshy-6meshy-7latestart_stylestringenumArt style to apply to the generated texture.
realisticcartoonmodel_urlstringHTTP(S) URL or data URI for a GLB, GLTF, OBJ, FBX, or STL model. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
enable_pbrbooleanWhether to produce PBR texture maps.
input_task_idstringPrior Meshy task containing the model to retexture. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
target_formatsstring[]Additional model formats to export.
alpha_thumbnailbooleanWhether to produce a transparent-background preview thumbnail.
image_style_urlstringHTTP(S) URL or data URI for one style reference image. Provide at least one style source. Takes precedence over text_style_prompt when both are provided; text_style_prompt is omitted from the request. Cannot be combined with multiview_image_urls.
remove_lightingbooleanWhether to remove baked lighting from the texture; support depends on the selected model.
text_style_promptstringText description of the desired style. Provide at least one style source. May be combined with image_style_url, which takes precedence and causes text_style_prompt to be omitted from the request. Cannot be combined with multiview_image_urls.
enable_original_uvbooleanWhether to reuse the source model's UV coordinates.
texture_resolutionstringenumTexture resolution tier. Meshy defaults to 2k when omitted; 8k consumes more credits.
2k4k8kmultiview_image_urlsstring[]One to four style reference views of the same object, primary view first. Requires ai_model='meshy-7' and account entitlement; cannot be combined with text_style_prompt or image_style_url.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Rigging TaskMESHY_CREATE_RIGGING_TASKAcciónStart a 5-credit task that rigs a GLB character with a biped or quadruped skeleton and return the task ID. Models above 300,000 faces must be remeshed first.
MESHY_CREATE_RIGGING_TASKAcciónStart a 5-credit task that rigs a GLB character with a biped or quadruped skeleton and return the task ID. Models above 300,000 faces must be remeshed first.
Parámetros de entrada
namestringOptional task name.
model_urlstringHTTP(S) URL for the GLB model to rig. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
height_metersnumberTarget character height in meters; must be greater than zero.
input_task_idstringPrior Meshy task containing the GLB model to rig. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
animation_typestringenumSkeleton type to create for the character.
bipedquadrupedtexture_image_urlstringOptional PNG texture as an HTTP(S) URL or base64 data URI.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Text to 3D TaskMESHY_CREATE_TEXT_TO_3D_TASKAcciónStart a new Text to 3D preview or fused geometry-and-texture task and return its task ID. Preview costs 20 credits for Meshy 6/7, 5 credits for Meshy T2 or other models, and Ultra adds 5 credits; fused generation costs 30 credits for Meshy 6/7 or 15 for Meshy T2 and other models. Use REFINE_TEXT_TO_3D_TASK to texture a succeeded preview.
MESHY_CREATE_TEXT_TO_3D_TASKAcciónStart a new Text to 3D preview or fused geometry-and-texture task and return its task ID. Preview costs 20 credits for Meshy 6/7, 5 credits for Meshy T2 or other models, and Ultra adds 5 credits; fused generation costs 30 credits for Meshy 6/7 or 15 for Meshy T2 and other models. Use REFINE_TEXT_TO_3D_TASK to texture a succeeded preview.
Parámetros de entrada
namestringOptional human-readable task name.
seedintegerNon-negative random seed. Use 0 to let Meshy randomize it.
countintegerNumber of candidates to generate, from 2 to 4. Not supported by meshy-t2 or fused generation.
promptstringObligatorioDescription of the object to generate.
ai_modelstringenumMeshy model to use; meshy-7 and meshy-t2 require entitlement.
meshy-5meshy-6meshy-7latestmeshy-t2model_idstringOptional client-supplied identifier for batch correlation.
topologystringenumOutput mesh topology. quad is not supported by meshy-t2.
quadtriangleart_stylestringArt style for the generated model.
auto_sizebooleanWhether Meshy should estimate the model's real-world size.
origin_atstringenumPlace the generated model origin at its bottom or center.
bottomcenterpose_modestringenumForce an A-pose or T-pose for a character model.
a-poset-poseenable_pbrbooleanWhether to produce physically based rendering texture maps.
model_typestringenumGeneration pipeline. smart-topology selects the meshy-t2 model family.
standardlowpolysmart-topologymoderationbooleanWhether to run content moderation on this task.
ultra_modebooleanEnable the entitled high-detail pass for a meshy-7 preview; this consumes additional credits.
experimentalobjectExperimental fast-mode options that may change.
should_remeshbooleanWhether to remesh after draft generation; the provider default depends on the model.
target_formatsstring[]Additional model formats to export.
texture_promptstringDescription of the desired texture appearance.
alpha_thumbnailbooleanWhether to produce a preview thumbnail with a transparent background.
decimation_modeintegerenumMeshy decimation algorithm selector from 1 through 4.
1234generation_pathstringObligatorioenumRequired generation path. preview creates geometry only and costs 20 credits for Meshy 6/7 or 5 for Meshy T2 and other models; fused creates geometry and texture in one task and costs 30 or 15 credits, respectively.
previewfusednegative_promptstringFeatures or visual qualities that the generated object should avoid.
target_polycountintegerTarget polygon count from 100 to 300000; the provider chooses a model-specific default when omitted.
texture_richnessstringenumTexture detail level.
nonelowmediumhightexture_image_urlstringHTTP(S) URL of an image to use as a texture reference.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Text to Image TaskMESHY_CREATE_TEXT_TO_IMAGE_TASKAcciónStart a credit-consuming 2D image generation task from a text prompt. The task costs 3 to 9 credits depending on the model and returns a task ID for status checks.
MESHY_CREATE_TEXT_TO_IMAGE_TASKAcciónStart a credit-consuming 2D image generation task from a text prompt. The task costs 3 to 9 credits depending on the model and returns a task ID for status checks.
Parámetros de entrada
promptstringObligatorioText description of the image to generate.
ai_modelstringObligatorioenumMeshy image model to use.
nano-banananano-banana-pronano-banana-2gpt-image-2pose_modestringenumForce an A-pose or T-pose; this may upgrade the model and require a higher account tier.
a-poset-poseaspect_ratiostringenumOutput aspect ratio. gpt-image-2 supports 1:1, 16:9, 9:16, 3:2, and 2:3; nano-banana models support 1:1, 16:9, 9:16, 4:3, and 3:4. Do not set this for multi-view generation.
1:116:99:164:33:43:22:3remove_backgroundbooleanWhether to return a transparent RGBA cutout. Available only for single-image generation.
generate_multi_viewbooleanWhether to produce one four-view split image instead of a single image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Text to Motion TaskMESHY_CREATE_TEXT_TO_MOTION_TASKAcciónStart an entitled motion-generation task from a text prompt and return its task ID. Prime mode costs 10 credits and the completed task produces FBX; swift mode costs 3 credits and the completed task produces BVH.
MESHY_CREATE_TEXT_TO_MOTION_TASKAcciónStart an entitled motion-generation task from a text prompt and return its task ID. Prime mode costs 10 credits and the completed task produces FBX; swift mode costs 3 credits and the completed task produces BVH.
Parámetros de entrada
modestringenumGeneration mode: prime costs 10 credits and the completed task produces FBX; swift costs 3 credits and the completed task produces BVH.
primeswiftpromptstringObligatorioDescription of the motion to generate, up to 400 characters.
durationnumberObligatorioMotion length from 2 to 10 seconds in 0.5-second increments.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create UV Unwrap TaskMESHY_CREATE_UV_UNWRAP_TASKAcciónStart a 5-credit task that generates UV coordinates for a GLB model and return the task ID. High-poly models may need to be remeshed first.
MESHY_CREATE_UV_UNWRAP_TASKAcciónStart a 5-credit task that generates UV coordinates for a GLB model and return the task ID. High-poly models may need to be remeshed first.
Parámetros de entrada
model_urlstringGLB HTTP(S) URL or data URI. Required when input_task_id is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
input_task_idstringPrior Meshy task containing the GLB model. Required when model_url is omitted. When both sources are provided, input_task_id takes precedence and model_url is omitted from the request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete TaskMESHY_DELETE_TASKAcciónPermanently delete a GA or Text-to-Motion task and its retained outputs. Creative Lab tasks cannot be deleted with this action; use CANCEL_CREATIVE_LAB_TASK for an active Creative Lab task.
MESHY_DELETE_TASKAcciónPermanently delete a GA or Text-to-Motion task and its retained outputs. Creative Lab tasks cannot be deleted with this action; use CANCEL_CREATIVE_LAB_TASK for an active Creative Lab task.
Parámetros de entrada
task_idstringObligatorioProvider task ID to permanently delete.
task_typestringObligatorioenumPermanently deletable GA or Text-to-Motion task family that owns the ID; selects a fixed documented endpoint.
text_to_3dimage_to_3dmulti_image_to_3dretextureremeshconvertresizeuv_unwraprigginganimationtext_to_imageimage_to_image+5
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Credit BalanceMESHY_GET_CREDIT_BALANCEAcciónReturn the connected Meshy account's available credit balance before starting paid generation tasks.
MESHY_GET_CREDIT_BALANCEAcciónReturn the connected Meshy account's available credit balance before starting paid generation tasks.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TaskMESHY_GET_TASKAcciónRetrieve current status, errors, and available outputs for one task from a selected Meshy task family. This read does not consume credits.
MESHY_GET_TASKAcciónRetrieve current status, errors, and available outputs for one task from a selected Meshy task family. This read does not consume credits.
Parámetros de entrada
task_idstringObligatorioMeshy task ID returned by a create or list call.
task_typeanyObligatorioTask family that owns the ID. This selects one fixed documented endpoint.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Animation LibraryMESHY_LIST_ANIMATION_LIBRARYAcciónSearch or filter Meshy's unpaginated animation catalog and return action IDs for use when creating animation tasks.
MESHY_LIST_ANIMATION_LIBRARYAcciónSearch or filter Meshy's unpaginated animation catalog and return action IDs for use when creating animation tasks.
Parámetros de entrada
searchstringLiteral case-insensitive substring to match against animation names or keys.
categorystringenumExact animation category to return.
WalkAndRunBodyMovementsDailyActionsFightingDancingaction_idsinteger[]One to 200 animation action IDs to return. Unknown IDs are omitted.
sub_categorystringExact animation sub-category; the same name may occur in multiple categories.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TasksMESHY_LIST_TASKSAcciónReturn one page of tasks for one selected Meshy task family, with an opaque cursor for safe continuation. This read does not consume credits.
MESHY_LIST_TASKSAcciónReturn one page of tasks for one selected Meshy task family, with an opaque cursor for safe continuation. This read does not consume credits.
Parámetros de entrada
sort_bystringenumSort by creation time: +created_at for oldest first or -created_at for newest first.
+created_at-created_atpage_sizeintegerTasks in this page. The maximum is 100 for 30 explicitly documented families. UV Unwrap, Rigging, Animation, and Text to Motion are capped at the documented and provider-accepted value 20; Text to Motion's exact provider maximum is not documented.
task_typeanyExact Meshy task family to list. Required for the first page; omit it only when continuing with next_cursor.
next_cursorstringOpaque cursor returned by a prior call. When continuing, send next_cursor as the only parameter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Usage RecordsMESHY_LIST_USAGE_RECORDSAcciónReturn one page of terminal API-task usage and consumed credits for the connected Meshy team. This endpoint is available only to Studio and Enterprise team API keys. Pass next_cursor alone to continue the same filtered export; split exports into windows of at most one year.
MESHY_LIST_USAGE_RECORDSAcciónReturn one page of terminal API-task usage and consumed credits for the connected Meshy team. This endpoint is available only to Studio and Enterprise team API keys. Pass next_cursor alone to continue the same filtered export; split exports into windows of at most one year.
Parámetros de entrada
statusstringenumTerminal status to include: SUCCEEDED or FAILED. Omit to include both.
SUCCEEDEDFAILEDsort_bystringenumSort by creation time: +created_at for oldest first or -created_at for newest first.
+created_at-created_atend_timestringEnd of the created_at window as an RFC3339 timestamp. Defaults to the current time.
endpointsstring[]Endpoint families to include. Meshy receives these as one comma-separated endpoints filter; text-to-3d includes preview and refine.
page_sizeintegerUsage records in this page, from 1 through 100.
start_timestringStart of the created_at window as an RFC3339 timestamp. Defaults to 30 days before end_time.
next_cursorstringOpaque cursor returned by a prior call. When continuing, send next_cursor as the only parameter; the original filters are restored from it.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Refine Text to 3D TaskMESHY_REFINE_TEXT_TO_3D_TASKAcciónApply texture to a succeeded Text to 3D preview and return the new refine task ID. Refinement costs 10 credits at 2k or 4k texture resolution and 15 credits at 8k.
MESHY_REFINE_TEXT_TO_3D_TASKAcciónApply texture to a succeeded Text to 3D preview and return the new refine task ID. Refinement costs 10 credits at 2k or 4k texture resolution and 15 credits at 8k.
Parámetros de entrada
ai_modelstringenumTexture model. Omit to inherit the preview task's model.
meshy-5meshy-6meshy-7latestauto_sizebooleanEstimate the model's real-world height and resize it.
origin_atstringenumPlace the origin at the bottom or center when auto_size is enabled.
bottomcenterenable_pbrbooleanGenerate metallic, roughness, and normal maps in addition to base color.
moderationbooleanScreen the texture prompt and reference image for harmful content.
target_formatsstring[]Model formats to generate for the textured output.
texture_promptstringText guidance for the texture. If both texture guides are supplied, this takes precedence.
alpha_thumbnailbooleanAlso render a transparent-background preview thumbnail.
preview_task_idstringObligatorioID of a succeeded Text to 3D preview task whose mesh will be textured.
remove_lightingbooleanRemove highlights and shadows from base color; Meshy defaults this to true.
texture_image_urlstringPublic HTTP(S) URL or image data URI used to guide the texture.
texture_resolutionstringenumTexture resolution. Meshy defaults to 2k; 2k/4k cost 10 credits and 8k costs 15 credits.
2k4k8k
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not