About Meshy 7
Meshy 7 has one endpoint, retexture-3d. It takes a mesh URL plus either a texture_prompt or a texture_image_url and returns a GLB with new texture maps on the original geometry. Our two November 2026 jobs, a 14,311-face helmet and a 31,236-face armchair, finished in 56 and 62 seconds; the helmet kept its face count exactly and the armchair came back eight faces lighter. With generate_pbr on, each GLB embedded three 2048-pixel images, colour as JPEG and metal-roughness and normal as PNG, which put both files near 10 MB.
Call it with the model name meshy/v7/retexture on POST /jobs/createTask, from $0.48.
Introduction
Overview
Give an existing mesh a brand-new material look using Meshy 7 via text or a reference photo.
Example request
{
"mesh_url": "https://example.com/boot.glb",
"texture_prompt": "weathered cobalt ceramic glaze with matte dark sole",
"generate_pbr": true,
"texture_resolution": "2k"
}Tested output
A 2K text + PBR run finished in 80 seconds with base-colour, metallic-roughness and normal maps embedded; a 2K reference-image run without PBR finished in 55 seconds.
Request parameters
| Parameter | Required | Description |
|---|---|---|
generate_pbr | No | Add PBR material maps (metal-roughness and normal). On by default and switches texturing on. Default: false |
keep_original_uv | No | Reuse the UV layout already in the model so the new texture lines up with your existing maps. Default: true |
mesh_url | Yes | The 3D model to work on, such as one you made in Image to 3D. |
texture_image_url | No | A picture that sets the look of the new textures. Does not change the shape. |
texture_prompt | No | Describe the new surface: colors, materials, wear and markings. Does not change the shape. |
texture_resolution | No | Resolution of the textures. 8K costs more. 2k · 4k · 8k · Default: 2k |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per run |
|---|---|
| texture_resolution 2K | $0.48 |
| texture_resolution 4K | $0.48 |
| texture_resolution 8K | $0.72 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
API quick start
Call the Meshy 7 API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model meshy/v7/retexture and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "meshy/v7/retexture",
"input": {
"mesh_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"texture_resolution": "2k"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
What to build with the Meshy 7 API
- A material picker in a product configurator: precompute four or five finishes per SKU mesh, cache the GLBs on your CDN and swap them in the viewer without new requests. Store each variant's prompt so it can be regenerated at 8K later.
- Re-skinning for player-made game items: let players describe a skin in a short field, cap it at 600 characters in the client and queue the job against the item's mesh URL.
- A style-transfer button: the user uploads one reference picture, a fabric, a painting or a brand palette, and the app sends it as texture_image_url with no prompt.
Meshy 7 parameter notes
- texture_prompt (1 to 600 characters) and texture_image_url are alternatives. The image is read only when no prompt is present, so if your form lets users fill both, decide which one wins before sending, or an uploaded picture will be silently ignored.
- generate_pbr defaults to false and has no price effect. Most integrations should set it to true unless the renderer is unlit or download size matters more than shading.
- texture_resolution is 2k (default), 4k or 8k and is the only field that moves the price. keep_original_uv defaults to true; set it false for meshes with overlapping or missing UVs, accepting that decals placed on the old layout will no longer line up.
- mesh_url takes GLB, GLTF, FBX, OBJ or STL up to 90 MB. Geometry is not edited, so decimate or repair the mesh before sending if it is too heavy for your viewer.
How Meshy 7 API pricing adds up
Price is per request and keyed to texture_resolution alone: 2k and 4k share one rate, 8k has a higher one. PBR, UV handling and prompt length are free. Because 4k costs the same as 2k, default to 4k unless file size is a concern, and reserve 8k for assets a user has explicitly marked as hero shots. Quote first, then reconcile costUsd from the completed task.
- texture_resolution 2k: $0.48 per run, $48.00 for 100 runs
- texture_resolution 8k: $0.72 per run, $72.00 for 100 runs
Async jobs, webhooks and rate limits
Every Meshy 7 request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for meshy/v7/retexture never runs or bills twice.
Common Meshy 7 API errors
| errorCode | What it usually means and how to fix it |
|---|---|
invalid_request | A prompt over 600 characters, a resolution outside 2k, 4k and 8k, or neither texture_prompt nor texture_image_url present. Validate all three before createTask. |
invalid_asset | The mesh or the style image could not be read. Check public access, the 90 MB mesh limit and that the picture is JPEG, PNG, WebP or GIF. |
content_rejected | The prompt or reference picture was refused. Show the message and let the user edit the description; resending the same input fails the same way. |
timeout | 2K jobs ran about a minute in our tests; we have not timed 8K. Wait for the webhook or poll recordInfo before resubmitting. |
Meshy 7 API questions
How much does the Meshy 7 API cost?
Meshy 7 costs $0.48 per run. Prices by option: 2K $0.48 per run, 4K $0.48 per run, 8K $0.72 per run. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What is the model name for Meshy 7 in the API?
Put meshy/v7/retexture for 3D Retexture in the model field of POST /jobs/createTask.
Does the endpoint return separate texture files?
No, the maps are embedded in the GLB. Extract them with a glTF tool if your pipeline needs loose image files.
Can I retexture only part of a model?
There is no mask field. Describe which parts should stay close to the original in the prompt, or split the part into its own mesh, retexture it and recombine.
Is the output repeatable?
There is no seed field, so the same request can return a different texture. Keep the exact GLB a client approved instead of planning to regenerate it.
What are the limits of the Meshy 7 API?
Largest upload: 90 MB. Requests outside these limits are rejected before anything is charged.
Can I try Meshy 7 without writing code?
Run Meshy 7 in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.
All Meshy models
Meshy N1 also repaints a mesh, but it takes pictures only, works best when they show the object itself, and returns a single colour map. Choose Meshy 7 to invent a finish in words, or whenever you need PBR maps or 8K textures.
- Meshy Relief APITurn a photo into a printable relief plaque, with GLB, STL and a depth mapFrom $0.96 per run
- Meshy N1 APIA new finish for a 3D model from one reference image, shape unchangedFrom $0.48 per run
- Meshy T2.5 APICleaner meshes up to 30,000 faces from a photo or a sentence, with optional riggingFrom $0.24 per run
- Meshy 7 APIRepaint a 3D model from a prompt or an image, with PBR maps up to 8KFrom $0.48 per run
- Meshy T2 APILight game-ready meshes up to 15,000 faces from a photo or a sentenceFrom $0.24 per run
- Meshy 3D Tools APIAuto-rig a character and bake up to ten library motions into one GLBFrom $0.24 per run