用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/bloodf/durindoor --skill durindoor-tts命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Send chat and code-generation requests through DurinDoor using OpenAI or Anthropic request formats.
Generate vector embeddings through DurinDoor using a model discovered from /v1/models/embedding.
Generate images through DurinDoor with a model discovered from /v1/models/image.
基于 SOC 职业分类
正在显示 SKILL.md
| name | durindoor-tts |
| description | Convert text to speech through DurinDoor using a model discovered from /v1/models/tts. |
curl -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/tts" | jq -r '.data[].id'
MODEL_ID="$(curl -s -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/tts" | jq -r '.data[0].id')"
curl -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/info?id=$MODEL_ID"
Some providers expose voices separately:
curl -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/audio/voices?provider=edge-tts" | jq -r '.data[].model'
Use the exact model or voice ID returned by discovery. Do not add a provider prefix unless the response includes it.
curl -X POST "$DURINDOOR_URL/v1/audio/speech" \
-H "Authorization: Bearer $DURINDOOR_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\":\"$MODEL_ID\",\"input\":\"Hello world\"}" \
--output speech.mp3
The default response is raw audio. Use ?response_format=json for base64 JSON when supported.
Reference: https://github.com/bloodf/durindoor/blob/main/docs/reference/api.md