Skip to main content
Endpoint: POST https://fal.run/fal-ai/trellis Endpoint ID: fal-ai/trellis

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

Input Schema

string
required
URL of the input image to convert to 3D
integer
Random seed for reproducibility
float
default:"7.5"
Guidance strength for sparse structure generation Default value: 7.5Range: 0 to 10
integer
default:"12"
Sampling steps for sparse structure generation Default value: 12Range: 1 to 50
float
default:"3"
Guidance strength for structured latent generation Default value: 3Range: 0 to 10
integer
default:"12"
Sampling steps for structured latent generation Default value: 12Range: 1 to 50
float
default:"0.95"
Mesh simplification factor Default value: 0.95Range: 0.9 to 0.98
TextureSizeEnum
default:"1024"
Texture resolution Default value: "1024"Possible values: 512, 1024, 2048

Output Schema

File
required
Generated 3D mesh file
Timings
required
Processing timings

Input Example

Output Example

Trellis - Advanced AI Model for 3D Generation

Transform your creative workflows with Trellis, a powerful AI model designed for reliable, high-quality 3D asset generation from images. Built for developers who need production-ready 3D models with minimal complexity.

Overview

Trellis provides a streamlined API for generating 3D models from images, utilizing a native 3D generative model based on Structured LATents (SLAT) representation. Whether you’re building creative tools, content generation systems, or enhancing existing applications, Trellis delivers consistent, high-quality 3D assets with simple integration.

Getting Started

Setting up Trellis takes just a few minutes. Choose your preferred SDK: For JavaScript/TypeScript projects:
For Python applications:
Configure your authentication: JavaScript:
Python:

Basic Usage

Generate your first 3D model with just a few lines of code: JavaScript:
Python:

Advanced Features

Trellis supports advanced configuration options to fine-tune your results: 3D Output Formats
  • Generate multiple 3D representations (Radiance Fields, 3D Gaussians, meshes)
  • Export to GLB format for universal compatibility
  • Maintain high detail in both geometry and texture
Quality Control
  • Intricate shape and texture detail preservation
  • Flexible output format selection
  • Support for local 3D editing capabilities

API Parameters

Input Parameters:
  • image_url (required): URL of the input image
  • Additional configuration options available for advanced use cases
Output:
  • 3D model in multiple formats
  • GLB file export capability
  • High-quality mesh and texture data

Best Practices

Maximize your success with Trellis by following these guidelines: Error Handling
Image Requirements
  • Use clear, well-lit images with distinct subjects
  • Supported formats: JPG, JPEG, PNG, WebP, GIF, AVIF
  • Best results with images showing full object visibility

Technical Specifications

Model Architecture:
  • Based on Structured LATents (SLAT) representation
  • Powered by Rectified Flow Transformers
  • Up to 2 billion parameters
  • Trained on 500K diverse 3D objects
Performance Metrics:
  • Fast 3D generation from single images
  • High-quality output with intricate details
  • Multiple output format support

File Upload Support

Upload local images using the file storage API:

Queue-Based Processing

For asynchronous workflows:

Integration Support

Our documentation includes complete reference implementations for:
  • React/Next.js applications
  • Python backend services
  • Node.js environments
  • REST API clients

Use Cases

3D Asset Creation
  • Game development assets
  • Product visualization
  • Digital art and design
  • AR/VR content creation
Professional Applications
  • E-commerce product models
  • Architecture visualization
  • Educational content
  • Creative prototyping

Pricing and Usage

  • Cost: $0.02 per unit
  • Transparent, usage-based pricing
  • No subscription necessary
  • No hidden fees or minimum commitments
View detailed pricing or contact sales for enterprise solutions.

Support and Resources

Access comprehensive support through multiple channels: Documentation Community Support
  • Active developer community
  • Regular updates and improvements
  • Direct technical support
Get started with Trellis today and experience the next generation of AI-powered 3D asset generation. Sign up for an API key at fal.ai.

Limitations

  • ss_guidance_strength range: 0 to 10
  • ss_sampling_steps range: 1 to 50
  • slat_guidance_strength range: 0 to 10
  • slat_sampling_steps range: 1 to 50
  • mesh_simplify range: 0.9 to 0.98
  • texture_size restricted to: 512, 1024, 2048
  • multiimage_algo restricted to: stochastic, multidiffusion