Meshy Relief API

Turns a photo into a bas-relief 3D model and a depth map for 3D printing, engraving, and carving, with size, carving depth, base, and bend controls.

Meshy Génération 3D Publié 5 nov. 2026 Endpoint propriétaire Nouveau

À propos de Meshy Relief

Turns a photo into a bas-relief 3D model and a depth map for 3D printing, engraving, and carving, with size, carving depth, base, and bend controls.

relief image to 3d 3d printing

Caractéristiques de Meshy Relief

ID du modèle
meshy-relief
Auteur
Meshy
Catégorie
Génération 3D
Publié
5 nov. 2026
Entrée
Image
Sortie
3D
Endpoints
POST/v1/3d/generations
Identifiants de modèle alternatifs
meshy/meshy-relief

Tarifs de l'API Meshy ReliefÉconomisez jusqu'à 5%

Tarifs à l'usage en direct du catalogue EmpirioLabs. Vous pouvez aussi choisir un forfait avec des quotas hebdomadaires.

Type
Spéc.
Tarif
Per request
per request
$0.80$0.76
Comparer sur la page complète des tarifs

Comment appeler l'API Meshy Relief

Meshy Relief fonctionne via POST /v1/3d/generations. La requête renvoie immédiatement un job_id ; interrogez GET /v1/jobs/{job_id} jusqu'à la fin du job et lisez les URLs de sortie dans le résultat. Obtenez une clé API depuis le tableau de bord EmpirioLabs.

cURL : envoyer le job
curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-relief",
    "prompt": "Describe what you want Meshy Relief to generate."
  }'
cURL : interroger le résultat
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/3d/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "meshy-relief",
        "prompt": "Describe what you want Meshy Relief to generate.",
    },
)
job = response.json()

# Generation runs as an async job. Poll until it completes.
import time
while True:
    status = requests.get(
        f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
        headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    ).json()
    if status.get("status") in ("completed", "failed"):
        print(status)
        break
    time.sleep(5)
Référence complète de l'API Meshy Relief

Paramètres de l'API Meshy Relief

Paramètres de requête pris en charge par l'API Meshy Relief sur EmpirioLabs. Les valeurs par défaut s'appliquent quand un champ est omis.

ParamètreTypePar défautPlage / valeursDescription
imageimage--The photo to turn into a relief. JPG, PNG or WebP, up to 20 MB, as a URL or base64. Transparent areas are filled with black.
variantenumlowhigh, lowhigh carves deeper, for printed pieces. low carves shallow, for engraving, carving and thin plaques.
should_generate_modelbooleantrue-Build the relief model. Off returns the depth map only, at the same price.
size_mmnumber6020 à 250The length of the photo's longer side on the model, in millimeters.
carving_modeenumembossemboss, engraveemboss raises the near parts of the photo. engrave cuts them in.
carving_depth_mmnumber-0 à 60How deep the relief is carved, in millimeters. When unset: 6 for the high style, 3 for the low style.
remove_basebooleanfalse-Cut away the background and build no base plate.
removal_thresholdnumber0.010.01 à 1The depth, from 0.01 to 1, below which the background is cut away. Applies when remove_base is on.
base_thickness_mmnumber-0.1 à 10The thickness of the base plate, in millimeters. When unset: 1. Not available when remove_base is on.
bend_modeenumoffoff, convex, concaveoff keeps the relief flat. convex bulges the front outward, concave curves it inward.
bend_axisenumxzxz, yzxz curls the left and right edges. yz curls the top and bottom edges.
bend_anglenumber600 à 360The arc the bend spans, in degrees.
mesh_resolutioninteger1024512 à 2048The number of mesh points along the photo's longer side. A higher value keeps finer detail and makes larger files.

Bon à savoir

Turns one photo into a relief: a raised or engraved model of the picture. Billing is per request.

Controls

  • A high style for printed pieces or a low style for engraving and thin plaques, embossed or engraved.
  • The size, the carving depth, the base plate or no base, a convex or concave bend, and the mesh resolution.
  • The depth map alone, at the same price.

Input limits

  • Image: JPG, PNG, or WebP, up to 20 MB, as a URL or base64.

Sortie

  • The model as a GLB file in meters and an STL file in millimeters, and the depth map as a 16-bit grayscale PNG, each stored and returned as a signed download URL.

Billing

  • A request that is refused or that fails is not billed.

Meshy Relief sur le blog

Annonces, tests de prompts et comparaisons qui couvrent ce modèle.

API Meshy Relief : questions fréquentes

Combien coûte l'API Meshy Relief ?

Sur EmpirioLabs, Meshy Relief est facturé à l'usage. Vous pouvez aussi choisir un forfait avec des quotas hebdomadaires. La grille tarifaire en direct de cette page correspond toujours à ce que l'API facture.

Quelles entrées et sorties Meshy Relief prend-il en charge ?

Meshy Relief accepte en entrée Image et renvoie 3D.

Quel endpoint Meshy Relief utilise-t-il ?

Meshy Relief est servi via POST /v1/3d/generations sur api.empiriolabs.ai avec une authentification standard par token Bearer.

Quel est l'identifiant de modèle de Meshy Relief ?

Envoyez meshy-relief comme modèle dans votre requête. Les identifiants alternatifs meshy/meshy-relief fonctionnent aussi.

Quand Meshy Relief est-il sorti ?

Meshy a lancé Meshy Relief le 5 nov. 2026.

Puis-je essayer Meshy Relief dans le navigateur avant d'intégrer ?

Oui. Le playground EmpirioLabs exécute Meshy Relief dans le navigateur avec les mêmes paramètres que l'API expose, pour tester vos prompts avant d'écrire du code.

Comment obtenir une clé API Meshy Relief ?

Créez un compte EmpirioLabs, puis générez une clé sous API Keys dans le tableau de bord. La facturation utilise des crédits à l'usage : vous ne payez que vos requêtes. Vous pouvez aussi choisir un forfait avec des quotas hebdomadaires.

Prêt à utiliser de meilleurs points de terminaison ?

Consultez nos tarifs ou contactez-nous si vous souhaitez que votre propre modèle soit déployé sur notre stack.