Voice Cloneのロゴ

Voice Clone

組織
marswaveai
voice-clone

参考音声から声をクローンし、再利用できる非公開のListenHub話者として登録して、ナレーションに使います。次のような依頼で起動します:「克隆我的声音」「克隆音色」「声音克隆」「语音克隆」「用我的声音」「自定义音色」「复刻声音」「clone my voice」「voice clone」「custom voice」「my own voice」。

Add to TypingMind

概要

公開者marswaveai
リポジトリskills
スキル名voice-clone
スター
82
フォーク
3
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    marswaveaiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Voice Clone」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/marswaveai/skills/tree/main/voice-clone
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/marswaveai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/voice-clone .claude/skills/voice-clone
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでVoice Cloneを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にVoice Cloneを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Voice Cloneは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

When to Use

  • User wants to clone a voice from a recording and keep it for later use
  • User says "用我自己的声音朗读", "克隆我的声音", "clone my voice", "custom voice"
  • User wants to manage voices they already cloned (list, rename, delete)
  • User hit the voice limit and needs to free a slot

When NOT to Use

  • User wants a one-off reference-audio clone inside a single generation, with nothing stored — use /listenhub-voice with a reference voice instead
  • User just wants an existing ListenHub voice to read text (use /tts)
  • User wants a podcast, explainer video, music, or AI video (use those skills)

/listenhub-voice vs /voice-clone: /listenhub-voice clones a voice for that one request from a public audio URL and stores nothing. /voice-clone creates a persistent private speaker with its own speaker ID that works in /tts, /podcast, and every other ListenHub surface — at the cost of a confirmation step, a plan quota, and a stored voice slot.

Purpose

Turn 1–6 reference audio files into a reusable private voice:

  1. Create — upload the reference audio; the task clones a temporary voice.
  2. Poll — wait for cloning to finish and listen to the preview.
  3. Confirm — name the voice and keep it. Only then does it become a permanent speaker.

Confirming is what costs: free within the plan's per-period quota, then 300 credits each, and only when the user explicitly authorizes the charge. Unconfirmed tasks expire after 7 days.

Hard Constraints

  • Always check CLI auth following shared/cli-authentication.md
  • Follow shared/cli-patterns.md for CLI execution, errors, and interaction patterns
  • Always read config following shared/config-pattern.md before any interaction
  • Never confirm a voice without the user's explicit go-ahead — confirming can spend 300 credits. Show the preview first, then ask.
  • Never pass --use-credits unless the user said yes to spending credits in this conversation. Without it the server refuses to charge, which is the safe default.
  • Never clone a voice the user does not have consent for. If the recording is not the user's own voice, ask whether they have the speaker's permission before uploading, and stop if they do not.
  • Never invent a speaker ID — read it back from voice-clone speakers after confirming
  • Never expose provider names, internal task states, DAO, MongoDB, or credential details

Prerequisites

bash
listenhub auth status --json

Handle install/login automatically per shared/cli-authentication.md. Voice cloning requires a paid plan — a free account gets an upgrade error at the confirm step.

Workflow

Step 1 — Collect the reference audio

Ask for the audio file path(s) if the user did not provide one. Accept 1–6 local files (.mp3, .wav, .m4a, .flac, .ogg, .aac); a single file is the common case.

Limits worth stating up front: single file ≤5MB, ≤20MB total. Clean speech with no background music clones best.

Step 2 — Confirm consent

If the recording is not the user's own voice, ask whether they have the speaker's permission. Stop if they do not — cloning someone's voice without consent is not something to work around.

Step 3 — Pick the language

Ask which language the recording is in: zh or en.

Step 4 — Create and wait

bash
listenhub voice-clone create --file <path> --lang <zh|en> --json

Repeat --file for multiple files. The command polls until cloning finishes and returns demoAudioUrl, a preview of the temporary voice. --no-wait returns the task ID immediately; listenhub voice-clone get <taskId> --json checks it later.

If the task fails, report the reason plainly — usually the audio was too short, too long, or had no clear speech — and offer to retry with a different recording.

Step 5 — Preview, then ask before keeping it

Give the user the preview URL and ask whether to keep this voice. Do not confirm on your own initiative.

If they want to keep it, ask for a name (max 50 chars) and gender (male / female / other), then:

bash
listenhub voice-clone confirm --task-id <taskId> --name "<name>" --gender <gender> --json

If the response says the quota is used up and 300 credits are needed, ask the user before spending them. Only after an explicit yes:

bash
listenhub voice-clone confirm --task-id <taskId> --name "<name>" --gender <gender> --use-credits --json

Step 6 — Hand back the speaker ID

bash
listenhub voice-clone speakers --json

Read the new voice's speakerInnerId from the list and tell the user they can now use it anywhere a voice is expected, for example:

bash
listenhub tts create --text "..." --speaker-id <speakerInnerId>

Managing Cloned Voices

GoalCommand
List voices, quota, remaining confirmationslistenhub voice-clone speakers --json
Inspect one voicelistenhub voice-clone speaker <speakerId> --json
Rename / change genderlistenhub voice-clone update <speakerId> --name "<name>" --gender <gender> --json
Delete a voice (frees a slot)listenhub voice-clone delete <speakerId> --json

speakers returns maxSpeakers (how many voices the plan may keep at once) and remainingConfirmations (how many more confirmations this period includes). When the user is at maxSpeakers, ask which existing voice to delete before cloning another — deleting frees a slot but does not refund confirmations already spent.

Error Handling

SymptomWhat it meansWhat to do
Upgrade requiredVoice cloning needs a paid planTell the user; do not retry
Credits requiredQuota used up, charge not authorizedAsk before re-running with --use-credits
Voice limit reachedPlan already holds maxSpeakers voicesOffer to list and delete one
Already confirmedThe task was confirmed beforeRead the speaker ID from voice-clone speakers — nothing was charged twice
No speech detected / duration invalidReference audio unusableAsk for a cleaner or longer recording
Busy / temporarily unavailableAnother confirmation is in flight, or a transient failureWait a few seconds and retry the same command

Notes

  • The openapi command group offers the same flow for API-key users, plus Japanese and a one-shot --auto-confirm mode: listenhub openapi voice-clone create --consent .... Prefer the logged-in commands above unless the user is explicitly working with an API key.
  • Cloned voices are private to the account and appear alongside official voices when listing speakers.

よくある質問

AIスキル「Voice Clone」では何ができますか?

参考音声から声をクローンし、再利用できる非公開のListenHub話者として登録して、ナレーションに使います。次のような依頼で起動します:「克隆我的声音」「克隆音色」「声音克隆」「语音克隆」「用我的声音」「自定义音色」「复刻声音」「clone my voice」「voice clone」「custom voice」「my own voice」。

TypingMindでVoice Cloneを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Voice Cloneはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVoice Cloneをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/marswaveai/skills/tree/main/voice-cloneを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Voice Cloneを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Voice Cloneで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもVoice Cloneを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Voice Clone」は無料ですか?

はい。marswaveaiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