---
name: "hf-space-facebook-map-anything"
description: "Use the Hugging Face Space facebook/map-anything."
metadata:
  source: huggingface-space
  spaceId: "facebook/map-anything"
  hubUrl: https://huggingface.co/spaces/facebook/map-anything
  agentsMdUrl: https://huggingface.co/spaces/facebook/map-anything/agents.md
  appUrl: https://facebook-map-anything.hf.space
---

# Hugging Face Space: facebook/map-anything

Use this skill when the user wants to use the Hugging Face Space `facebook/map-anything`.

- Space page: https://huggingface.co/spaces/facebook/map-anything
- App URL: https://facebook-map-anything.hf.space
- Source instructions: https://huggingface.co/spaces/facebook/map-anything/agents.md

## Space agent instructions

To use this application (facebook/map-anything: Convert images to 3D models and depth maps.):
API schema: GET https://facebook-map-anything.hf.space/gradio_api/info
Config (find fn_index): GET https://facebook-map-anything.hf.space/config → dependencies[i].id where api_name matches API schema endpoint
Join the queue: POST https://facebook-map-anything.hf.space/gradio_api/queue/join (pass {"data": [...], "fn_index": <from-config>, "session_hash": "<random-uuid>"})
Stream results: GET https://facebook-map-anything.hf.space/gradio_api/queue/data?session_hash=<same-uuid>
File inputs: POST https://facebook-map-anything.hf.space/gradio_api/upload -F "files=@file.ext", use as: {"path": "<returned-path>", "meta": {"_type": "gradio.FileData"}, "orig_name": "file.ext"}
Auth: Bearer $HF_TOKEN (https://huggingface.co/settings/tokens)
