Meshy Retexture API

Paints a new texture onto an existing 3D model from a text prompt or style images, with a choice of texture model, PBR maps, and textures up to 8K.

Meshy Geração 3D Lançado 25 de jun. de 2025 Endpoint proprietário Novo

Sobre Meshy Retexture

Paints a new texture onto an existing 3D model from a text prompt or style images, with a choice of texture model, PBR maps, and textures up to 8K.

retexturing texture generation pbr materials

Especificações de Meshy Retexture

ID do modelo
meshy-retexture
Autor
Meshy
Categoria
Geração 3D
Lançado
25 de jun. de 2025
Entrada
3DTextoImagem
Saída
3D
Endpoints
POST/v1/3d/generations
IDs de modelo alternativos
meshy/meshy-retexture

Preços da API Meshy RetextureEconomize até 5%

Tarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você também pode escolher um plano com franquias semanais.

Tipo
Especificação
Tarifa
2K or 4K texture
per request
$0.40$0.38
8K texture
per request
$0.60$0.57
Comparar na página completa de preços

Como chamar a API Meshy Retexture

Meshy Retexture roda por POST /v1/3d/generations. A requisição retorna um job_id na hora; consulte GET /v1/jobs/{job_id} até o job terminar e leia as URLs de saída do resultado. Obtenha uma chave de API no painel EmpirioLabs.

cURL: enviar o job
curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-retexture",
    "prompt": "Describe what you want Meshy Retexture to generate."
  }'
cURL: consultar o resultado
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-retexture",
        "prompt": "Describe what you want Meshy Retexture 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)
Referência completa da API Meshy Retexture

Parâmetros da API Meshy Retexture

Parâmetros de requisição suportados pela API Meshy Retexture na EmpirioLabs. Os padrões valem quando um campo é omitido.

ParâmetroTipoPadrãoIntervalo / valoresDescrição
model_urlstring--The model to texture: a GLB, glTF, OBJ, FBX or STL file, as a URL (up to 400 MB) or base64 (up to 100 MB).
promptstring--Text that describes the new texture, up to 800 characters. Send a prompt or images, not both. Not available with the meshy-n1 texture model.
imageimage--An image whose look the texture follows, or two to four views of the same object with the meshy-7 or meshy-n1 texture model. JPG, PNG or WebP, up to 20 MB each, as...
texture_modelenummeshy-7meshy-7, meshy-n1, meshy-6, meshy-6-liteThe model that paints the texture. meshy-7 is detailed and realistic, meshy-n1 paints clean color with few seams from reference images only, meshy-6 can also remove...
texture_resolutionenum2k2k, 4k, 8kThe size of the color texture. A PBR map can be one size smaller. 4k and 8k need the meshy-7 or meshy-6 texture model.
enable_pbrbooleanfalse-Also make metallic, roughness and normal maps. Not available with the meshy-n1 texture model.
enable_original_uvbooleanfalse-Paint onto the model's own UV layout.
remove_lightingboolean--Remove highlights and shadows from the texture. Applies to the meshy-6 texture model.
file_formatenumglbglb, fbx, obj, usdz, stl, 3mfThe file format of the returned model. obj also returns its material file and textures.

Bom saber

Paints a new texture onto a 3D model you provide. Send the model with a text prompt, one style image, or two to four views of the object. Billing is per request, at the price of the texture size.

Controls

  • The texture model, 2K, 4K, or 8K textures, and PBR maps.
  • Painting onto the model's own UV layout, and baked lighting removal with the meshy-6 texture model.
  • glb, fbx, obj, usdz, stl, or 3mf output. An obj comes with its material file and textures.

Input limits

  • 3D model: GLB, glTF, OBJ, FBX, or STL, up to 400 MB by URL or 100 MB as base64.
  • Images: JPG, PNG, or WebP, up to 20 MB each, as URLs or base64.
  • Prompt: up to 800 characters. Send a prompt or images, not both.

Saída

  • Each file is stored and returned as a signed download URL.

Billing

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

Meshy Retexture no blog

Anúncios, testes de prompts e comparações que cobrem este modelo.

API Meshy Retexture: perguntas frequentes

Quanto custa a API Meshy Retexture?

Na EmpirioLabs, Meshy Retexture é cobrado por uso. Você também pode escolher um plano com franquias semanais. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.

Quais entradas e saídas o Meshy Retexture aceita?

O Meshy Retexture recebe 3D, Texto, Imagem como entrada e retorna 3D.

Qual endpoint Meshy Retexture usa?

Meshy Retexture é servido por POST /v1/3d/generations em api.empiriolabs.ai com autenticação padrão por token Bearer.

Qual é o ID de modelo do Meshy Retexture?

Envie meshy-retexture como modelo na sua requisição. Os IDs alternativos meshy/meshy-retexture também funcionam.

Quando o Meshy Retexture foi lançado?

Meshy lançou o Meshy Retexture em 25 de jun. de 2025.

Posso testar Meshy Retexture no navegador antes de integrar?

Sim. O playground da EmpirioLabs executa Meshy Retexture no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.

Como consigo uma chave de API Meshy Retexture?

Crie uma conta EmpirioLabs e gere uma chave em API Keys no painel. A cobrança usa créditos pay-as-you-go, então você paga apenas pelas requisições que faz. Você também pode escolher um plano com franquias semanais.

Pronto para usar endpoints melhores?

Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.