hugging-apps/direct-object-insertion
0
1---2title: DIRECT 3D-Aware Object Insertion3emoji: 🪑4colorFrom: gray5colorTo: red6sdk: gradio7sdk_version: 5.50.08app_file: app.py9short_description: 3D-aware object insertion with the DIRECT model (ICML 2026)10python_version: "3.10"11startup_duration_timeout: 1h12pinned: false13---14 15# DIRECT: Direct 3D-Aware Object Insertion via Decomposed Visual Proxies16 17Insert a reference object into a background scene with realistic, harmonized18results using the [DIRECT](https://huggingface.co/superGong/DIRECT) model19(ICML 2026), a FLUX.1-Fill-dev network guided by a decomposed visual proxy.20 21Upload a background image and an object image (its background is removed22automatically), choose where and how large to place the object, then click23**Insert**.24 25## Note on scope26 27The full paper uses an interactive 3D viewer (TRELLIS + Viser) so users can pose28a reconstructed 3D proxy of the object. That live 3D websocket viewer cannot run29inside a single-port Hugging Face Space, so this demo drives the same DIRECT30model with a simpler **2D placement** (position + scale) as its geometric31guidance. The insertion / harmonization is performed by the real DIRECT weights.32 33## Links34 35- Paper: https://arxiv.org/abs/2606.0660136- Project page: https://gong1130.github.io/DIRECT/37- Code: https://github.com/Gong1130/DIRECT38- Model weights: https://huggingface.co/superGong/DIRECT39 