Startseite Blog

How to Use the Meshy 7.1 API

Meshy 7.1 API blog cover

Nov 23, 2026

EmpirioLabs AI

Hinweis: Dieser Artikel wurde mit KI-Unterstützung verfasst und von EmpirioLabs AI geprüft.

Meshy 7.1 is available on EmpirioLabs. It is Meshy's latest 3D generation model: one request builds a 3D model from a text prompt, one image, or two to four images of the same object, with standard or ultra geometry, textures up to 8K, PBR maps, optional remeshing to triangles or quads, and six export formats. The rest of the Meshy family is available with it, 17 models in all: four more generators, and tools that retexture, remesh, rig, animate, convert, and resize a model or prepare it for 3D printing. Every model answers on one endpoint, POST /v1/3d/generations. All of them work in the API and in the Playground.

How the generators compare

Five of the models generate a 3D model from a prompt or from images. They differ in the geometry they build, the texture sizes their default texture model makes, and how the face count is set:

Meshy 7.1Meshy 6Meshy 6 LiteMeshy T2.5Meshy T2
Modell-IDmeshy-7-1meshy-6meshy-6-litemeshy-t2-5meshy-t2
EingabeA prompt, one image, or two to four imagesA prompt, one image, or two to four imagesA prompt, one image, or two to four imagesA prompt or one imageA prompt or one image
Geometry passesStandard, or ultra at 2K or 4KStandardStandardStandardStandard
Texture sizes2K, 4K, 8K2K, 4K, 8K2K, or 4K and 8K with the meshy-7 texture model2K, 4K, 8K2K, 4K, 8K
Face countFull detail by default, or remeshed to 100 to 300,000 faces in triangles or quadsFull detail by default, or remeshed to 100 to 300,000 faces in triangles or quadsRemeshed to 30,000 faces by default, or to 100 to 300,000 faces in triangles or quadsBuilt at 100 to 30,000 triangles, 15,000 by defaultBuilt at 100 to 15,000 triangles, 4,000 by default
Result works with Meshy Auto SplitYesYesYesNoNo

Meshy 6 can also remove baked lighting from its texture (remove_lighting, on by default), so the model works under your own lighting.

The rest of the family

The other 12 models are tools. Each has its own model ID on the same endpoint:

Modell-IDTakesReturns
meshy-retextureA 3D model, and a prompt or style imagesThe model with a new texture, up to 8K
meshy-remeshA 3D modelThe model rebuilt at 100 to 300,000 faces, in triangles or quads
meshy-riggingA humanoid character as a GLB fileThe rigged character, a walking and a running animation, and a rig_id
meshy-animationA rig_id, and one of 678 library animations or a motion_idThe animated character as glb, fbx, or usdz
meshy-text-to-motionA text descriptionA motion clip of 2 to 10 seconds and a motion_id
meshy-uv-unwrapA GLB fileThe model with a UV layout
meshy-convertA 3D modelThe model as glb, fbx, obj, usdz, stl, blend, or 3mf
meshy-resizeA 3D modelThe model at a set height or longest side in meters, or at an estimated real-world size
meshy-print-repairA 3D modelThe model repaired for 3D printing
meshy-multi-color-printA textured GLB or FBX fileA multi-color 3MF file with 1 to 16 colors
meshy-auto-splitThe generation_id of a Meshy 7.1, Meshy 6, or Meshy 6 Lite resultThe model split into separately printable parts
meshy-reliefA photoA relief model and its depth map

Where the table says a 3D model, send a GLB, glTF, OBJ, FBX, or STL file in model_url, as a URL of up to 400 MB or as base64 of up to 100 MB.

Generate a 3D model from text

Send the request to POST /v1/3d/generations with your API key. Set model to meshy-7-1 and describe the object in prompt, in up to 800 characters:

curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-7-1",
    "prompt": "a stylized fantasy knight in ornate blue and gold plate armor with a short red cape, full body game character, clean readable shapes",
    "pose_mode": "a-pose",
    "texture_resolution": "4k",
    "enable_pbr": true
  }'

The request answers at once with a job:

{
  "job_id": "5f3c9a2e-8d14-4b6f-a0e7-1c2d3e4f5a6b",
  "status": "processing",
  "poll_url": "/v1/jobs/5f3c9a2e-8d14-4b6f-a0e7-1c2d3e4f5a6b"
}

Poll GET /v1/jobs/<job_id> until status is completed:

curl https://api.empiriolabs.ai/v1/jobs/5f3c9a2e-8d14-4b6f-a0e7-1c2d3e4f5a6b \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"

This generation took just under three minutes. The finished job lists its files in result.data, each with a download url, its format, its role, and a filename. The response below is shortened:

