POST https://fal.run/fal-ai/trellis-2
Endpoint ID: fal-ai/trellis-2
Try it in the Playground
Run this model interactively with your own prompts.
Quick Start
Capabilities
- Reproducible generation (seed)
- Image input
API Reference
Input Schema
integer
Random seed for reproducibility
ResolutionEnum
default:"1024"
Output resolution; higher is slower but more detailed Default value:
"1024"Possible values: 512, 1024, 1536float
default:"7.5"
How closely the initial 3D structure follows the input image. Higher values produce more faithful but potentially noisier results. Default value:
7.5Range: 0 to 10float
default:"0.7"
Dampens artifacts from high guidance in stage 1. Lower values allow stronger guidance effects, higher values stabilize the output. Default value:
0.7Range: 0 to 1integer
default:"12"
Number of denoising steps for the initial structure. More steps = slower but potentially higher quality. Default value:
12Range: 1 to 50float
default:"5"
Controls noise schedule sharpness for structure generation. Higher values produce sharper transitions. Default value:
5Range: 1 to 6float
default:"7.5"
How closely the detailed geometry follows the input image. Higher values add more detail but may introduce noise. Default value:
7.5Range: 0 to 10float
default:"0.5"
Dampens artifacts from high guidance in the shape stage. Increase if you see noisy geometry. Default value:
0.5Range: 0 to 1integer
default:"12"
Number of denoising steps for shape refinement. More steps = slower but potentially smoother geometry. Default value:
12Range: 1 to 50float
default:"3"
Controls noise schedule sharpness for shape refinement. Higher values produce sharper geometric details. Default value:
3Range: 1 to 6float
default:"1"
How closely the texture follows the input image colors. Higher values produce more vivid but potentially oversaturated textures. Default value:
1Range: 0 to 10float
default:"0"
Dampens artifacts from high guidance in the texture stage. Increase if textures look noisy or have color banding.Range:
0 to 1integer
default:"12"
Number of denoising steps for texture generation. More steps = slower but potentially cleaner textures. Default value:
12Range: 1 to 50float
default:"3"
Controls noise schedule sharpness for texture generation. Higher values produce sharper texture details. Default value:
3Range: 1 to 6integer
default:"500000"
Target number of vertices in the final mesh. Lower values produce smaller files but less detail. 500k is good for most uses, reduce to 20k-50k for web/mobile. Default value:
500000Range: 5000 to 2000000TextureSizeEnum
default:"2048"
Resolution of the texture image baked onto the mesh. Higher values capture finer surface details but produce larger files. Default value:
"2048"Possible values: 1024, 2048, 4096boolean
default:"true"
Rebuild the mesh topology for cleaner triangles. Slower but usually produces better results for downstream use (animation, 3D printing, etc). Default value:
truefloat
default:"1"
Controls how far remeshing can move vertices from the original surface. Higher values allow more smoothing but may lose fine details. Default value:
1Range: 0 to 4float
default:"0"
How much to project remeshed vertices back onto the original surface. 0 = no projection (smoother), 1 = full projection (preserves detail).Range:
0 to 1string
required
URL of the input image to convert to 3D
Output Schema
File
required
Generated 3D GLB file
Input Example
Output Example
Limitations
resolutionrestricted to:512,1024,1536ss_guidance_strengthrange: 0 to 10ss_guidance_rescalerange: 0 to 1ss_sampling_stepsrange: 1 to 50ss_rescale_trange: 1 to 6shape_slat_guidance_strengthrange: 0 to 10shape_slat_guidance_rescalerange: 0 to 1shape_slat_sampling_stepsrange: 1 to 50shape_slat_rescale_trange: 1 to 6tex_slat_guidance_strengthrange: 0 to 10tex_slat_guidance_rescalerange: 0 to 1tex_slat_sampling_stepsrange: 1 to 50tex_slat_rescale_trange: 1 to 6decimation_targetrange: 5000 to 2000000texture_sizerestricted to:1024,2048,4096remesh_bandrange: 0 to 4remesh_projectrange: 0 to 1