Volver al catálogo

Meshy

meshy

Meshy provides generative 3D, image, motion, animation, model-processing, and Creative Lab APIs.

Acciones
27
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Cancel 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_idstringObligatorio

    ID of a PENDING or IN_PROGRESS Creative Lab task to cancel.

  • task_typestringObligatorioenum

    Creative 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Animation TaskMESHY_CREATE_ANIMATION_TASKAcción

Start 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

  • namestring

    Optional task name.

  • action_idinteger

    Identifier 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_idstringObligatorio

    Completed Meshy rigging task ID whose model will be animated.

  • post_processobject

    Optional post-processing operation for changing frame rate, converting FBX to USDZ, or extracting the armature.

  • motion_task_idstring

    ID 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Auto Split TaskMESHY_CREATE_AUTO_SPLIT_TASKAcción

Split 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

  • modestringenum

    Split 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_color
  • layoutstringenum

    Keep parts assembled or lay them out separately on a build plate.

    assembledon_plate
  • promptstring

    One 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.

  • connectorsboolean

    Add mortise-and-tenon connectors at each cut.

  • input_task_idstringObligatorio

    Succeeded, 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_sizenumber

    Connector size relative to the cut surface. Only valid when connectors is true.

  • connector_typestringenum

    Connector shape. Only valid when connectors is true.

    cubecylinder
  • target_formatsstring[]

    Output formats. GLB is always produced; STL is not supported.

  • connector_heightnumber

    Connector extension relative to the cut surface. Only valid when connectors is true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Collapsible Fidget TaskMESHY_CREATE_COLLAPSIBLE_FIDGET_TASKAcción

Start an entitled 6-credit task that generates a collapsible fidget directly from an image and return the task ID.

Parámetros de entrada

  • namestring

    Optional task name, up to 100 characters.

  • image_urlstringObligatorio

    Public HTTP(S) URL or base64 data URI for a JPG, JPEG, PNG, or WebP source image.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Convert TaskMESHY_CREATE_CONVERT_TASKAcción

Start a 1-credit task that converts a model into one or more requested formats; returns the task ID.

Parámetros de entrada

  • model_urlstring

    Model 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_idstring

    Prior 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[]Obligatorio

    One or more output formats: glb, obj, fbx, stl, usdz, blend, or 3mf.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Creative Lab BuildMESHY_CREATE_CREATIVE_LAB_BUILDAcción

Start 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

  • namestring

    Optional task name.

  • productstringObligatorioenum

    Creative Lab product to build. It must match the succeeded prototype task.

    keychainfridge_magnetfigurevinyl_figurebrick_figurelampkeycapfidget_pixel
  • build_optionsany

    Required 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_idstringObligatorio

    Succeeded prototype task ID created for the selected product with the same Meshy API key.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Creative Lab PrototypeMESHY_CREATE_CREATIVE_LAB_PROTOTYPEAcción

Start 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

  • namestring

    Optional task name of at most 100 characters.

  • productstringObligatorioenum

    Creative Lab product prototype to generate; selects one fixed documented endpoint.

    keychainfridge_magnetfigurevinyl_figurebrick_figurelampkeycapfidget_pixel
  • image_urlstringObligatorio

    Public image URL or base64 data URI containing a JPG, JPEG, PNG, or WebP image.

  • product_optionsany

    Required 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_backgroundboolean

    Whether Meshy should return a transparent prototype image.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Image to 3D TaskMESHY_CREATE_IMAGE_TO_3D_TASKAcción

