Chuyển đến nội dung chính
GET
/
v1
/
3d
/
generations
/
{id}
curl "https://api.lemondata.cc/v1/3d/generations/3d_abc123" \
  -H "Authorization: Bearer sk-your-api-key"
{
  "id": "gptproto_v3:abc123",
  "status": "completed",
  "model_url": "https://cdn.tripo3d.ai/abc123.glb",
  "glb_url": "https://cdn.tripo3d.ai/abc123.glb",
  "fbx_url": "https://cdn.tripo3d.ai/abc123.fbx"
}
Thực hiện poll endpoint này để kiểm tra trạng thái của tác vụ tạo mô hình 3D của bạn.

Tham số đường dẫn

id
string
bắt buộc
ID của tác vụ tạo mô hình 3D.

Phản hồi

id
string
ID tác vụ.
status
string
Trạng thái tác vụ: pending, processing, completed, hoặc failed.
progress
integer
Phần trăm tiến độ (0-100).
model_url
string
URL để tải xuống tệp mô hình 3D (khi hoàn tất).
glb_url
string
URL để tải xuống mô hình định dạng GLB (khi có sẵn).
fbx_url
string
URL để tải xuống mô hình định dạng FBX (khi có sẵn).
error
string
Thông báo lỗi (khi thất bại).
curl "https://api.lemondata.cc/v1/3d/generations/3d_abc123" \
  -H "Authorization: Bearer sk-your-api-key"
{
  "id": "gptproto_v3:abc123",
  "status": "completed",
  "model_url": "https://cdn.tripo3d.ai/abc123.glb",
  "glb_url": "https://cdn.tripo3d.ai/abc123.glb",
  "fbx_url": "https://cdn.tripo3d.ai/abc123.fbx"
}