Trellis(图片转3D模型)
POST
/302/submit/trellis来自开源项目的图片转3D
相关链接:https://trellis3d.github.io/
平均运行时长20-30s
价格:0.05 PTC/次
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
image_url
string
必需
ss_guidance_strength
number
可选
ss_sampling_steps
integer
可选
slat_guidance_strength
integer
可选
slat_sampling_steps
integer
可选
mesh_simplify
number
可选
texture_size
integer
可选
示例1
{
"image_url": "",
"ss_guidance_strength": 7.5,
"ss_sampling_steps": 12,
"slat_guidance_strength": 3,
"slat_sampling_steps": 12,
"mesh_simplify": 0.95,
"texture_size": 1024
}
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
completed_at
string
必需
created_at
string
必需
error
string
必需
id
string
必需
model
string
必需
output
string
必需
started_at
string
必需
status
string
必需
示例
{
"completed_at": "",
"created_at": "",
"error": "",
"id": "",
"model": "",
"output": "",
"started_at": "",
"status": ""
}
最后修改时间: 6 天前