メインコンテンツへスキップ
POST
Voice Changer (Bytes)

承認

X-API-Key
string
header
必須

ヘッダー

Cartesia-Version
enum<string>
必須

API version header.

利用可能なオプション:
2024-06-10
:

"2024-06-10"

ボディ

multipart/form-data
clip
file

Supported audio formats: flac, mp3, mpeg, mpga, oga, ogg, wav, webm

voice[id]
string
output_format[container]
enum<string>
利用可能なオプション:
raw,
wav,
mp3
output_format[sample_rate]
integer

The sample rate of the output audio in Hz. Supported sample rates are 8000, 16000, 22050, 24000, 44100, 48000.

output_format[encoding]
enum<string> | null

Required for raw and wav containers.

利用可能なオプション:
pcm_f32le,
pcm_s16le,
pcm_mulaw,
pcm_alaw
output_format[bit_rate]
integer | null

Required for mp3 containers.

レスポンス

200 - audio/*

Audio bytes

The response is of type file.