Refine Text-to-3D Preview
meshy_text_to_3d_refineTexture a completed text-to-3D preview using text or image prompts, with optional PBR maps and 2K-8K resolution. Provide the preview task ID to generate textured 3D model formats.
Instructions
Texture a SUCCEEDED meshy_text_to_3d preview. Cost: 10 credits (15 at 8K). Get the user's approval first; omit ai_model to inherit the preview's model.
Example: { preview_task_id: "abc-123", texture_prompt: "rusty metal", enable_pbr: true }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai_model | No | Optional override: 'meshy-7.1', 'latest' (= 7.1), 'meshy-6', 'meshy-6-lite' (2K only). Omit (recommended) to inherit the preview's model; not meshy-t2/t2.5. | |
| auto_size | No | AI-estimate the real-world height and resize to it (default false). | |
| origin_at | No | 'bottom' or 'center' (default bottom with auto_size). | |
| enable_pbr | No | Also make metallic/roughness/normal maps. | |
| hd_texture | No | Deprecated: use texture_resolution '4k'. | |
| target_formats | No | Formats to produce (default: all but 3mf; list '3mf' to get it). Fewer formats finish faster. | |
| texture_prompt | No | Text to guide texturing (max 800 characters). | |
| alpha_thumbnail | No | Also return a transparent-background preview (alpha_thumbnail_url). | |
| preview_task_id | Yes | The SUCCEEDED preview task to texture | |
| remove_lighting | No | Remove highlights/shadows from the base color (meshy-6 only). Sent as-is when ai_model is omitted, so omit it after a meshy-6-lite preview (the API rejects it). | |
| response_format | No | markdown (default) or json | markdown |
| texture_image_url | No | Image URL to guide texturing. | |
| texture_resolution | No | Base color texture: 2k (default), 4k or 8k (+5 credits; PBR maps stay 4K, no emission map). 4k/8k not on meshy-6-lite. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| task_id | Yes | ||
| estimated_time | Yes |