Skip to main content
skill CX Codex

depth-map-generation — Claude Code skill: depth maps from photos

depth-map-generation is a Claude Code skill that generates depth maps from photos via each::sense AI. Triggered by a prompt with an image, it returns a grayscale map for parallax animation, bokeh or AR.

no license 229 installs ★ 48 updated 2026-10-07

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add eachlabs/skills --skill depth-map-generation -a claude-code
Open on GitHub

What depth-map-generation does

Takes an image URL, sends a request to the each::sense API and returns a depth map — white for foreground, black for distant areas. Handles portraits (with precise hair and face edges), landscapes (with foreground, midground and background separation), product shots and interiors.

Requires the EACHLABS_API_KEY for each::sense access. Output formats: 8-bit grayscale, inverse grayscale, normalized 0–1 values or metric distance estimation. No FFmpeg or Python dependencies — works via HTTP requests to a remote API.

Supports metric depth estimation for AR/VR apps and clear layer separation for parallax effects. For portraits, outputs data suitable for bokeh; for architectural shots, captures spatial relationships between objects.

What it helps with

  • generate a depth map from a photo for a 3D effect
  • extract depth data from a portrait for bokeh
  • split a landscape into foreground, midground and background layers
  • obtain metric scene depth for placing AR objects
  • prepare a product depth map for interactive 3D viewing

Example prompts for the agent

  • Build a depth map from photo.jpg, white for foreground, black for background.
  • Make a depth map for portrait portrait.jpg with precise hair and face edges for bokeh.
  • Extract a depth map from landscape.jpg, separating foreground, midground mountains and distant background.

How to install depth-map-generation

1Skills CLI (Vercel)

npx skills add eachlabs/skills --skill depth-map-generation -a claude-code

2Manually: put the files in place

~/.claude/skills/depth-map-generation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/depth-map-generation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about depth-map-generation

How to install depth-map-generation in Claude Code?

Run npx skills add eachlabs/skills --skill depth-map-generation -a claude-code, then open ~/.claude/skills/depth-map-generation/SKILL.md.

What does depth-map-generation do?

Generates depth maps from regular photos via each::sense AI. Returns a grayscale image where brightness encodes distance to the camera — for parallax, bokeh, AR or stereo pairs.

What does depth-map-generation require to work?

The EACHLABS_API_KEY for each::sense API access. The skill works via HTTP requests, no additional libraries needed.

Similar skills

All skills for AI and ML →
lingbot-map-3d-reconstruction reason-machines lingbot-map-3d-reconstruction — a skill for Claude Code, Codex, Cursor and other AI coding platforms that runs the LingBot-Map model — a feed-forward neural network for streaming 3D scene reconstruction from video and image sequences. CX Codex +1 426installs stable-diffusion-image-generation Orchestra Research Walks your agent through Stable Diffusion image generation with HuggingFace Diffusers: text-to-image, img2img, inpainting, ControlNet. CX Codex +1 1,200installs tao-train-foundation-stereo NVIDIA Corporation tao-train-foundation-stereo is a Claude Code skill for training and running FoundationStereo on stereo image pairs, producing disparity maps for 3D reconstruction. CX Codex +1 1,600installs add-mouse-driven-orbit MengTo add-mouse-driven-orbit adds subtle mouse-driven orbit and parallax to Three.js hero sections without OrbitControls. Useful for cinematic headers that react to cursor movement. CX Codex +1 1,500installs scenario-blender-2d-animation scenario-labs scenario-blender-2d-animation — a skill for Claude Code that automates 2D scene creation in Blender using images generated in Scenario. Use it when building animations, game trailers, or parallax cutscenes. CX Codex +1 589installs tao-train-fast-foundation-stereo NVIDIA Corporation tao-train-fast-foundation-stereo is a skill for training and evaluating FastFoundationStereo, exporting the model and running inference to produce disparity maps from stereo pairs. CX Codex +1 1,600installs

From the same set102

The whole set →
AI Influencer Generation AI Influencer Generation creates consistent virtual influencer personas and social content through the each::sense API. Use it for social posts, stories, product features, and virtual models. CX Codex +1 233installs video-noise-reduction video-noise-reduction strips noise and grain from video through each::sense: dim footage, high ISO, security cams, old tapes. Runs over the API with an EACHLABS_API_KEY. CX Codex +1 233installs image-outpainting image-outpainting paints new content beyond a photo's borders through each::sense: wider frames, other aspect ratios, room for banner text. CX Codex +1 232installs discord-graphics-generation discord-graphics-generation generates Discord server assets via each::sense AI, strictly adhering to platform dimensions for icons, banners, role badges, and emojis. CX Codex +1 230installs certificate-generation certificate-generation is a Claude Code skill that creates certificate, diploma, and award images with each::sense AI. Describe the document type, details, and visual treatment. CX Codex +1 228installs each-sense Use the skill to request images, video, audio, and 3D assets through each::sense. It fits projects that need generated creative material or workflows spanning several models. CX Codex +1 227installs tattoo-design-generation tattoo-design-generation is a Claude Code skill that generates tattoo concepts from a description, style, and placement. It helps explore an idea before developing it further. CX Codex +1 225installs email-banner-generation email-banner-generation generates marketing email headers and banners using each::sense AI, strictly adhering to the 600px email-safe standard. CX Codex +1 224installs

Project sponsors

Companies that keep this analytics open