Custom Credentials (Recommended) — Reference a credential by ID for better security:
{
"voice": {
"provider": "custom-voice",
"server": {
"url": "https://your-tts-api.com/synthesize",
"credentialId": "cred_tts_auth_123",
"timeoutSeconds": 30
}
}
}
Legacy inline authentication — Pass headers and a secret directly in the config:
{
"voice": {
"provider": "custom-voice",
"server": {
"url": "https://your-tts-api.com/synthesize",
"secret": "your-secret-token",
"headers": {
"X-API-Version": "v1",
"X-Client-ID": "sulus-integration"
}
}
}
}