Voice design

voxcpm2-voice-design

Free-form voice description, then speak text.

Native waveform: 48 kHz mono. Live price and availability are on GET /v1/models/voxcpm2-voice-design.

Parameters

FieldTypeDescription
params.cfg_value
Default 2
numberVoxCPM2 only. 1 to 3. Higher follows the text more tightly. Default 2.
params.inference_timesteps
Default 10
integerVoxCPM2 only. 4 to 30. More is usually cleaner and slower. Default 10.
params.seed
Default 0
integerVoxCPM2 only. Official generate seed. 0 is a new take each run. Same on speech, clone, design, and continuation. Does not change RTF.
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-design \
  -H "Authorization: Bearer $PASCAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "voxcpm2-voice-design",
  "text": "Keep walking toward the river.",
  "voice_description": "A calm adult narrator with a warm, clear voice.",
  "params": {
    "cfg_value": 2,
    "output_format": "wav"
  }
}'

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