Authorization notice. 4DAnyone is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer or artist who wants to see the generated views and camera layout before committing to a full pipeline run.
The problemReading cameras.json and folders of MP4 files by hand makes it hard to judge whether a camera layout suits the subject.
The outcomeA local web page at port 7860 showing the inference results for an existing output directory.
What you need first
- A CUDA-capable NVIDIA GPU (README cites peak use below 24 GB and an RTX 4090 benchmark)
- Git and conda installed
- A source video that is a single person, 1080p or higher, 9:16 portrait, at least 121 frames
- Permission to use the person shown in the source video
Steps
git clone https://github.com/ant-research/4DAnyone.gitcd 4DAnyonepip install -r requirements.txtpip install -r requirements-gui.txtpython app.py --output_dir "data/fdanyone/pexels/2785536-uhd_2160_3840_25fps" --server_port 7860(inferred, check the README)- Open http://127.0.0.1:7860 in your browser.
Prompt for your agent
In the 4DAnyone repo, run app.py with --output_dir set to <output_dir> and --server_port 7860, then confirm the Gradio page loads at http://127.0.0.1:7860. Expected output: an interactive view of the inference results. Verify that the output directory contains cameras.json and videos/ before launching.
Caveat. The README says the GUI needs requirements-gui.txt installed in the same 4danyone environment, and a remote GPU server needs an SSH port forward to reach the page.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ant-research/4DAnyone and "Preview camera layouts in a browser GUI"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer