curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "hunyuan-3d/v3.6/text-to-3d",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A battle-worn dwarf blacksmith in a layered leather apron over chainmail, holding a forging hammer"
}
}
'{
"code": 200,
"data": {
"task_id": "task-example-001",
"status": "not_started",
"created_time": "2026-11-29T10:30:00"
}
}{
"detail": "prompt is required"
}{
"detail": "prompt is required"
}Hunyuan3D
Hunyuan 3D 3.6 文生 3D
Hunyuan 3D 3.6 文生 3D API 根据文本提示词生成最高 200 万面的高模 3D 资产,支持 2K/4K/8K 贴图、PBR 材质和五种风格。
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "hunyuan-3d/v3.6/text-to-3d",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A battle-worn dwarf blacksmith in a layered leather apron over chainmail, holding a forging hammer"
}
}
'{
"code": 200,
"data": {
"task_id": "task-example-001",
"status": "not_started",
"created_time": "2026-11-29T10:30:00"
}
}{
"detail": "prompt is required"
}{
"detail": "prompt is required"
}- 提交后会返回
task_id。如果提供了callback_url,当任务状态变为finished或failed时,系统会向callback_url发送 POST 请求。 - 无论是否提供
callback_url,都可以通过统一的查询任务状态接口获取结果。
hunyuan-3d/v3.6/image-to-3d)。
模型
- hunyuan-3d/v3.6/text-to-3d — 根据文本提示词生成高模 3D 资产。
功能
- 支持
1,000到2,000,000目标面数,并可开启精确面数模式(face_strict_mode)。 - 支持
2k、4k、8k贴图分辨率,格式可选png、jpeg、jpg、webp。 - 可选 PBR 材质贴图(
enable_pbr)与无缝贴图(seamless_texture)。 - 支持带贴图模型(
Normal)或无贴图白模(Geometry)。 - 内置五种风格:
qinghuaci、china_style、sculpture、cartoon、cyberpunk。 - 返回 GLB 模型与 PNG 预览图;
Normal任务同时附带包含 OBJ/MTL/贴图的 ZIP 压缩包。
必填参数
prompt(string):描述目标 3D 物体的文本,1–1024 个字符。
可选参数
generate_type(string):Normal(默认,带贴图模型)或Geometry(无贴图白模)。face_count(integer):目标面数,范围1000到2000000,默认2000000。face_strict_mode(boolean):true严格逼近face_count;false(默认)按物体细节自适应。enable_pbr(boolean):true生成金属度、粗糙度和法线贴图,默认false。texture_resolution(string):2k、4k(默认)或8k。texture_format(string):png、jpeg(默认)、jpg或webp。seamless_texture(boolean):true减少贴图接缝,默认false。style(string):可选风格:qinghuaci、china_style、sculpture、cartoon或cyberpunk。
输出
任务完成后在files 数组中返回:
- GLB 格式 3D 模型(
file_type:3d,.glb) Normal任务:包含 OBJ、MTL 与贴图的 ZIP 压缩包(file_type:3d,.zip)- PNG 预览图(
file_type:image,.png)
示例
- 默认高模贴图资产:仅传
prompt,生成 200 万面 4K 贴图模型。 - 风格化 PBR 资产:设置
style: "qinghuaci"并开启enable_pbr: true。 - 白模资产:设置
generate_type: "Geometry"、face_count: 300000、face_strict_mode: true。
注意事项
- 贴图相关选项(
enable_pbr、texture_resolution、texture_format、seamless_texture)适用于Normal任务。 - 默认 200 万面带贴图 GLB 文件通常在 65–75 MB 左右(另含 40–47 MB 的 OBJ ZIP);如需更轻量资产可适当调低
face_count。 - 积分仅取决于
generate_type(Normal与Geometry),PBR、贴图分辨率和face_count不改变价格。任务失败全额退还。当前价格见定价页。
请求体
application/json