Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.20.0
metadata
title: SeqTex Texture Generator
emoji: 🎨
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 5.29.0
app_file: app.py
pinned: false
license: mit
short_description: Image-conditioned UV texture for GLB meshes via SeqTex
hardware: zero-gpu
models:
- VAST-AI/SeqTex-Transformer
tags:
- 3d
- texture-generation
- mesh
- diffusion
SeqTex Texture Generator
Upload an untextured GLB mesh and a reference image of your character's front view.
The pipeline will:
- Orient the mesh to Z-UP and normalize it to unit scale.
- Unwrap UVs with xAtlas if the mesh has none.
- Render geometry position and normal maps in multi-view and UV space.
- Run SeqTex to generate a full UV texture map conditioned on your image.
- Export a downloadable textured GLB shown in an interactive 3D viewport.
Recommended Space setup
- In Settings → Storage Buckets, mount a bucket at
/data. - In Settings → Variables and secrets, add
SEQTEX_SPACE_TOKENorHF_TOKEN. - Keep
AUTO_PREWARM=0while debugging startup. - Open the Cache / Startup tab and click Prepare cache now after the UI loads.
- Then use the Generate Texture tab.
Notes
- The ZeroGPU call duration is capped at 120 seconds in
app.py. ninjaandninja-buildare included becausenvdiffrastJIT-compiles a CUDA extension on first use.- The Storage Bucket cache paths are
/data/hf_home,/data/hf_home/hub,/data/torch, and/data/torch_extensions.
Credits
Model: VAST-AI/SeqTex-Transformer
Space utilities adapted from VAST-AI/SeqTex.