tencent cloud

LLM Service TokenHub

Rodin-Gen-3D-2.5 API Guide

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-12-01 10:41:11
Diterjemahkan oleh AI

Introduction

The rodin-gen-3d-2.5 API intelligently generates high-quality 3D models based on input images or text.

Integration Guide

1. Obtaining an API Key

1. Go to the API Key Management page and click Create API Key. For detailed operations, see Create API Key.
2. After creation, be sure to copy and securely store the API Key. This information will be used in the subsequent process of configuring the tool.

Note:
The key of each account can only be queried by that account. The key information of the main account is not visible to sub-accounts. If a sub-account needs to call APIs, it must create its own key information.
If a sub-account cannot be created, the user may not have permission to create keys and needs authorization from the main account. After the main account logs in, click User List, and select Authorize next to the corresponding sub-account. A dialog box for associating policies will appear. Enter the authorization policy name and search, then select the corresponding policy and click Confirm.
Authorization policy: QcloudTokenhubFullAccess

2. Concurrency Quota

Three concurrent tasks are provided by default, meaning that up to three submitted tasks can be processed simultaneously. Tasks that exceed the concurrency limit must wait until the preceding tasks are completed before they can start processing.
Concurrent tasks: the maximum number of tasks that can run during the period when the corresponding service is being called. While a task is not completed, the next task cannot be submitted. After the task is completed, the next task can be submitted.

API Documentation

Submitting a 3D Generation Task

Input parameters
Parameter Name
Required
Type
Parameter Description
model
Yes
string
Model name. Default value: rodin-gen-3d-2.5.
Example value: rodin-gen-3d-2.5
images
Conditionally required
array<string>
Images used for generation, up to 5. The upload order in the request body is preserved. Image-to-3D requires at least one image, while Text-to-3D does not submit this field.
Supports jpeg/jpg/png/webp, with a resolution greater than 128×128 and a size of less than 10 MB per image.
Either images or prompt is required, and prompt and images cannot coexist.
prompt
Conditionally required
string
Text prompt used to guide generation, up to 1024 characters.
Required for Text-to-3D and optional for Image-to-3D. Prompts are first converted into images, so pure text requests may also return IMAGE_CONTENT_VIOLATION.
Either images or prompt is required, and prompt and images cannot coexist.
soft
No
bool
Adds smooth edges to the final geometry generation prompt without changing the generation tier. Default value: false.
detail_level
No
int
Controls the number of final geometry optimization stages conditioned on RGB images. Higher values preserve more visual details. If the parameter is omitted, the default optimization path is used. Value range: [1, 3].
tier
Yes
string
Select and explicitly pass a Gen-2.5 tier. (Default)
Options: Gen-2.5-Extreme-Low, Gen-2.5-Low, Gen-2.5-Medium, Gen-2.5-High, Gen-2.5-Extreme-High.
mesh_mode
No
string
Controls the topology of the generated model. Raw indicates triangle mesh topology, and Quad indicates quad mesh topology.
The default value depends on the selected tier: Gen-2.5 tiers use Raw by default, while other tiers use Quad by default. Options: Quad, Raw.
quad_normal
No
bool
During mesh refinement, high-resolution geometric details are baked into a normal map. Default value: false.
geometry_file_format
No
string
Controls the file format of the generated model. Default value: glb. Options: glb, usdz, fbx, obj, stl.
texture_mode
No
string
Texture mode of the generated model. Options: legacy, extreme-low, low, medium, high, extreme-high. The default value depends on the selected tier.
Higher modes typically produce richer, higher-resolution texture details, but take longer and may affect billing.
legacy: uses the legacy texture pipeline.
extreme-high: can generate textures up to 12K.
material
No
string
Material type. Default value: PBR. Options: PBR, Shaded, All, Hybrid, None.
PBR: a physically based rendering material that includes base color maps, metallic maps, normal maps, and roughness maps.
Shaded: a base color map that includes baked lighting.
All: includes both PBR and Shaded materials.
quality
No
string
Preset target number of faces for Gen-2.5. Default value: medium. Options: high, medium, low, extra-low.
The mapping depends on mesh_mode:
Quad:high 50000,medium 18000,low 8000,extra-low 4000.
Raw:high 1000000,medium 500000,low 60000,extra-low 20000.
quality_override
No
int
Custom target number of faces for Gen-2.5. Valid values range from 500 to 2000000. Takes priority over quality after submission.
Gen-2.5-High and Gen-2.5-Extreme-High support up to 2000000; other Gen-2.5 tiers support up to 1000000. Quad mode has an additional limit of 200000.
Valid values: [500, 2000000]
seed
No
int
Random seed, ranging from 0 to 65535.
bbox_condition
No
array<int>
Controls the maximum size of the generated model. Provide three integers strictly in the order of width (X axis), height (Y axis), and length (Z axis) as (x, y, z).
Items3 <= items <= 3
addons
No
array<string>
Upgrade pack textures from 2K to 4K. For Gen-2.5, HighPack does not change geometry or generate additional high-poly models.
TAPose
No
bool
For humanoid models, generate results using a T-pose or A-pose reference suitable for animation. Default value: false.
use_original_alpha
No
bool
Whether to use the original alpha channel. Default value: false. This parameter is invalid when the original image does not have a valid alpha channel.
preview_render
No
bool
Whether to generate a preview. Default value: false.
is_symmetric
No
string
Symmetry setting for geometry generation. Default value: unknown. Options: symmetric, balanced, asymmetric, unknown.
For objects that should be mirrored left to right, use "symmetric"; for posed or irregular objects, use "asymmetric"; for objects that are primarily symmetric but require subtle natural differences, use "balanced"; use "unknown" to let the system infer the mode based on the prompt and input images.
image_label
No
array<string>
View direction tag for each uploaded image, matched to the image by position. Default value: ?. The list is padded to the number of images. The number of submitted tags cannot exceed the number of images. If the number exceeds the number of uploaded images, error IMAGE_LABEL_LENGTH_TOO_LONG is returned. Supported direction tags:
Front:F
Front-Left:FL
Front-Right:FR
Back:B
Back-Left:BL
Back-Right:BR
Left:L
Right:R
Up:U
Down:D
Unknown:?
hd_texture
No
bool
Enable additional texture super-resolution and enhancement processing steps. Default value: false. This can improve detail clarity but may also introduce artifacts. This feature does not determine the final 2K or 4K packed resolution.
uhd_texture
No
bool
Apply additional sharpening to texture details, which can improve perceived detail but may also introduce artifacts. Default value: false. This parameter may affect texture resolution.
is_micro
No
bool
Whether to generate fine surface details. Default value: false. Allowed only when tier is Gen-2.5-Extreme-High; other tiers are rejected and return INVALID_REQUEST.
geometry_instruct_mode
No
string
Select the geometry generation strategy. Default value: creative. Options: faithful, creative. Creative adopts richer or more creative structures with lower strictness on input; faithful stays closer to the provided images and prompt. Availability depends on the selected tier.
texture_delight
No
bool
If set to true, highlights and baked lighting are removed from the texture reference image before texture generation to reduce lighting artifacts in the generated material. Default value: false.
Output parameters
Parameter Name
Type
Description
id
string
Task ID, valid for 24 hours, used to query task status.
Example value: 1315932989749215232.
object
string
Type of the returned object. For 3D jobs, the value is fixed as 3d_job.
created_at
int
Task creation time (Unix timestamp).
status
string
Task status. The value is queued when the task is submitted successfully.
request_id
string
Request tracking ID, used to locate issues.