Start 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

  • namestring

    Optional task name, up to 100 characters.

  • ai_modelstringenum

    Meshy 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-t2
  • topologystringenum

    Output mesh topology. Quad topology is not supported by meshy-t2.

    quadtriangle
  • auto_sizeboolean

    Whether to estimate the model's real-world size automatically.

  • origin_atstringenum

    Place the model origin at its bottom or center.

    bottomcenter
  • pose_modestringenum

    Force an A-pose or T-pose for a character model.

    a-poset-pose
  • enable_pbrboolean

    Whether 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_typestringenum

    Single-image-only generation pipeline: standard, lowpoly, or smart-topology.

    standardlowpolysmart-topology
  • moderationboolean

    Whether to run content moderation.

  • ultra_modeboolean

    Enable 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.

  • experimentalobject

    Single-image-only experimental generation options.

  • input_task_idstring

    Prior 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_remeshboolean

    Whether to remesh after the draft stage. The default depends on the model.

  • should_textureboolean

    Whether 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_promptstring

    Optional 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_thumbnailboolean

    Whether to produce a transparent-background preview.

  • decimation_modeintegerenum

    Decimation algorithm selector from 1 through 4.

    1234
  • remove_lightingboolean

    Whether to remove baked lighting. Not supported with smart-topology.

  • target_polycountinteger

    Target polygon count from 100 to 300000. When omitted, Meshy chooses the single-image default or 30000 for multi-image generation.

  • image_enhancementboolean

    Whether to enhance the input image(s). Not supported with smart-topology.

  • input_image_countinteger

    Number 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_urlstring

    Optional 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_resolutionstringenum

    Texture 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.

    2k4k8k
  • multi_view_thumbnailsboolean

    Whether to render front, right, back, and left thumbnails.

  • save_pre_remeshed_modelboolean

    Whether to include the model produced before remeshing in task outputs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Image to Image TaskMESHY_CREATE_IMAGE_TO_IMAGE_TASKAcción

Start 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

  • promptstringObligatorio

    Text instruction describing the transformation or edit to apply.

  • ai_modelstringObligatorioenum

    Meshy image-edit model to use.

    nano-banananano-banana-pronano-banana-2gpt-image-2
  • aspect_ratiostringenum

    Output 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:3
  • remove_backgroundboolean

    Whether to return a transparent RGBA PNG with the background removed. Available only for single-image output.

  • generate_multi_viewboolean

    Whether to generate a split image showing the subject from multiple angles. Cannot be combined with aspect_ratio or background removal.

  • reference_image_urlsstring[]Obligatorio

    One to five reference images to edit from, provided as public HTTP(S) URLs or JPEG/PNG data URIs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Multi-Color Print TaskMESHY_CREATE_MULTI_COLOR_PRINT_TASKAcción

