OpenParable
Skip to content
← Back to skills

Elevenlabs Model Update

Agent Building
elevenlabs-model-update

Elevenlabs Model Update is an Agent Skill for agent building published in the receptron/mulmocast-cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

ElevenLabs の新モデル追加時に使用。provider2agent.ts のモデルリスト更新とテストスクリプト更新を行う。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/receptron/mulmocast-cli/blob/HEAD/.claude/skills/elevenlabs-model-update/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/elevenlabs-model-update, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

ElevenLabs Model Update

ElevenLabs に新しい TTS モデルが追加された際の更新手順。

対象ファイル

ファイル変更内容
src/types/provider2agent.tsprovider2TTSAgent.elevenlabs.models 配列にモデル名を追加
scripts/test/test_elevenlabs_models.json新モデル用のテストビート(speaker + beat)を追加

手順

1. 新モデルの情報収集

ElevenLabs の公式ドキュメントで新モデルの仕様を確認する:

  • https://elevenlabs.io/docs/overview/models
  • エンドポイントが /v1/text-to-speech かどうか(別エンドポイントの場合は agent 側の対応が必要)
  • 対応言語数
  • 既存 voice との互換性

2. モデルリスト更新

src/types/provider2agent.ts の provider2TTSAgent.elevenlabs.models 配列に新モデルを追加する。 デフォルトモデルを変更する場合は defaultModel も更新。

3. テスト用 voice の選定

ElevenLabs は一部モデル(v3 等)で最適化済み voice を用意している場合がある。

Voice Slot の注意事項:

  • 各プランに voice slot 上限がある(Free: 3, Starter: 10, Creator: 30 等)
  • Voice Library の voice は 事前に My Voices に追加しないと使えない(API で voice_id を指定してもエラーになる)
  • Default/premade voice は slot を消費しない
  • API で voice を My Voices に追加する場合: POST /v1/voices/add/{public_user_id}/{voice_id}

アカウントの voice 一覧と対応モデルを確認するコマンド:

source .env
# 全 voice の対応モデル確認
curl -s "https://api.elevenlabs.io/v1/voices" -H "xi-api-key: $ELEVENLABS_API_KEY" \
  | jq '[.voices[] | {name, voice_id, category, high_quality_base_model_ids}]'

# 特定モデル(例: eleven_v3)対応の voice のみ
curl -s "https://api.elevenlabs.io/v1/voices" -H "xi-api-key: $ELEVENLABS_API_KEY" \
  | jq '[.voices[] | select(.high_quality_base_model_ids | contains(["eleven_v3"])) | {name, voice_id}]'

4. テストスクリプト更新

scripts/test/test_elevenlabs_models.json に以下を追加:

  • speechParams.speakers に新しい speaker エントリ(英語 + 日本語)
  • beats に対応するテストビート

5. 動作確認

yarn build
yarn cli movie scripts/test/test_elevenlabs_models.json -o output/elevenlabs-test

6. 確認しないモデルについて

以下のモデルは TTS エンドポイントではないため、ttsElevenlabsAgent の対象外:

  • eleven_ttv_v3: Voice Design 用(POST /v1/text-to-voice/design)。voice_id を生成するモデルで、TTS ではない

現在のモデル一覧

モデル名用途備考
eleven_v3最新 TTS70+ 言語、高感情表現
eleven_multilingual_v2TTS(デフォルト)29 言語
eleven_turbo_v2_5低レイテンシー TTS32 言語、250-300ms
eleven_turbo_v2低レイテンシー TTS英語のみ
eleven_flash_v2_5超低レイテンシー TTS32 言語、~75ms
eleven_flash_v2超低レイテンシー TTS英語のみ