The Autonomous Stack

Vision & AI · Visual Grounding · v2.1

NVIDIA Vision Bundle v2.1

Turnkey BYO-LLM vision agent. One-shot Debian install, autonomous visual grounding (LocateAnything) + diffusion decode (PiD), queue + retry + dead-letter, deterministic fallback.

$3.00one-timePay with crypto

agent api vision mcp a2a grounding detection diffusion super-resolution nvidia huggingface gradio-client

agent ⟶ theautonomousstack.xyz

01GET /api/v1/pack/locateanything-v1

402 Payment RequiredX-PAYMENT-REQUIRED

02sign TransferWithAuthorization3.00 USDC · Base (eip155:8453)

03GET + PAYMENT-SIGNATURE

200 OKapplication/zip · 27 files

pay per pack over x402no account

What's inside

Your agents need to see. Give them vision with a single call: upload an image, specify the objects you care about, get bounding boxes back as strict JSON. The included client is importable as a Python module, returns machine-parseable output on every call, and is designed to be wrapped as an agent tool (e.g. an MCP server) so LLM agents can discover and invoke it autonomously.

An unofficial, honest bundle of two NVIDIA research tools:

  1. LocateAnything — public HuggingFace Space client for visual grounding
  2. PiD — local Pixel Diffusion Decoder for high-resolution latent-to-image generation

Table of contents

Part A — LocateAnything Client

A production-ready Python client (client.py) + prompts + specs to locate any object in images or videos using natural language.

Use cases covered:

Architecture

┌─────────────────────────────────────────────────────────────┐
│                 LOCATEANYTHING CLIENT v1.0                   │
├─────────────────────────────────────────────────────────────┤
│  Your Machine          │   HuggingFace Space (nvidia)       │
│  ──────────────────────┼──────────────────────────────────  │
│  client.py             │   LocateAnything-3B model          │
│  ├─ image/video input  │   ├─ vision encoder                │
│  ├─ prompt / category  │   ├─ Parallel Box Decoding (PBD)   │
│  ├─ retry / timeout    │   └─ text decoder (Qwen 2.5 3B)    │
│  └─ JSON / annotated   │                                    │
│      media output      │   ZeroGPU (free tier)              │
└─────────────────────────────────────────────────────────────┘

One-shot install (LocateAnything)

unzip locateanything-v1.zip && cd locateanything-v1
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt

Quick start

1. Single image

python client.py image photo.jpg --category "car,person,dog" --mode box

Output:

Input : photo.jpg
Task  : Detection | Mode: hybrid | Category: car,person,dog
Found : 3 detection(s)
  - car                  box    coords=[512.0, 312.0, 892.0, 498.0]
  - person               box    coords=[120.0, 200.0, 220.0, 580.0]
  - dog                  box    coords=[400.0, 450.0, 520.0, 560.0]
Annotated image: /tmp/gradio/.../annotated.jpg

2. Single video

python client.py video clip.mp4 --category "cat" --mode point --max-video-frames 8

3. Batch folder

mkdir input output
cp *.jpg *.png input/
python client.py batch input/ -o output/

Every result is saved as {stem}_result.json and annotated media is copied to output/.

4. Custom prompt (grounding)

python client.py image scene.jpg \
  --task Grounding \
  --prompt "Locate the small blue cup on the top shelf"

Part B — PiD Local Setup

PiD (Pixel Diffusion Decoder) is a plug-and-play diffusion decoder that replaces VAE/RAE decoders, turning latent representations directly into super-resolved pixels in a single pass.

Supported backbones: FLUX, FLUX.2, SD3, SDXL, Z-Image, Z-Image-Turbo, DINOv2, SigLIP.

Hardware requirements (PiD)

Resolution VRAM minimum GPU example
2K (2048×2048) ~12 GB RTX 3090, RTX 4090
4K (up to 4096×4096) ~20 GB RTX 4090, A100

CPU-only is not supported for PiD inference.

One-shot install (PiD)

bash install_pid.sh

This script will:

  1. Check for CUDA availability
  2. Clone the official nv-tlabs/PiD repository
  3. Create a conda environment (pid)
  4. Install dependencies
  5. Download checkpoints from HuggingFace (nvidia/PiD)

Quick start (PiD)

Decode a latent to 2K image (FLUX backbone)

python pid_runner.py \
  --backbone flux \
  --pid_ckpt_type 2k \
  --input latent.pt \
  --output output_2k.png

Upsample an image through VAE → PiD (SDXL backbone)

python pid_runner.py \
  --backbone sdxl \
  --pid_ckpt_type 2kto4k \
  --input photo_1024.png \
  --output photo_4k.png

See SPEC.md for the full backbone/resolution matrix and PROMPTS.md for recommended parameter sets.

Honest limitations

Topic Reality
Hardware None required locally. The model runs on NVIDIA's HF Space.
Speed First call can take 10–60 s (Space cold-start on ZeroGPU).
Rate limits Free public Space — do not hammer it. Batch slowly.
Licence The underlying model is NVIDIA non-commercial. We do not redistribute it. This pack only calls the public demo.
Uptime No SLA. The Space may sleep after inactivity.
Privacy Images/videos are uploaded to the public Space. Do not send confidential data.
ZeroGPU free-tier block ⚠️ Known issue : The Space currently requests a GPU session duration (240 s) that exceeds the free-tier maximum on HuggingFace ZeroGPU. You may receive The requested GPU duration (240s) is larger than the maximum allowed. Workarounds: (1) HF PRO subscription increases quotas, (2) retry when the Space is warm, (3) run the model locally (see hardware requirements in SPEC.md).
PiD hardware NVIDIA GPU required (~12-20 GB VRAM). No CPU fallback. Check your hardware before purchasing if you only need LocateAnything.
PiD licence The PiD model weights are under NVIDIA non-commercial licence (research & non-profit only). We do not redistribute them; the install script downloads them from HuggingFace under your own account.

Files in this pack

File Purpose
README.md This file — architecture and quick-start for both tools
SOUL.md Mission, values, use-case map
SPEC.md Technical spec: API params, output schema, PiD backbones & checkpoints
PROMPTS.md Prompt templates (LocateAnything) + parameter recipes (PiD)
CHECKLIST.md Deployment checklist for both tools
client.py LocateAnything client script (CLI + importable module)
EXAMPLE.py LocateAnything batch pipeline example
requirements.txt LocateAnything Python dependencies
install_pid.sh PiD automated install script (conda, deps, checkpoints)
pid_runner.py PiD inference wrapper (CLI)
requirements_pid.txt PiD Python dependencies
locateanything-v1.json Machine-readable pack metadata