fire/trellis 🔢🖼️✓ → ❓

▶️ 305 runs 📅 Dec 2024 ⚙️ Cog 0.14.3 🔗 GitHub 📄 Paper ⚖️ License
3d-reconstruction game-asset-generation image-to-3d point-cloud

About

For the paper "Structured 3D Latents for Scalable and Versatile 3D Generation".

Example Output

Output

Performance Metrics

57.75s Prediction Time
279.86s Total Time
All Input Parameters
{
  "seed": 0,
  "image": "https://replicate.delivery/pbxt/MCprdYbZYopM9oV25EeGmNQdKjeYjIB6sfyei5rTFeaXEoun/Set_in_role_playing_game__A_young_woman_with_realistic_adult_proportio_S1009161289_St8_G1.png",
  "texture_size": 2048,
  "mesh_simplify": 0,
  "generate_color": false,
  "generate_model": true,
  "randomize_seed": true,
  "generate_normal": false,
  "ss_sampling_steps": 12,
  "slat_sampling_steps": 12,
  "ss_guidance_strength": 7.5,
  "slat_guidance_strength": 3
}
Input Parameters
seed Type: integerDefault: 0
Random seed for generation
images (required) Type: array
List of input images to generate 3D asset from
texture_size Type: integerDefault: 512Range: 512 - 2048
GLB Extraction - Texture Size (only used if generate_model=True)
mesh_simplify Type: numberDefault: 0.65Range: 0 - 0.98
GLB Extraction - Mesh Simplification (only used if generate_model=True)
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 image...
INFO:predict:Saved image without background
INFO:predict:Using randomized seed: 1505015317
INFO:predict:Running TRELLIS pipeline...
Sampling:   0%|          | 0/12 [00:00<?, ?it/s]
Sampling:  17%|█▋        | 2/12 [00:00<00:00, 13.09it/s]
Sampling:  33%|███▎      | 4/12 [00:00<00:00, 13.14it/s]
Sampling:  50%|█████     | 6/12 [00:00<00:00, 13.16it/s]
Sampling:  67%|██████▋   | 8/12 [00:00<00:00, 13.21it/s]
Sampling:  83%|████████▎ | 10/12 [00:00<00:00, 13.18it/s]
Sampling: 100%|██████████| 12/12 [00:00<00:00, 14.37it/s]
Sampling:   0%|          | 0/12 [00:00<?, ?it/s]
Sampling:   8%|▊         | 1/12 [00:00<00:01,  7.12it/s]
Sampling:  25%|██▌       | 3/12 [00:00<00:00,  9.17it/s]
Sampling:  42%|████▏     | 5/12 [00:00<00:00,  9.66it/s]
Sampling:  58%|█████▊    | 7/12 [00:00<00:00,  9.89it/s]
Sampling:  75%|███████▌  | 9/12 [00:00<00:00,  9.99it/s]
Sampling:  92%|█████████▏| 11/12 [00:01<00:00, 11.01it/s]
Sampling: 100%|██████████| 12/12 [00:01<00:00, 10.70it/s]
INFO:predict:TRELLIS pipeline complete!
INFO:predict:Available output formats: dict_keys(['mesh', 'gaussian'])
INFO:predict:Generating GLB model...
INFO- Loaded 58336 vertices and 116560 faces.
0% done
2% done
5% done
7% done
10% done
13% done
15% done
18% done
21% done
23% done
26% done
28% done
31% done
34% done
36% done
39% done
42% done
44% done
47% done
50% done
52% done
55% done
57% done
60% done
63% done
65% done
68% done
71% done
73% done
76% done
78% done
81% done
84% done
86% done
89% done
92% done
94% done
97% done
100% done
Rendering: 0it [00:00, ?it/s]
Rendering: 15it [00:00, 147.37it/s]
Rendering: 34it [00:00, 168.88it/s]
Rendering: 53it [00:00, 175.60it/s]
Rendering: 72it [00:00, 180.23it/s]
Rendering: 91it [00:00, 181.93it/s]
Rendering: 100it [00:00, 177.28it/s]
INFO:predict:GLB model generation complete!
INFO:predict:Prediction complete! Returning results...
Version Details
Version ID
ef5f7aacc4779906d75e891763af9db45f061ea382e263081e2b1ed38a5d72da
Version Created
March 29, 2025
Run on Replicate →