Querying a 3D Generation Task

Input parameters
Parameter Name
Required
Type
Parameter Description
model
Yes
string
Model name. Default value: rodin-gen-3d-2.5.
Example value: rodin-gen-3d-2.5
id
Yes
string
Task ID returned by the submission API.
Example value: 1315932989749215232.
Output parameters
Parameter Name
Type
Description
request_id
string
Request tracking ID, used to locate issues.
object
string
Type of the returned object. For 3D jobs, the value is fixed as 3d_job.
created_at
int
Task creation time (Unix timestamp).
status
string
Task status: queued (waiting), in_progress (in progress), completed (task succeeded), failed (task failed).
data
array
List of generated result files. Returned only when the status is completed.
data[n].name
string
File name, such as model.glb.
data[n].url
string
File download URL, valid for 1 day.
error
object
Error message. Returned only when the status is failed.
error.code
string
Error code.
error.message
string
Error message.
error.type
string
Error type.

Examples

Submitting a 3D Generation Task

Input Example
curl --location --request POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/api/3d/submit' \\
--header "Authorization: Bearer YOUR_API_KEY" \\
--header 'Content-Type: application/json' \\
--data-raw '{
"model": "rodin-gen-3d-2.5",
"tier": "Gen-2.5-Medium",
"images": [
"https://example.com/input.png"
]
}'
Output Example
{
"created_at": 1791431478,
"id": "<JOB_ID>",
"object": "3d_job",
"request_id": "<REQUEST_ID>",
"status": "queued"
}

Querying a 3D Generation Task

Input Example
curl --location --request POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/api/3d/query' \\
--header "Authorization: Bearer YOUR_API_KEY" \\
--header 'Content-Type: application/json' \\
--data-raw '{
"model": "rodin-gen-3d-2.5",
"id": "<JOB_ID>"
}'
Output Example
{
"created_at": 1791431598,
"data": [
{
"name": "base_basic_pbr.glb",
"url": "https://example.com/base_basic_pbr.glb"
},
{
"name": "preview.webp",
"url": "https://example.com/preview.webp"
}
],
"object": "3d_job",
"request_id": "<REQUEST_ID>",
"status": "completed"
}





Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan