fishwowater/trellis-image 🖼️🔢📝✓ → ❓

▶️ 304 runs 📅 Apr 2025 ⚙️ Cog 0.14.7 🔗 GitHub 📄 Paper ⚖️ License
3d-reconstruction game-asset-generation image-to-3d

About

SOTA image-to-3D generator TRELLIS. Equipped with **All image-condition types** you need: (1) single-image (2) multi-images (3) different images for geometry and texture generation (4) mesh+images for detail variation(texture painting)

Example Output

Output

Performance Metrics

35.18s Prediction Time
290.99s Total Time
All Input Parameters
{
  "seed": 0,
  "images": [
    "https://replicate.delivery/pbxt/MtJOwdC4hShWyq0IVWZLiKGbtmprk9eVNi70kql6QNQDvElA/T.png"
  ],
  "texture_size": 1024,
  "mesh_simplify": 0.95,
  "tex_bake_mode": "rgb",
  "generate_color": true,
  "generate_model": true,
  "randomize_seed": true,
  "generate_normal": false,
  "save_gaussian_ply": false,
  "ss_sampling_steps": 12,
  "slat_sampling_steps": 12,
  "return_no_background": false,
  "ss_guidance_strength": 7.5,
  "slat_guidance_strength": 3
}
Input Parameters
mesh Type: string
Input mesh (Z-UP, ONLY required for the detail variation mode)
seed Type: integerDefault: 0
Random seed for generation
images (required) Type: array
List of input images to generate 3D asset from
tex_images Type: array
List of images to generate the texture of 3D asset from
texture_size Type: integerDefault: 1024Range: 512 - 2048
GLB Extraction - Texture Size (only used if generate_model=True)
mesh_simplify Type: numberDefault: 0.95Range: 0.9 - 0.98
GLB Extraction - Mesh Simplification (only used if generate_model=True)
tex_bake_mode Type: stringDefault: rgb
Mode for baking the texture (defaults to rgb, which will be darker)
generate_color Type: booleanDefault: true
Generate color video render
generate_model Type: booleanDefault: false
Generate 3D model file (GLB)
randomize_seed Type: booleanDefault: true
Randomize seed
generate_normal Type: booleanDefault: false
Generate normal video render
save_gaussian_ply Type: booleanDefault: false
Save Gaussian point cloud as PLY file
ss_sampling_steps Type: integerDefault: 12Range: 1 - 50
Stage 1: Sparse Structure Generation - Sampling Steps
slat_sampling_steps Type: integerDefault: 12Range: 1 - 50
Stage 2: Structured Latent Generation - Sampling Steps
return_no_background Type: booleanDefault: false
Return the preprocessed images without background
ss_guidance_strength Type: numberDefault: 7.5Range: 0 - 10
Stage 1: Sparse Structure Generation - Guidance Strength
slat_guidance_strength Type: numberDefault: 3Range: 0 - 10
Stage 2: Structured Latent Generation - Guidance Strength
Output Schema
Example Execution Logs
INFO:predict:Loading and preprocessing input images...
INFO:predict:Using randomized seed: 246380710
INFO:predict:Running TRELLIS pipeline...
Sampling:   0%|          | 0/12 [00:00<?, ?it/s]
Sampling:  17%|█▋        | 2/12 [00:00<00:00, 12.70it/s]
Sampling:  33%|███▎      | 4/12 [00:00<00:00, 12.98it/s]
Sampling:  50%|█████     | 6/12 [00:00<00:00, 13.06it/s]
Sampling:  67%|██████▋   | 8/12 [00:00<00:00, 13.11it/s]
Sampling:  83%|████████▎ | 10/12 [00:00<00:00, 13.13it/s]
Sampling: 100%|██████████| 12/12 [00:00<00:00, 14.27it/s]
Sampling:   0%|          | 0/12 [00:00<?, ?it/s]
Sampling:   8%|▊         | 1/12 [00:00<00:01,  6.08it/s]
Sampling:  17%|█▋        | 2/12 [00:00<00:01,  7.69it/s]
Sampling:  25%|██▌       | 3/12 [00:00<00:01,  8.40it/s]
Sampling:  33%|███▎      | 4/12 [00:00<00:00,  8.76it/s]
Sampling:  42%|████▏     | 5/12 [00:00<00:00,  8.97it/s]
Sampling:  50%|█████     | 6/12 [00:00<00:00,  9.09it/s]
Sampling:  58%|█████▊    | 7/12 [00:00<00:00,  9.20it/s]
Sampling:  67%|██████▋   | 8/12 [00:00<00:00,  9.27it/s]
Sampling:  75%|███████▌  | 9/12 [00:01<00:00,  9.31it/s]
Sampling:  83%|████████▎ | 10/12 [00:01<00:00,  9.33it/s]
Sampling: 100%|██████████| 12/12 [00:01<00:00, 12.21it/s]
Sampling: 100%|██████████| 12/12 [00:01<00:00,  9.77it/s]
INFO:predict:TRELLIS pipeline complete!
INFO:predict:Available output formats: dict_keys(['mesh', 'gaussian'])
INFO:predict:Starting video rendering...
INFO:predict:Generating color video from gaussian output...
Rendering: 0it [00:00, ?it/s]
Rendering: 25it [00:00, 243.58it/s]
Rendering: 55it [00:00, 271.85it/s]
Rendering: 87it [00:00, 290.52it/s]
Rendering: 118it [00:00, 295.69it/s]
Rendering: 120it [00:00, 288.14it/s]
INFO:predict:Available gaussian render types: ['color', 'depth']
INFO:predict:Generated color video successfully
INFO:predict:Video rendering complete!
INFO:predict:Generating GLB model...
INFO- Loaded 14867 vertices and 30203 faces.
0% done
2% done
4% done
7% done
9% done
11% done
14% done
16% done
19% done
21% done
23% done
26% done
28% done
30% done
33% done
35% done
38% done
40% done
42% done
45% done
47% done
50% done
52% done
54% done
57% done
59% done
61% done
64% done
66% done
69% done
71% done
73% done
76% done
78% done
80% done
83% done
85% done
88% done
90% done
92% done
95% done
97% done
100% done
WARNING- Some cuts were necessary to cope with non manifold configuration.
Rendering: 0it [00:00, ?it/s]
Rendering: 13it [00:00, 126.91it/s]
Rendering: 29it [00:00, 141.41it/s]
Rendering: 44it [00:00, 143.10it/s]
Rendering: 60it [00:00, 146.69it/s]
Rendering: 75it [00:00, 145.26it/s]
Rendering: 90it [00:00, 146.68it/s]
Rendering: 100it [00:00, 144.62it/s]
INFO:predict:GLB model generation complete!
INFO:predict:Prediction complete! Returning results...
Version Details
Version ID
1dee190699ab9bf370eda8c40dddaa170f49b3b6e0ca46931cceeedf6df3a3bc
Version Created
April 28, 2025
Run on Replicate →