
Parameter Name | Required | Type | Parameter Description |
model | Yes | string | Model name. Default value: tripo-3d-texture. Example value: tripo-3d-texture |
texture_version | Yes | string | Texture model version. Default value: v3.5-20260815. |
input | Yes | string | Source image for image generation. Supports GLB, GLTF, FBX, OBJ, and STL, with a maximum size of 150 MB. Example value: https://cos.ap-guangzhou.myqcloud.com/image.glb |
texture_prompt | Yes (conditionally optional) | object | Texture guidance input. Optional if the model is generated by Tripo. text / image / images are mutually exclusive. Only one can be selected (style_image can be used with text). text: A text prompt that describes the desired texture style. The text can contain up to 4,096 characters. Example: {"text": "Worn leather strap with scratches"} style_image: A style reference image that can only be used with text mode. It accepts file_token or url. Recommended resolution: at least 256×256 px. Example: {"text": "Cyberpunk style", "style_image": {"url": "https://..."}} image: A single reference image used for texture generation. It accepts file_token or URL. The size of a single image must not exceed 10 MB. The image width and height must not exceed 8192 pixels, and the total number of pixels must not exceed 16,777,216. images: Multi-angle reference images used for multi-view texture guidance. Two formats are supported: view-key (recommended): An array of objects. Each item contains only one key: front / left / back / right. The value is a URL, file_token, or {url} / {file_token} / {object:{bucket,key}}. The order does not matter, and you can omit any views that are not available. Example: {"images": [{"front": "https://..."}, {"left": "file_..."}]} positional: 4 positions in the order of [front, left, back, right]. For missing views, pass null or "" as a placeholder. front is required, and at least 2 views must be provided. Note: text, image, and images are mutually exclusive. You can specify only one of them. images: front is required, and at least 2 views must be provided. You cannot mix view-key and positional formats within the same array. The optional style_image can be used with text to influence the artistic style. |
pbr | No | boolean | Enable PBR material generation. Default value: true. |
texture_seed | No | integer | Random seed for texture generation. Using the same seed generates the same texture. If not set, a random seed is used each time. To obtain a model with the same geometry but different textures, keep model_seed unchanged and change texture_seed. |
texture_alignment | No | string | Texture alignment priority. Default value: original_image. original_image: Prioritizes matching the colors of the input image. geometry: Prioritizes matching the generated geometry. |
texture_quality | No | string | Texture quality level. Default value: standard. fast: Fastest generation, trading detail for speed. The output texture size is the same as standard, and the credits are the same as standard. standard: A balance between quality and speed. detailed: Higher fidelity with slower generation speed. extreme: 8K textures with the highest fidelity. It consumes additional credits compared to detailed. |
part_names | No | string[] | List of part names from a previous mesh segmentation task. If not specified, textures are applied to all parts. |
compress | No | string | Compression type. geometry: meshopt compression to reduce file size. |
bake | No | boolean | Bakes advanced material effects into base textures to improve compatibility. Default value: true. |
delight | No | boolean | Whether to remove lighting information from the reference image. Default value: true. When set to true, lighting information is removed. When set to false, the original shading is retained. |
Parameter Name | Type | Description |
id | string | Task ID, valid for 24 hours, used to query results. |
request_id | string | Unique request ID generated by the server, used to locate issues. |
object | string | Type of the returned object. For 3D jobs, the value is fixed as 3d_job. |
created_at | integer | Task creation time. |
status | string | Task status: queued (waiting), in_progress (in progress), completed (succeeded), failed (failed). |
Parameter Name | Required | Type | Parameter Description |
model | Yes | string | Model name. Default value: tripo-3d-texture. Example value: tripo-3d-texture |
id | Yes | string | Task ID returned by the submission API. Example value: 1315932989749215232 |
Parameter Name | Type | Description |
status | string | Task status: completed (succeeded), failed (failed), in_progress (in progress), queued (waiting). |
request_id | string | Unique request ID generated by the server, used to locate issues. |
output | object | Texture result returned when the task is completed (TripoResult). |
output.model_url | string | Download URL of the generated 3D model. |
output.rendered_image_url | string | URL of the rendered preview image of the generated 3D model. |
output.type | string | Type of the output result. |
input | string | Input parameters at the time of submission. |
object | string | Type of the returned object. For 3D jobs, the value is fixed as 3d_job. |
created_at | integer | Task creation time. |
completed_at | integer | Task completion time. |
credits_consumed | number | Number of credits actually consumed by the current task. |
curl --location --request POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/api/3d/submit' \\--header 'Authorization: Bearer ${APIKEY}' \\--header 'Content-Type: application/json' \\--data-raw '{"model": "tripo-3d-texture","input": "https://example.com/model.glb","texture_version": "v3.5-20260815","texture_prompt": {"text": "Worn leather and scratches"},"texture_quality": "standard"}'
{"created_at": 1795500000,"id": "<JOB_ID>","object": "3d_job","request_id": "<REQUEST_ID>","status": "queued"}
curl --location --request POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/api/3d/query' \\--header 'Authorization: Bearer ${APIKEY}' \\--header 'Content-Type: application/json' \\--data-raw '{"model": "tripo-3d-texture","id": "<JOB_ID>"}'
{"created_at": 1795500000,"input": "{\\"pbr\\":true,\\"bake\\":true,\\"texture\\":true,\\"model_version\\":\\"v3.5-20260815\\",\\"texture_prompt\\":{\\"text\\":\\"Worn leather and scratches\\"},\\"texture_quality\\":\\"standard\\",\\"original_model_id\\":\\"<UPSTREAM_ID>\\",\\"texture_alignment\\":\\"original_image\\"}","object": "3d_job","output": {"model_url": "https://example.com/output.glb","rendered_image_url": "https://example.com/rendered.png","type": "texture_model"},"credits_consumed": 10,"completed_at": 1795500060,"request_id": "<REQUEST_ID>","status": "completed"}
フィードバック