Text to speech

deepgram-flux

Flux speech. $45 per million characters. Every published Flux voice.

The call is Pascal’s. Send Authorization: Bearer with a Pascal key, and Pascal’s body: model, the file or the text, and params. Inside params, a Pascal name and the provider’s own name are both accepted. If both are sent and they disagree, the request is rejected. The provider’s SDK and host are not this API. The API request fee is not charged. A studio call needs a Creator plan or an API balance.

Native waveform: Voice ids look like flux-alexis-en. Served on Deepgram’s current speak API.. Live price and availability are on GET /v1/models/deepgram-flux.

  • $45 per million characters.

Parameters

FieldTypeDescription
params.model
Default flux-alexis-en
stringFlux voice id. voice is the same field.
params.speednumberFrom 0.5 to 1.5.
params.expressivityintegerFrom -2 calm to 2 animated.

Example

curl https://api.pascalai.co/v1/text-to-speech \
  -H "Authorization: Bearer $PASCAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "deepgram-flux",
  "text": "Hello from Pascal.",
  "params": {
    "model": "flux-alexis-en",
    "expressivity": 0
  }
}'

curl https://api.pascalai.co/v1/text-to-speech/$JOB_ID \
  -H "Authorization: Bearer $PASCAL_API_KEY"