{
  "job_id": "5f3c9a2e-8d14-4b6f-a0e7-1c2d3e4f5a6b",
  "status": "completed",
  "endpoint": "/v1/3d/generations",
  "model": "meshy-7-1",
  "result": {
    "model": "meshy-7-1",
    "data": [
      {
        "url": "https://media.empiriolabs.ai/...",
        "format": "glb",
        "content_type": "model/gltf-binary",
        "role": "model",
        "filename": "a-stylized-fantasy-knight-in-ornate-blue-and-gold-plate-armor.glb"
      }
    ],
    "generation_id": "el_gen_..."
  }
}

A result from Meshy 7.1, Meshy 6, or Meshy 6 Lite carries a generation_id. Meshy Auto Split takes it to cut the model into printable parts.

The request sets three controls. pose_mode generates a character in an A-pose or a T-pose, texture_resolution sets the texture size, and enable_pbr adds metallic, roughness, and normal maps. Without them the model is textured at 2K. Set texture to false for an untextured mesh, or geometry_resolution to 2k or 4k for ultra geometry.

Generate a 3D model from images

Put the image in image as a URL or as base64, and leave prompt out. An image is a JPG, PNG, or WebP file of up to 20 MB:

curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-7-1",
    "image": "https://example.com/owl.png",
    "texture_resolution": "4k",
    "enable_pbr": true
  }'

For two to four images of the same object, send them as an array with the front view first:

{
  "model": "meshy-7-1",
  "image": [
    "https://example.com/chair-front.png",
    "https://example.com/chair-side.png",
    "https://example.com/chair-back.png"
  ]
}

With images, texture_prompt describes the texture in words, and texture_image gives it a look to follow.

Get an OBJ with its material and texture

file_format sets the format of the returned model: glb (the default), fbx, obj, usdz, stl, or 3mf. An obj comes with its material file and its texture. This request asks Meshy 6 Lite for one:

{
  "model": "meshy-6-lite",
  "image": "https://example.com/owl.png",
  "file_format": "obj"
}

Its result.data holds three files. The items are shortened here:

[
  {
    "url": "https://media.empiriolabs.ai/...",
    "format": "obj",
    "content_type": "model/obj",
    "role": "model",
    "filename": "meshy-6-lite-2026-11-14-model.obj"
  },
  {
    "url": "https://media.empiriolabs.ai/...",
    "format": "mtl",
    "content_type": "model/mtl",
    "role": "material",
    "filename": "model.mtl"
  },
  {
    "url": "https://media.empiriolabs.ai/...",
    "format": "png",
    "content_type": "image/png",
    "role": "texture_base_color",
    "filename": "texture_0.png"
  }
]

Remesh, rig, and animate a character

An animated character takes four requests: generate, remesh, rig, animate. Each is a job like the one above. The file one step returns is the model_url of the next, and rigging returns the rig_id that animation takes.

Generate. The knight above is the character. Its GLB file has 2,224,598 triangles, more than Meshy Rigging takes. Sent to rigging as generated, the request ends as a failed job, shortened here:

{
  "status": "failed",
  "endpoint": "/v1/3d/generations",
  "model": "meshy-rigging",
  "error": {
    "message": "The model has 2,224,598 triangles, and this step takes at most 380,000 (a quad counts as two). Reduce it with meshy-remesh first, or generate it with should_remesh and a lower target_polycount",
    "type": "invalid_request_error",
    "param": null,
    "code": null
  }
}

Remesh. Pass the url of the generated file as model_url and set a face count:

curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-remesh",
    "model_url": "https://media.empiriolabs.ai/...",
    "topology": "triangle",
    "target_polycount": 150000
  }'

The count is a target: this result has 154,414 triangles.

Rig. Pass the url of the remeshed file. The character needs a humanoid body with clearly defined arms and legs:

curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-rigging",
    "model_url": "https://media.empiriolabs.ai/..."
  }'

The result holds the rigged character, a walking animation, a running animation, and the rig_id. It is shortened here:

{
  "model": "meshy-rigging",
  "data": [
    {
      "url": "https://media.empiriolabs.ai/...",
      "format": "glb",
      "content_type": "model/gltf-binary",
      "role": "rigged_character",
      "filename": "meshy-rigging-2026-11-14-rigged-character.glb"
    },
    {
      "url": "https://media.empiriolabs.ai/...",
      "format": "glb",
      "content_type": "model/gltf-binary",
      "role": "walking_animation",
      "filename": "meshy-rigging-2026-11-14-walking-animation.glb"
    },
    {
      "url": "https://media.empiriolabs.ai/...",
      "format": "glb",
      "content_type": "model/gltf-binary",
      "role": "running_animation",
      "filename": "meshy-rigging-2026-11-14-running-animation.glb"
    }
  ],
  "rig_id": "el_rig_..."
}

