Getting Started

Getting Started

API

MCP Server

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.

Next Steps

API Guide

Learn about authentication, models, and error handling.

API Reference

Interactive API documentation with try-it-out playground.

Quickstart Guide

Step-by-step tutorial with code examples in multiple languages.

Table of Contents

Welcome to Trellis 2
What can you do?
Quick Start
Get Your API Key
Make Your First Request
Check Task Status
Next Steps