Voice conversion

cosyvoice3-voice-conversion

Two clips. Source keeps the words. Reference is the new voice. No transcript and no new text.

Native waveform: Both clips converted to 24 kHz mono. Clips longer than 30 seconds are rejected.. Live price and availability are on GET /v1/models/cosyvoice3-voice-conversion.

  • No transcript and no new text. Source clip keeps the words. Reference clip is the new voice.
  • No extra knobs.
  • Keep each clip at or under 30 seconds.

Parameters

FieldTypeDescription
params.output_format
Default wav (flac for stems)
stringwav, flac, mp3, or model (the model native file).
params.output_sample_rate
Default source
string or integersource keeps the upload (or the model rate when there is no upload). model uses the model native rate. Or pass 8000, 16000, 22050, 24000, 32000, 44100, or 48000.
params.output_channels
Default source
stringsource, model, mono, or stereo. Applied after inference, not before.

Example

curl https://api.pascalai.co/v1/voice-conversion \
  -H "Authorization: Bearer $PASCAL_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F model=cosyvoice3-voice-conversion \
  -F params='{"output_format":"wav"}' \
  -F file=@source.wav \
  -F reference=@reference.wav

curl https://api.pascalai.co/v1/voice-conversion/$JOB_ID \
  -H "Authorization: Bearer $PASCAL_API_KEY"