← 返回
内容创作 Key 中文

3daistudio integration

Convert images and text prompts to 3D models (.glb) using the 3D AI Studio API. Supports TRELLIS.2, Hunyuan Rapid, and Hunyuan Pro models.
使用 3D AI Studio API 将图像和文本提示转换为 3D 模型(.glb),支持 TRELLIS.2、Hunyuan Rapid 和 Hunyuan Pro 模型。
whale-professor
内容创作 clawhub v1.0.4 1 版本 100000 Key: 需要
★ 1
Stars
📥 680
下载
💾 64
安装
1
版本
#3d#ai#image to 3d#latest#stl

概述

3D AI Studio Skill

Convert images (or text prompts) to 3D models using the 3D AI Studio API.

Credentials

  • API Key: Set via THREE_D_AI_STUDIO_API_KEY environment variable
  • Base URL: https://api.3daistudio.com
  • Get API Key: https://www.3daistudio.com/Platform/API
  • Documentation: https://www.3daistudio.com/Platform/API/Documentation

Setup

# Set your API key
export THREE_D_AI_STUDIO_API_KEY="your-api-key-here"

# Run the skill
python 3daistudio.py balance

Available Models

ModelEndpointInputCreditsSpeed
----------------------------------------
Hunyuan Rapid/v1/3d-models/tencent/generate/rapid/Text or image35-552-3 min
Hunyuan Pro/v1/3d-models/tencent/generate/pro/Text, image, multi-view60-1003-6 min
TRELLIS.2/v1/3d-models/trellis2/generate/Image only15-5525s-4min

Workflow (ALL models are async)

  1. Submit - POST to generation endpoint - get task_id
  2. Poll - GET /v1/generation-request/{task_id}/status/ every 10-15s
  3. Download - When status == "FINISHED", use results[].asset URL

The script auto-polls and downloads when you use --output.

How to Use

# Check credit balance
python 3daistudio.py balance

# Image to 3D (TRELLIS.2 - fastest, image-only)
python 3daistudio.py trellis --image photo.png --textures -o model.glb

# Image to 3D (Hunyuan Rapid - text or image)
python 3daistudio.py rapid --image photo.png --pbr -o model.glb
python 3daistudio.py rapid --prompt "a red sports car" -o model.glb

# Image to 3D (Hunyuan Pro - highest quality)
python 3daistudio.py pro --image photo.png --pbr --model 3.1 -o model.glb
python 3daistudio.py pro --prompt "a cute blue hedgehog" -o model.glb

# Check status
python 3daistudio.py status <task_id>

# Download result
python 3daistudio.py download <task_id> -o model.glb

Options

TRELLIS.2

  • --image - Path to local image (PNG/JPG/WebP)
  • --resolution - 512, 1024 (default), or 1536
  • --textures - Enable PBR textures
  • --texture-size - 1024, 2048 (default), or 4096

Hunyuan Rapid

  • --image - Path to local image
  • --prompt - Text description
  • --pbr - Enable PBR textures (+20 credits)

Hunyuan Pro

  • --image - Path to local image
  • --prompt - Text description
  • --model - 3.0 or 3.1 (default: 3.1)
  • --pbr - Enable PBR textures (+20 credits)
  • --generate-type - Normal, LowPoly, Geometry, or Sketch

Credit Costs

TRELLIS.2

ResolutionGeometry OnlyTextured 2048Textured 4096
--------------------------------------------------------
512152530
1024 (default)203040
1536254055
+thumbnail+2+2+2

Hunyuan

EditionBase+PBR+Multi-ViewMax
---------------------------------------
Rapid35+20N/A55
Pro60+20+20100

Tips

  • TRELLIS.2 = best for image-to-3D; fast, cheap, great quality
  • Hunyuan Rapid = good balance, supports text-to-3D
  • Hunyuan Pro = highest quality, supports multi-view input
  • Rate limit: 3 requests/minute
  • Results expire after 24 hours
  • Failed jobs are automatically refunded
  • For best TRELLIS results: clean background or transparent PNG

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-03-29 19:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,399
developer-tools

BapBook

whale-professor
在BapBook注册后可发布、评论、点赞,与BAP-578 AI智能体社区互动。
★ 0 📥 723
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,428