{
  "schemaVersion": "1.0",
  "item": {
    "slug": "depth-map-generation",
    "name": "Depth Map Generation",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/eftalyurtseven/depth-map-generation",
    "canonicalUrl": "https://clawhub.ai/eftalyurtseven/depth-map-generation",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/depth-map-generation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=depth-map-generation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/SSE-EVENTS.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/depth-map-generation"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/depth-map-generation",
    "agentPageUrl": "https://openagent3.xyz/skills/depth-map-generation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/depth-map-generation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/depth-map-generation/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Depth Map Generation",
        "body": "Generate accurate depth maps from any image using each::sense. This skill extracts depth information from 2D images for 3D effects, parallax animations, VR/AR applications, computational photography, and more."
      },
      {
        "title": "Features",
        "body": "Monocular Depth Estimation: Extract depth from single images\nPortrait Depth Maps: Precise depth for portrait photography effects\nLandscape Depth: Scene depth for panoramic and landscape images\nProduct Depth: 3D-ready depth maps for e-commerce\nArchitectural Depth: Building and interior depth analysis\n3D Parallax Effects: Depth data for Ken Burns-style animations\nVR/AR Depth: Real-time depth estimation for immersive experiences\nStereo Image Generation: Convert 2D to stereoscopic 3D\nFocus Stacking: Depth-based focus plane selection\nBackground Blur: Depth-aware bokeh and blur effects"
      },
      {
        "title": "Quick Start",
        "body": "curl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo\",\n    \"image_urls\": [\"https://example.com/photo.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "Depth Map Output Formats",
        "body": "FormatDescriptionUse CaseGrayscale8-bit depth (white=near, black=far)General purpose, visualizationInverse Grayscale8-bit depth (black=near, white=far)Some 3D software compatibilityNormalized0-1 range depth valuesMachine learning pipelinesMetricReal-world distance estimationAR/VR, robotics"
      },
      {
        "title": "1. Generate Depth Map from Photo",
        "body": "Basic depth extraction from any image.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this image. Output as grayscale where white represents closer objects and black represents distant objects.\",\n    \"image_urls\": [\"https://example.com/scene.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "2. Portrait Depth Map",
        "body": "Extract precise depth from portrait photos for bokeh effects and 3D portraits.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Create a high-precision depth map from this portrait photo. Focus on accurate edge detection around the subject, especially hair and facial features. I need this for applying realistic depth-of-field effects.\",\n    \"image_urls\": [\"https://example.com/portrait.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "3. Landscape Depth Map",
        "body": "Generate depth from landscape and outdoor scenes with extended depth range.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this landscape photo. The scene has foreground elements, mid-ground terrain, and distant mountains. Capture the full depth range from near to far with good separation between depth layers.\",\n    \"image_urls\": [\"https://example.com/landscape.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "4. Product Depth for 3D Effect",
        "body": "Create depth maps for product images to enable 3D viewing experiences.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Extract a depth map from this product photo. I need accurate depth information to create a 3D interactive view for an e-commerce website. Focus on capturing the product shape and surface details.\",\n    \"image_urls\": [\"https://example.com/product-sneaker.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "5. Architectural Depth Map",
        "body": "Generate depth from architectural and interior photos for visualization.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Create a depth map from this interior architecture photo. Capture the spatial relationships between walls, furniture, and architectural elements. I need this for a virtual tour with depth-based transitions.\",\n    \"image_urls\": [\"https://example.com/interior.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "6. 3D Parallax Effect Creation",
        "body": "Generate depth maps optimized for creating parallax animations and Ken Burns effects.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo that I will use for a 3D parallax animation. I need clear depth separation between foreground, midground, and background elements. The depth should be smooth with distinct layers for a compelling parallax effect.\",\n    \"image_urls\": [\"https://example.com/scene-for-parallax.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "7. VR/AR Depth Estimation",
        "body": "Create depth maps suitable for virtual and augmented reality applications.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this room photo for AR/VR use. I need metric depth estimation that accurately represents real-world distances. This will be used for placing virtual objects in an augmented reality application.\",\n    \"image_urls\": [\"https://example.com/room.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "8. Stereo Image Generation",
        "body": "Convert 2D images to stereoscopic 3D using depth estimation.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo and use it to create a stereoscopic 3D image pair (left and right eye views). The stereo effect should be subtle enough for comfortable viewing but noticeable enough to create depth perception.\",\n    \"image_urls\": [\"https://example.com/photo-for-stereo.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "9. Focus Stacking Depth",
        "body": "Generate depth maps for computational focus stacking and all-in-focus composites.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Create a depth map from this macro/close-up photo. I need precise depth information to identify focus planes for computational focus stacking. Each depth layer should be clearly defined so I can select which areas should be in focus.\",\n    \"image_urls\": [\"https://example.com/macro-photo.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "10. Depth-Aware Background Blur",
        "body": "Generate depth for applying realistic bokeh and background blur effects.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo for applying depth-aware background blur. The subject in the foreground should be clearly separated from the background. I need accurate edge detection so the blur transition looks natural, similar to a portrait mode effect.\",\n    \"image_urls\": [\"https://example.com/photo-for-blur.jpg\"],\n    \"mode\": \"max\"\n  }'"
      },
      {
        "title": "Multi-Turn Depth Processing",
        "body": "Use session_id to refine depth maps or process multiple related images:\n\n# Initial depth estimation\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo\",\n    \"image_urls\": [\"https://example.com/scene.jpg\"],\n    \"session_id\": \"depth-project-001\"\n  }'\n\n# Refine the depth map\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"The depth map looks good but can you enhance the edge detection around the main subject? The boundaries are a bit fuzzy.\",\n    \"session_id\": \"depth-project-001\"\n  }'\n\n# Apply the depth map for an effect\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Now use this depth map to create a 3D parallax video animation with subtle camera movement\",\n    \"session_id\": \"depth-project-001\"\n  }'"
      },
      {
        "title": "Batch Depth Processing",
        "body": "Process multiple images for consistent depth estimation:\n\n# Process first image\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this product photo. I will be sending more product images that need consistent depth estimation.\",\n    \"image_urls\": [\"https://example.com/product1.jpg\"],\n    \"session_id\": \"product-depth-batch\",\n    \"mode\": \"eco\"\n  }'\n\n# Process second image with same settings\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate depth map for this product using the same approach as before\",\n    \"image_urls\": [\"https://example.com/product2.jpg\"],\n    \"session_id\": \"product-depth-batch\",\n    \"mode\": \"eco\"\n  }'"
      },
      {
        "title": "Mode Selection",
        "body": "ModeBest ForSpeedQualitymaxFinal production depth maps, VR/AR applications, professional compositingSlowerHighest precisionecoQuick previews, batch processing, prototypingFasterGood quality\n\nRecommendation: Use max mode when depth accuracy is critical (VR/AR, 3D conversion, professional compositing). Use eco mode for rapid iteration and batch processing."
      },
      {
        "title": "Input Image Quality",
        "body": "Resolution: Higher resolution inputs produce more detailed depth maps\nLighting: Even lighting helps with accurate depth estimation\nContrast: Clear contrast between objects improves depth separation\nFocus: Sharp images yield better edge detection in depth maps"
      },
      {
        "title": "Depth Map Applications",
        "body": "Parallax Effects: Use 3-5 distinct depth layers for best results\nBokeh/Blur: Ensure clean subject edges for natural blur falloff\n3D Conversion: Provide context about scene scale for metric depth\nVR/AR: Request metric depth for real-world distance accuracy"
      },
      {
        "title": "Prompt Tips",
        "body": "Specify output format: Grayscale, normalized, or metric depth\nDescribe the scene: Help the model understand spatial relationships\nState your use case: Different applications benefit from different depth characteristics\nRequest edge quality: Specify if you need sharp or smooth depth transitions"
      },
      {
        "title": "Error Handling",
        "body": "ErrorCauseSolutionFailed to create prediction: HTTP 422Insufficient balanceTop up at eachlabs.aiImage loading failedInvalid or inaccessible image URLVerify image URL is publicly accessibleTimeoutComplex or high-resolution imageSet client timeout to minimum 10 minutesLow quality depth outputPoor input image qualityUse higher resolution, better lit source image"
      },
      {
        "title": "Technical Notes",
        "body": "Client Timeout: Set your HTTP client timeout to minimum 10 minutes for complex depth estimation\nImage Formats: Supports JPEG, PNG, WebP input images\nOutput Format: Depth maps are typically output as grayscale PNG images\nDepth Range: Relative depth (0-1) by default; metric depth available on request"
      },
      {
        "title": "Related Skills",
        "body": "each-sense - Core API documentation\nimage-to-3d - Full 3D model generation from images\nimage-editing - Apply depth-based effects to images\nvideo-generation - Create parallax videos from depth maps"
      }
    ],
    "body": "Depth Map Generation\n\nGenerate accurate depth maps from any image using each::sense. This skill extracts depth information from 2D images for 3D effects, parallax animations, VR/AR applications, computational photography, and more.\n\nFeatures\nMonocular Depth Estimation: Extract depth from single images\nPortrait Depth Maps: Precise depth for portrait photography effects\nLandscape Depth: Scene depth for panoramic and landscape images\nProduct Depth: 3D-ready depth maps for e-commerce\nArchitectural Depth: Building and interior depth analysis\n3D Parallax Effects: Depth data for Ken Burns-style animations\nVR/AR Depth: Real-time depth estimation for immersive experiences\nStereo Image Generation: Convert 2D to stereoscopic 3D\nFocus Stacking: Depth-based focus plane selection\nBackground Blur: Depth-aware bokeh and blur effects\nQuick Start\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo\",\n    \"image_urls\": [\"https://example.com/photo.jpg\"],\n    \"mode\": \"max\"\n  }'\n\nDepth Map Output Formats\nFormat\tDescription\tUse Case\nGrayscale\t8-bit depth (white=near, black=far)\tGeneral purpose, visualization\nInverse Grayscale\t8-bit depth (black=near, white=far)\tSome 3D software compatibility\nNormalized\t0-1 range depth values\tMachine learning pipelines\nMetric\tReal-world distance estimation\tAR/VR, robotics\nUse Case Examples\n1. Generate Depth Map from Photo\n\nBasic depth extraction from any image.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this image. Output as grayscale where white represents closer objects and black represents distant objects.\",\n    \"image_urls\": [\"https://example.com/scene.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n2. Portrait Depth Map\n\nExtract precise depth from portrait photos for bokeh effects and 3D portraits.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Create a high-precision depth map from this portrait photo. Focus on accurate edge detection around the subject, especially hair and facial features. I need this for applying realistic depth-of-field effects.\",\n    \"image_urls\": [\"https://example.com/portrait.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n3. Landscape Depth Map\n\nGenerate depth from landscape and outdoor scenes with extended depth range.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this landscape photo. The scene has foreground elements, mid-ground terrain, and distant mountains. Capture the full depth range from near to far with good separation between depth layers.\",\n    \"image_urls\": [\"https://example.com/landscape.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n4. Product Depth for 3D Effect\n\nCreate depth maps for product images to enable 3D viewing experiences.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Extract a depth map from this product photo. I need accurate depth information to create a 3D interactive view for an e-commerce website. Focus on capturing the product shape and surface details.\",\n    \"image_urls\": [\"https://example.com/product-sneaker.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n5. Architectural Depth Map\n\nGenerate depth from architectural and interior photos for visualization.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Create a depth map from this interior architecture photo. Capture the spatial relationships between walls, furniture, and architectural elements. I need this for a virtual tour with depth-based transitions.\",\n    \"image_urls\": [\"https://example.com/interior.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n6. 3D Parallax Effect Creation\n\nGenerate depth maps optimized for creating parallax animations and Ken Burns effects.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo that I will use for a 3D parallax animation. I need clear depth separation between foreground, midground, and background elements. The depth should be smooth with distinct layers for a compelling parallax effect.\",\n    \"image_urls\": [\"https://example.com/scene-for-parallax.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n7. VR/AR Depth Estimation\n\nCreate depth maps suitable for virtual and augmented reality applications.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this room photo for AR/VR use. I need metric depth estimation that accurately represents real-world distances. This will be used for placing virtual objects in an augmented reality application.\",\n    \"image_urls\": [\"https://example.com/room.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n8. Stereo Image Generation\n\nConvert 2D images to stereoscopic 3D using depth estimation.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo and use it to create a stereoscopic 3D image pair (left and right eye views). The stereo effect should be subtle enough for comfortable viewing but noticeable enough to create depth perception.\",\n    \"image_urls\": [\"https://example.com/photo-for-stereo.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n9. Focus Stacking Depth\n\nGenerate depth maps for computational focus stacking and all-in-focus composites.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Create a depth map from this macro/close-up photo. I need precise depth information to identify focus planes for computational focus stacking. Each depth layer should be clearly defined so I can select which areas should be in focus.\",\n    \"image_urls\": [\"https://example.com/macro-photo.jpg\"],\n    \"mode\": \"max\"\n  }'\n\n10. Depth-Aware Background Blur\n\nGenerate depth for applying realistic bokeh and background blur effects.\n\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo for applying depth-aware background blur. The subject in the foreground should be clearly separated from the background. I need accurate edge detection so the blur transition looks natural, similar to a portrait mode effect.\",\n    \"image_urls\": [\"https://example.com/photo-for-blur.jpg\"],\n    \"mode\": \"max\"\n  }'\n\nMulti-Turn Depth Processing\n\nUse session_id to refine depth maps or process multiple related images:\n\n# Initial depth estimation\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this photo\",\n    \"image_urls\": [\"https://example.com/scene.jpg\"],\n    \"session_id\": \"depth-project-001\"\n  }'\n\n# Refine the depth map\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"The depth map looks good but can you enhance the edge detection around the main subject? The boundaries are a bit fuzzy.\",\n    \"session_id\": \"depth-project-001\"\n  }'\n\n# Apply the depth map for an effect\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Now use this depth map to create a 3D parallax video animation with subtle camera movement\",\n    \"session_id\": \"depth-project-001\"\n  }'\n\nBatch Depth Processing\n\nProcess multiple images for consistent depth estimation:\n\n# Process first image\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate a depth map from this product photo. I will be sending more product images that need consistent depth estimation.\",\n    \"image_urls\": [\"https://example.com/product1.jpg\"],\n    \"session_id\": \"product-depth-batch\",\n    \"mode\": \"eco\"\n  }'\n\n# Process second image with same settings\ncurl -X POST https://sense.eachlabs.run/chat \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $EACHLABS_API_KEY\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\n    \"message\": \"Generate depth map for this product using the same approach as before\",\n    \"image_urls\": [\"https://example.com/product2.jpg\"],\n    \"session_id\": \"product-depth-batch\",\n    \"mode\": \"eco\"\n  }'\n\nMode Selection\nMode\tBest For\tSpeed\tQuality\nmax\tFinal production depth maps, VR/AR applications, professional compositing\tSlower\tHighest precision\neco\tQuick previews, batch processing, prototyping\tFaster\tGood quality\n\nRecommendation: Use max mode when depth accuracy is critical (VR/AR, 3D conversion, professional compositing). Use eco mode for rapid iteration and batch processing.\n\nBest Practices\nInput Image Quality\nResolution: Higher resolution inputs produce more detailed depth maps\nLighting: Even lighting helps with accurate depth estimation\nContrast: Clear contrast between objects improves depth separation\nFocus: Sharp images yield better edge detection in depth maps\nDepth Map Applications\nParallax Effects: Use 3-5 distinct depth layers for best results\nBokeh/Blur: Ensure clean subject edges for natural blur falloff\n3D Conversion: Provide context about scene scale for metric depth\nVR/AR: Request metric depth for real-world distance accuracy\nPrompt Tips\nSpecify output format: Grayscale, normalized, or metric depth\nDescribe the scene: Help the model understand spatial relationships\nState your use case: Different applications benefit from different depth characteristics\nRequest edge quality: Specify if you need sharp or smooth depth transitions\nError Handling\nError\tCause\tSolution\nFailed to create prediction: HTTP 422\tInsufficient balance\tTop up at eachlabs.ai\nImage loading failed\tInvalid or inaccessible image URL\tVerify image URL is publicly accessible\nTimeout\tComplex or high-resolution image\tSet client timeout to minimum 10 minutes\nLow quality depth output\tPoor input image quality\tUse higher resolution, better lit source image\nTechnical Notes\nClient Timeout: Set your HTTP client timeout to minimum 10 minutes for complex depth estimation\nImage Formats: Supports JPEG, PNG, WebP input images\nOutput Format: Depth maps are typically output as grayscale PNG images\nDepth Range: Relative depth (0-1) by default; metric depth available on request\nRelated Skills\neach-sense - Core API documentation\nimage-to-3d - Full 3D model generation from images\nimage-editing - Apply depth-based effects to images\nvideo-generation - Create parallax videos from depth maps"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/eftalyurtseven/depth-map-generation",
    "publisherUrl": "https://clawhub.ai/eftalyurtseven/depth-map-generation",
    "owner": "eftalyurtseven",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/depth-map-generation",
    "downloadUrl": "https://openagent3.xyz/downloads/depth-map-generation",
    "agentUrl": "https://openagent3.xyz/skills/depth-map-generation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/depth-map-generation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/depth-map-generation/agent.md"
  }
}