箱尺深度分析API測試
上傳一張圖片以測試箱尺深度分析 API。
API 設定
1. 上傳或拍照
選擇要分析的圖片檔,或使用相機拍攝。
2. 請求與回應
查看請求結構和 API 的回應。
API 端點 URL: https://api.depth-analyzer.com/analyze-depth/
HTTP 請求方法: POST
請求格式:
Content-Type: multipart/form-data
請求體需要包含一個名為 "file" 的欄位,其值為要分析的圖片檔案。
範例請求 (使用 curl):
未啟用金鑰:
curl -X POST -F "file=@/path/to/your/image.jpg" https://api.depth-analyzer.com/analyze-depth/
已啟用金鑰:
curl -X POST -F "file=@/path/to/your/image.jpg" "https://api.depth-analyzer.com/analyze-depth/?key=你的金鑰"
(請將 /path/to/your/image.jpg 替換為實際圖片路徑)
API 回應
回應將顯示在此處...