API reference · Meshy

meshy/meshy-v6-preview

Integrate this model through SandBase's unified API, with production-ready schemas and examples.

IMAGEAsyncOpen model
Production endpoint

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

POSThttps://api.sandbase.ai/v1/run
Model IDmeshy/meshy-v6-preview
01

Input Schema

15 parameters · 1 required · 14 optional

ParameterTypeRequiredDescription
imagestringRequiredImage URL or base64 data URI for 3D model creation. Supports .jpg, .jpeg, and .png formats. Also supports AVIF and HEIF formats which will be automatically converted.
topologystringOptionalSpecify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry. · Options: quad, triangle · Default: "triangle"
quadtriangle
pose_modestringOptionalPose mode for the generated model. 'a-pose' generates an A-pose, 't-pose' generates a T-pose, empty string for no specific pose. · Options: a-pose, t-pose, · Default: ""
a-poset-pose
enable_pbrbooleanOptionalGenerate PBR Maps (metallic, roughness, normal) in addition to base color · Default: false
is_a_t_posebooleanOptionalDeprecated: use pose_mode instead. When true, generates a T-pose model. · Default: false
should_remeshbooleanOptionalWhether to enable the remesh phase · Default: true
symmetry_modestringOptionalControls symmetry behavior during model generation. Off disables symmetry, Auto determines it automatically, On enforces symmetry. · Options: off, auto, on · Default: "auto"
offautoon
enable_riggingbooleanOptionalAutomatically rig the generated model as a humanoid character. Includes basic walking and running animations. Best results with humanoid characters that have clearly defined limbs. · Default: false
should_texturebooleanOptionalWhether to generate textures · Default: true
texture_promptstringOptionalText prompt to guide the texturing process · Max length: 600
enable_animationbooleanOptionalApply an animation preset to the rigged model. Requires enable_rigging to be true. · Default: false
target_polycountintegerOptionalTarget number of polygons in the generated model · Min: 100 · Max: 300000 · Default: 30000
texture_image_urlstringOptional2D image to guide the texturing process
animation_action_idintegerOptionalAnimation preset ID from Meshy's library (500+ presets). Only used when enable_animation is true. See https://docs.meshy.ai/en/api/animation-library for available action IDs. · Default: 1001
rigging_height_metersnumberOptionalApproximate height of the character in meters. Only used when enable_rigging is true. · Default: 1.7
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description

Async Workflow

This model uses asynchronous execution. Submit a request and poll for the result.

  1. Submit — POST to /v1/run, receive an id
  2. Poll — GET /v1/run/{id} until status is completed, failed, or timeout
  3. Retrieve — Read outputs from the completed response
03

Code Examples

Ready-to-run snippets

# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "model": "meshy/meshy-v6-preview",
  "image": "https://static.sandbase.ai/examples/meshy/meshy-v6-preview/input_image_0.png",
  "topology": "triangle",
  "pose_mode": "",
  "enable_pbr": false,
  "is_a_t_pose": false,
  "should_remesh": true,
  "symmetry_mode": "auto",
  "enable_rigging": false,
  "should_texture": true,
  "enable_animation": false,
  "target_polycount": 30000,
  "animation_action_id": 1001,
  "rigging_height_meters": 1.7,
  "prompt": "a beautiful sunset over mountains"
}'

# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
  -H "Authorization: Bearer YOUR_API_KEY"