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/image-to-3d",
"input": {
"image_urls": [
"https://example.com/owl-front.png"
],
"enable_pbr": true
}
}
'{
"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 将单张正面图或最多 8 视图转为最高 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/image-to-3d",
"input": {
"image_urls": [
"https://example.com/owl-front.png"
],
"enable_pbr": true
}
}
'{
"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/text-to-3d)。
模型
- hunyuan-3d/v3.6/image-to-3d — 根据单张正面图或最多 8 视图生成高模 3D 资产。
功能
- 支持单图或最多 8 视图重建(可选附加
back、left、right、top、bottom、left_front、right_front七个方向视图)。 - 支持
1,000到2,000,000目标面数及face_strict_mode。 - 支持
2k、4k、8k贴图分辨率和png/jpeg/jpg/webp格式,可选enable_pbr与seamless_texture。 - 默认输出无光照 Albedo 贴图,可设
bake_lighting: true保留原图光影,并通过ao_strength(0–1)调节多视图环境光遮蔽。 - 返回 GLB 模型与 PNG 预览图;
Normal任务同时附带包含 OBJ/MTL/贴图的 ZIP 压缩包。
必填参数
image_urls(string[]):仅包含 1 个公开可访问 HTTP(S) 正面图 URL 的数组(JPG、PNG 或 WEBP,单边 128–5000 px,10 MB 以内)。
可选参数
back_image_url、left_image_url、right_image_url、top_image_url、bottom_image_url、left_front_image_url、right_front_image_url(string):同一物体的其他角度视图 URL(JPG 或 PNG,单边 128–5000 px)。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。bake_lighting(boolean):true在贴图中保留输入图光影;false(默认)输出无光照 Albedo 贴图。ao_strength(number):多视图环境光遮蔽强度,范围0(默认)到1。
输出
任务完成后在files 数组中返回:
- GLB 格式 3D 模型(
file_type:3d,.glb) Normal任务:包含 OBJ、MTL 与贴图的 ZIP 压缩包(file_type:3d,.zip)- PNG 预览图(
file_type:image,.png)
示例
- 单图生 3D:在
image_urls传入一张正面图并开启enable_pbr: true。 - 多视图生 3D:正面图搭配
back_image_url、left_image_url,并设ao_strength: 0.5。 - 白模资产:单张正面图搭配
generate_type: "Geometry"与face_count: 300000。
注意事项
prompt和style仅限文生 3D 接口使用,在本接口传入会返回 400。- 建议使用背景干净、主体完整的正面图;附加多视图必须展示同一物体。
- 积分取决于单图/多视图(是否传入任意附加视图字段)以及
generate_type(Normal与Geometry),PBR、贴图分辨率和face_count不改变价格。任务失败全额退还。当前价格见定价页。
请求体
application/json