Getting Started
Get started with Trellis 2 API
Welcome to Trellis 2
Trellis 2 is an AI-powered image-to-3D model generator. Transform your images into high-quality 3D models with just a few API calls.
What can you do?
3D Model Generation
Convert single or multiple images into GLB 3D models using state-of-the-art AI pipelines.
Multiple AI Models
Choose from multiple generation models including Trellis 2, Tripo, and Tripo Multiview.
Credit-Based Pricing
Pay only for what you use with our flexible credit system.
REST API
Integrate 3D generation into your applications with our simple REST API.
Quick Start
Get Your API Key
Sign up for a Trellis 2 account and generate an API key from your dashboard.
Authentication
All API requests require an API key passed via the x-api-key header.
Make Your First Request
curl -X POST https://trellis2.app/api/v1/3d/generations \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"image_url": "https://example.com/your-image.png",
"model": "trellis2"
}'This returns a taskId that you can use to track the generation progress.
Check Task Status
curl https://trellis2.app/api/v1/tasks/TASK_ID \
-H "x-api-key: YOUR_API_KEY"Poll this endpoint until status becomes completed, then download your 3D model from the returned URL.