Start 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

  • stylestringenum

    Color-placement algorithm to use.

    realisticcartoon
  • max_depthinteger

    Quadtree depth from 3 to 6; used by the realistic style.

  • model_urlstring

    HTTP(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_colorsinteger

    Target number of colors, from 1 to 16.

  • input_task_idstring

    Prior 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Print Analysis TaskMESHY_CREATE_PRINT_ANALYSIS_TASKAcción

Start 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_urlstring

    GLB, 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_idstring

    Prior 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Print Repair TaskMESHY_CREATE_PRINT_REPAIR_TASKAcción

Start 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_urlstring

    GLB, 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_idstring

    Prior 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_thumbnailboolean

    Generate a transparent-background preview thumbnail.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Remesh TaskMESHY_CREATE_REMESH_TASKAcción

Start 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

  • topologystringenum

    Output mesh topology.

    quadtriangle
  • auto_sizeboolean

    Automatically estimate real-world size; mutually exclusive with explicit sizing fields.

  • model_urlstring

    Model 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_atstringenum

    Place the model origin at its bottom or center.

    bottomcenter
  • input_task_idstring

    Prior 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_heightnumber

    Target 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_thumbnailboolean

    Generate a transparent-background preview thumbnail.

  • decimation_modeintegerenum

    Decimation algorithm selector from 1 through 4.

    1234
  • target_polycountinteger

    Target polygon count from 100 to 300000.

  • resize_longest_sidenumber

    Target longest side in meters; mutually exclusive with resize_height and auto_size.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Resize TaskMESHY_CREATE_RESIZE_TASKAcción

Start 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_sizeboolean

    Automatically estimate real-world size; choose exactly one sizing method.

  • model_urlstring

    Model 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_atstringenum

    Place the resized model origin at its bottom or center.

    bottomcenter
  • input_task_idstring

    Prior 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_heightnumber

    Target height in meters; choose exactly one sizing method.

  • resize_longest_sidenumber

    Target longest side in meters; choose exactly one sizing method.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Retexture TaskMESHY_CREATE_RETEXTURE_TASKAcción

Start 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

  • namestring

    Optional task name.

  • ai_modelstringenum

    Meshy model to use.

    meshy-5meshy-6meshy-7latest
  • art_stylestringenum

    Art style to apply to the generated texture.

    realisticcartoon
  • model_urlstring

    HTTP(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_pbrboolean

    Whether to produce PBR texture maps.

  • input_task_idstring

    Prior 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_thumbnailboolean

    Whether to produce a transparent-background preview thumbnail.

  • image_style_urlstring

    HTTP(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_lightingboolean

    Whether to remove baked lighting from the texture; support depends on the selected model.

  • text_style_promptstring

    Text 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_uvboolean

    Whether to reuse the source model's UV coordinates.

  • texture_resolutionstringenum

    Texture resolution tier. Meshy defaults to 2k when omitted; 8k consumes more credits.

    2k4k8k
  • multiview_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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Rigging TaskMESHY_CREATE_RIGGING_TASKAcción

Start 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

  • namestring

    Optional task name.

  • model_urlstring

    HTTP(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_metersnumber

    Target character height in meters; must be greater than zero.

  • input_task_idstring

    Prior 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_typestringenum

    Skeleton type to create for the character.

    bipedquadruped
  • texture_image_urlstring

    Optional PNG texture as an HTTP(S) URL or base64 data URI.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Text to 3D TaskMESHY_CREATE_TEXT_TO_3D_TASKAcción

Start 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

  • namestring

    Optional human-readable task name.

  • seedinteger

    Non-negative random seed. Use 0 to let Meshy randomize it.

  • countinteger

    Number of candidates to generate, from 2 to 4. Not supported by meshy-t2 or fused generation.

  • promptstringObligatorio

    Description of the object to generate.

  • ai_modelstringenum

    Meshy model to use; meshy-7 and meshy-t2 require entitlement.

    meshy-5meshy-6meshy-7latestmeshy-t2
  • model_idstring

    Optional client-supplied identifier for batch correlation.

  • topologystringenum

    Output mesh topology. quad is not supported by meshy-t2.

    quadtriangle
  • art_stylestring

    Art style for the generated model.

  • auto_sizeboolean

    Whether Meshy should estimate the model's real-world size.

  • origin_atstringenum

    Place the generated model origin at its bottom or center.

    bottomcenter
  • pose_modestringenum

    Force an A-pose or T-pose for a character model.

    a-poset-pose
  • enable_pbrboolean

    Whether to produce physically based rendering texture maps.

  • model_typestringenum

    Generation pipeline. smart-topology selects the meshy-t2 model family.

    standardlowpolysmart-topology
  • moderationboolean

    Whether to run content moderation on this task.

  • ultra_modeboolean

    Enable the entitled high-detail pass for a meshy-7 preview; this consumes additional credits.

  • experimentalobject

    Experimental fast-mode options that may change.

  • should_remeshboolean

    Whether to remesh after draft generation; the provider default depends on the model.

  • target_formatsstring[]

    Additional model formats to export.

  • texture_promptstring

    Description of the desired texture appearance.

  • alpha_thumbnailboolean

    Whether to produce a preview thumbnail with a transparent background.

  • decimation_modeintegerenum

    Meshy decimation algorithm selector from 1 through 4.

    1234
  • generation_pathstringObligatorioenum

    Required 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.

    previewfused
  • negative_promptstring

    Features or visual qualities that the generated object should avoid.

  • target_polycountinteger

    Target polygon count from 100 to 300000; the provider chooses a model-specific default when omitted.

  • texture_richnessstringenum

    Texture detail level.

    nonelowmediumhigh
  • texture_image_urlstring

    HTTP(S) URL of an image to use as a texture reference.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Text to Image TaskMESHY_CREATE_TEXT_TO_IMAGE_TASKAcción

Start 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

  • promptstringObligatorio

    Text description of the image to generate.

  • ai_modelstringObligatorioenum

    Meshy image model to use.

    nano-banananano-banana-pronano-banana-2gpt-image-2
  • pose_modestringenum

    Force an A-pose or T-pose; this may upgrade the model and require a higher account tier.

    a-poset-pose
  • aspect_ratiostringenum

    Output 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:3
  • remove_backgroundboolean

    Whether to return a transparent RGBA cutout. Available only for single-image generation.

  • generate_multi_viewboolean

    Whether to produce one four-view split image instead of a single image.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Text to Motion TaskMESHY_CREATE_TEXT_TO_MOTION_TASKAcción

Start 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

  • modestringenum

    Generation mode: prime costs 10 credits and the completed task produces FBX; swift costs 3 credits and the completed task produces BVH.

    primeswift
  • promptstringObligatorio

    Description of the motion to generate, up to 400 characters.

  • durationnumberObligatorio

    Motion length from 2 to 10 seconds in 0.5-second increments.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create UV Unwrap TaskMESHY_CREATE_UV_UNWRAP_TASKAcción

Start 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_urlstring

    GLB 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_idstring

    Prior 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete TaskMESHY_DELETE_TASKAcción

Permanently 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_idstringObligatorio

    Provider task ID to permanently delete.

  • task_typestringObligatorioenum

    Permanently 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Credit BalanceMESHY_GET_CREDIT_BALANCEAcción

Return the connected Meshy account's available credit balance before starting paid generation tasks.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TaskMESHY_GET_TASKAcción

Retrieve 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_idstringObligatorio

    Meshy task ID returned by a create or list call.

  • task_typeanyObligatorio

    Task family that owns the ID. This selects one fixed documented endpoint.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Animation LibraryMESHY_LIST_ANIMATION_LIBRARYAcción

Search or filter Meshy's unpaginated animation catalog and return action IDs for use when creating animation tasks.

Parámetros de entrada

  • searchstring

    Literal case-insensitive substring to match against animation names or keys.

  • categorystringenum

    Exact animation category to return.

    WalkAndRunBodyMovementsDailyActionsFightingDancing
  • action_idsinteger[]

    One to 200 animation action IDs to return. Unknown IDs are omitted.

  • sub_categorystring

    Exact animation sub-category; the same name may occur in multiple categories.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TasksMESHY_LIST_TASKSAcción

Return 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_bystringenum

    Sort by creation time: +created_at for oldest first or -created_at for newest first.

    +created_at-created_at
  • page_sizeinteger

    Tasks 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_typeany

    Exact Meshy task family to list. Required for the first page; omit it only when continuing with next_cursor.

  • next_cursorstring

    Opaque cursor returned by a prior call. When continuing, send next_cursor as the only parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Usage RecordsMESHY_LIST_USAGE_RECORDSAcción

Return 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

  • statusstringenum

    Terminal status to include: SUCCEEDED or FAILED. Omit to include both.

    SUCCEEDEDFAILED
  • sort_bystringenum

    Sort by creation time: +created_at for oldest first or -created_at for newest first.

    +created_at-created_at
  • end_timestring

    End 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_sizeinteger

    Usage records in this page, from 1 through 100.

  • start_timestring

    Start of the created_at window as an RFC3339 timestamp. Defaults to 30 days before end_time.

  • next_cursorstring

    Opaque 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Refine Text to 3D TaskMESHY_REFINE_TEXT_TO_3D_TASKAcción

Apply 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_modelstringenum

    Texture model. Omit to inherit the preview task's model.

    meshy-5meshy-6meshy-7latest
  • auto_sizeboolean

    Estimate the model's real-world height and resize it.

  • origin_atstringenum

    Place the origin at the bottom or center when auto_size is enabled.

    bottomcenter
  • enable_pbrboolean

    Generate metallic, roughness, and normal maps in addition to base color.

  • moderationboolean

    Screen the texture prompt and reference image for harmful content.

  • target_formatsstring[]

    Model formats to generate for the textured output.

  • texture_promptstring

    Text guidance for the texture. If both texture guides are supplied, this takes precedence.

  • alpha_thumbnailboolean

    Also render a transparent-background preview thumbnail.

  • preview_task_idstringObligatorio

    ID of a succeeded Text to 3D preview task whose mesh will be textured.

  • remove_lightingboolean

    Remove highlights and shadows from base color; Meshy defaults this to true.

  • texture_image_urlstring

    Public HTTP(S) URL or image data URI used to guide the texture.

  • texture_resolutionstringenum

    Texture resolution. Meshy defaults to 2k; 2k/4k cost 10 credits and 8k costs 15 credits.

    2k4k8k

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not