curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "tripo3d/p1/text-to-3d",
"input": {
"prompt": "A quiet forest under soft morning light, with natural detail.",
"texture": true
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Tripo3D
Tripo3D P1 文生 3D
Tripo3D P1 API 根据文本生成 3D 物体,可选纹理,面数预算精简,适合道具和场景资产。
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": "tripo3d/p1/text-to-3d",
"input": {
"prompt": "A quiet forest under soft morning light, with natural detail.",
"texture": true
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}- 提交后会返回
task_id。如果提供了callback_url,当任务状态变为finished或failed时,系统会向callback_url发送 POST 请求。 - 无论是否提供
callback_url,都可以通过统一的查询任务状态接口获取结果。
模型
- tripo3d/p1/text-to-3d - 根据文本提示词生成 3D 模型。
功能
- 根据文本提示词生成 3D 模型。
- 从任务结果中获取模型资源,以及可用的预览图或辅助文件。
输出选项
面数上限
face_limit:可选。设置面数上限。48到20000的整数。
高级参数
model 和可选的 callback_url 放在请求根级。所有工作流参数(包括输出选项)都放在 input 内。
本工作流使用下列 input 字段。
提示词
prompt:必填。描述所需的 3D 物体。长度:1-1,024 个字符。- 提供描述物体的非空字符串。
纹理
texture:可选。控制是否生成纹理。使用true或false。默认:true。
模型种子
model_seed:可选。设置模型生成种子。整数。
输出文件
- 读取返回的
files数组中的每一项。 - 模型资源为
file_type: "3d";预览图为file_type: "image"。 - 辅助文件为
file_type: "other"。保留返回的每个文件,以及存在时的label、format、content_type、file_name和file_size元数据。 - 存在相应 label 时,使用
model_glb文件做 3D 预览,并使用thumbnail文件作为封面图。
授权
使用 VIDGO_API_KEY。
请求体
application/json