Trellis 2 API
$0.10/generation
Developer-ready API access
Developed by , Trellis.2 is a state-of-the-art image to 3D generation AI model. Start creating with Trellis 2 API today!
Pay per successful generation — no subscription required.
$0.10/generation
Developer-ready API access
Trellis 2 API delivers exceptional quality, resolution and efficiency, producing 1536³ PBR textured assets, built on native 3D VAEs with 16× spatial compression
Trellis API excels in handling complex structures, including open surfaces, non-manifold geometry, and enclosed interior structures, breaking the constraints of iso-surface fields.
The Trellis API supports asynchronous task submission - enabling developers to generate 3D assets in the background and get results instantly via callbacks.
Trellis 2 is designed to be minimal, enabling instant conversions that are fully rendering-free and optimization-free. With <10s on single CPU and <100ms with CUDA acceleration.
Trellis.2 outperforms SOTA models in qualitative and quantitative comparisons, achieving superior generation quality and the highest alignment score across all metrics.
Trellis 2 features native structured latents, converting meshes into O-Voxel representations and compressing them via SC-VAE for instant, scalable, high-fidelity 3D generation.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "Qubico/trellis2",
"task_type": "image-to-3d",
"input": {
"image": "YOUR_IMAGE_URL",
"seed": 0
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"model_file": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run trellis-2-api \ image=YOUR_IMAGE_URL \ seed=0 ✓ Task completed! https://img.theapi.app/ephemeral/…
Trellis 3D API can be used in a variety of use cases. If you are interested in 3D character creation, our API could be used to create 3D characters from images. Or if you have a website for 3D assets trading, this tool could be used to populate the website with AI generated 3D models.
Given the commercial license of the Trellis.2 API model, all 3D models generated from our API using that model will be available for commercial use as needed by 3D artists or creators!
No, we do not offer refunds. But when you first sign up for an account on PiAPI's Workspace, you will be given free credits, which can be used for free AI 3D model generation and API calls!
More questions? See the API docs.
Trellis 2 API