Skip to main content
PATCH
/
v1
/
custom-voices
/
{voice_id}
Update cloned voice (partial update)
curl --request PATCH \
  --url https://supertoneapi.com/v1/custom-voices/{voice_id} \
  --header 'Content-Type: application/json' \
  --header 'x-sup-api-key: <api-key>' \
  --data '
{
  "name": "My Updated Voice",
  "description": "An updated warm and friendly voice for customer service"
}
'
{
  "voice_id": "voice_123456789",
  "name": "My Updated Voice",
  "description": "An updated warm and friendly voice for customer service"
}
このドキュメントは英語の原文から自動翻訳されています。表現に不自然な箇所がある場合があります。正確な内容は英語の原文もあわせてご確認ください。
既存のカスタムボイスのメタデータを更新します。基盤となるボイスモデルは再学習 されません。変更可能なのは namedescription のみです。

エンドポイント

PATCH https://supertoneapi.com/v1/custom-voices/{voice_id}

パスパラメータ

NameRequiredDescription
voice_id編集対象のカスタムボイスの ID です。

リクエストボディ

FieldRequiredDescription
name新しいボイス名です。最大 100 文字。
description新しい説明です。
少なくとも 1 つのフィールドを指定する必要があります。

注意事項

  • voice_id は変更されません。既存の参照は引き続き有効です。
  • ボイスが別アカウントに属している場合は 403 Forbidden を返します。

関連項目

Docs: Custom voices

カスタムボイスのライフサイクル全体。

Delete custom voice

カスタムボイスを完全に削除します。

Authorizations

x-sup-api-key
string
header
required

Path Parameters

voice_id
string
required

Body

application/json
name
string

Name of the voice

Example:

"My Updated Voice"

description
string

Description of the voice

Example:

"An updated warm and friendly voice for customer service"

Response

Voice updated successfully

voice_id
string
required

Unique identifier for the voice

Example:

"voice_123456789"

name
string
required

Name of the voice

Example:

"My Updated Voice"

description
string | null

Description of the voice

Example:

"An updated warm and friendly voice for customer service"