Generate 3D Models from Your AI Agent
Trellis 2 speaks the Model Context Protocol. Connect Claude Code, Cursor, Codex CLI or any MCP-compatible harness and create image-to-3D and text-to-3D models without leaving your terminal.
Three Tools, Full Workflow
Everything an agent needs to create and retrieve 3D models
list_models
Browse available 3D generation models with credit costs and capability tags (image-to-3D, multi-view).
generate_3d_model
Start a generation task from an image URL or text prompt. Credits are deducted atomically; failures refund automatically.
get_task
Poll status and progress. Completed tasks return mesh, texture and preview download URLs.
Connect in Under a Minute
1
Create an API key
Generate your tr_ key in dashboard settings — the same key works for REST API and MCP.
2
Register the server
One command for Claude Code, or paste the URL and header into any MCP client config.
3
Ask your agent
"Make a 3D model of this chair photo" — your agent picks a model, generates and delivers the download link.
claude mcp add trellis2 --transport http https://trellis2.app/api/mcp \
--header "Authorization: Bearer tr_your_key_here"Standard JSON Config
For Cursor, Windsurf, VS Code or any MCP client — paste into your mcp.json (usually ~/.cursor/mcp.json or .vscode/mcp.json):
{
"mcpServers": {
"trellis2": {
"type": "http",
"url": "https://trellis2.app/api/mcp",
"headers": {
"Authorization": "Bearer tr_your_key_here"
}
}
}
}Ready to build with agents?
Free credits for new accounts. Same key, same credits, every surface.
Create Your API Key