소스 정보
- 저장소
- loonghao/keentools_cloud_cli
- 최근 소스 활동
- 2026년 4월 24일 17:03
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/loonghao/keentools_cloud_cli --skill keentools-cloud명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | keentools-cloud |
| version | 0.1 |
| description | Unofficial CLI for KeenTools Cloud 3D Head Reconstruction API |
| disclaimer | Not affiliated with or endorsed by KeenTools. |
This file encodes invariants and usage patterns for AI agents.
Always read this file before using keentools-cloud in an automated pipeline.
export KEENTOOLS_API_TOKEN=your_token_here
export KEENTOOLS_API_URL=https://your-api-endpoint.example.com
Or store the token once:
keentools-cloud auth login <token>
--dry-run before any mutating operation (init, process, ephemeral).--output json in all automated pipelines. Non-TTY stdout defaults to JSON automatically.status --poll to wait for completion — never manually loop status without --poll.--blendshapes arkit,nose--blendshapes arkit --blendshapes nose ← causes API error.zip extension, then extract./info and /download return 404. Results are ONLY in the URLs you provided.| KEENTOOLS_API_TOKEN | API authentication token |
| KEENTOOLS_API_URL | API base URL (required) |
run for single-command convenience)keentools-cloud run photo1.jpg photo2.jpg photo3.jpg \
--output-path head.glb \
--blendshapes arkit,nose \
--texture jpg
# 1. Initialize — save the avatar_id
INIT=$(keentools-cloud init --count 3 --output json)
AVATAR_ID=$(echo "$INIT" | jq -r .avatar_id)
URLS=$(echo "$INIT" | jq -r '.upload_urls[]')
# 2. Upload photos (order must match)
keentools-cloud upload \
--avatar-id "$AVATAR_ID" \
--urls "$(echo "$INIT" | jq -r '.upload_urls | join(",")')" \
photo1.jpg photo2.jpg photo3.jpg
# 3. Start reconstruction
keentools-cloud process \
--avatar-id "$AVATAR_ID" \
--focal-length-type estimate-per-image
# 4. Wait for completion
keentools-cloud status --avatar-id "$AVATAR_ID" --poll
# 5. Download result
keentools-cloud download \
--avatar-id "$AVATAR_ID" \
--output-path head.glb \
--format glb \
--blendshapes arkit,nose \
--texture jpg \
--poll
keentools-cloud ephemeral \
--image-url https://your-bucket.s3.amazonaws.com/photo1.jpg \
--image-url https://your-bucket.s3.amazonaws.com/photo2.jpg \
--result-url glb:https://your-bucket.s3.amazonaws.com/result.glb?<presigned-put-params> \
--focal-length-type estimate-per-image \
--callback-url https://your-server.com/webhook
# Then poll status (download endpoint is unavailable in ephemeral mode)
keentools-cloud status --avatar-id <ID> --poll --output json
# List all commands
keentools-cloud schema
# Describe a specific command
keentools-cloud schema download
keentools-cloud schema run
| Scenario | Format |
|---|---|
| TTY (terminal) | Human-readable with colors |
| Non-TTY (pipe/redirect) | JSON (auto-detected) |
| Forced JSON | --output json |
JSON output is NDJSON (one object per line) when streaming multiple events (e.g., during run).
| Mode | When to use |
|---|---|
estimate-per-image | Mixed cameras, different zoom levels (safe default) |
estimate-common | Same camera/lens, all same resolution |
manual | Known exact values; provide --focal-lengths 24,28,35 |
Typical smartphone 35mm-equivalent: 24–28mm.
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | API or runtime error |
| 2 | Input validation error (bad avatar ID, path traversal, etc.) |
| 3 | Authentication error |