Animate. Send the rig_id with one of the 678 library animations as action:

curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-animation",
    "rig_id": "el_rig_...",
    "action": "sword_judgment"
  }'

The result is the character with that animation, as glb by default or as fbx or usdz. One request applies one animation. GET /v1/models/meshy-animation lists every value of action.

In our run the remesh took about three minutes, rigging about 90 seconds, and the animation about 30 seconds.

Animate from a description. Meshy Text to Motion turns a sentence into a motion clip of 2 to 10 seconds and returns a motion_id:

{
  "model": "meshy-text-to-motion",
  "prompt": "a person raises both arms and cheers in victory, then takes a deep bow",
  "duration": 5
}

Send the motion_id in place of action. A motion made from text applies to a character rigged as a biped:

{
  "model": "meshy-animation",
  "rig_id": "el_rig_...",
  "motion_id": "el_motion_..."
}

The same chain in Python

This script runs the four steps with the requests library. One function submits a request, polls its job, and returns the result:

import os
import time

import requests

API = "https://api.empiriolabs.ai"
HEADERS = {"Authorization": "Bearer " + os.environ["EMPIRIOLABS_API_KEY"]}


def run(body):
    response = requests.post(API + "/v1/3d/generations", headers=HEADERS, json=body, timeout=60)
    response.raise_for_status()
    job = response.json()
    while job["status"] not in ("completed", "failed", "cancelled"):
        time.sleep(5)
        poll = requests.get(API + "/v1/jobs/" + job["job_id"], headers=HEADERS, timeout=60)
        poll.raise_for_status()
        job = poll.json()
    if job["status"] != "completed":
        raise RuntimeError(job["error"]["message"] if job.get("error") else job["status"])
    return job["result"]


knight = run({
    "model": "meshy-7-1",
    "prompt": "a stylized fantasy knight in ornate blue and gold plate armor with a short red cape, full body game character, clean readable shapes",
    "pose_mode": "a-pose",
    "texture_resolution": "4k",
    "enable_pbr": True,
})

remeshed = run({
    "model": "meshy-remesh",
    "model_url": knight["data"][0]["url"],
    "topology": "triangle",
    "target_polycount": 150000,
})

rig = run({"model": "meshy-rigging", "model_url": remeshed["data"][0]["url"]})

clip = run({"model": "meshy-animation", "rig_id": rig["rig_id"], "action": "sword_judgment"})

print(clip["data"][0]["url"])

Things to know before your first request

  • Read status on every poll. The POST returns a job before the model has read the request. A request the model refuses ends as a job whose status is failed, with the reason in error.message, as in the rigging example above. A request that is refused or that fails is not billed.
  • Send a prompt or images, not both. A generation request with both prompt and image fails. To describe the look of a model made from images, use texture_prompt.
  • Check the triangle count before rigging. Rigging takes a GLB file of at most 380,000 triangles, counting a quad as two. Meshy 7.1 and Meshy 6 return the full-detail mesh unless the request sets should_remesh or a target_polycount, and a full-detail Meshy 7.1 model can have millions of triangles. Meshy 6 Lite remeshes by default, to 30,000 faces unless you set a count, so its characters go to rigging as generated.
  • Keep the file names of an OBJ. The .obj names its material file, and the material file names its texture. Save model.mtl and texture_0.png under the filename each item carries, next to the .obj, or the model opens untextured.
  • An id works for 3 days, on the account that made it. A rig_id, motion_id, or generation_id sent from another account, or after 3 days, is refused. Run that step again for a new id.

Preise

Per request. Meshy 7.1 is pay as you go and billed per generated model, at a rate set by the geometry pass (standard or ultra) and by the texture (mesh only, textured at 2K or 4K, or textured at 8K). The other generators bill by texture in the same way. The tools bill per request: Meshy Retexture by texture size, Meshy Text to Motion by mode, and each of the others at one rate. You can pay as you go, or choose a plan with weekly allowances: the 3D generations of a plan cover the five generators, Meshy Retexture, and Meshy Relief, and the other tools are pay as you go. Current rates are on the model page and the pricing page.

Start building

Try Meshy 7.1 in the Playground, read the full parameter reference in the API docs, or compare it with the other 3D models in the model catalog.

Bereit, bessere Endpunkte zu nutzen?

Entdecken Sie unsere Modelle oder kontaktieren Sie uns bei Geschäftsanfragen, individuellen Deployments oder sonst etwas.