Skip to main content

Adding models

Add Resemble AI Text-to-Speech to the AI Gateway using Custom Endpoints.
1

Create a Custom Endpoint provider account

In the TrueFoundry dashboard, go to AI GatewayModelsCustom Endpoints and click Add Custom Endpoint.In Configure Account, set:
  • Name: any unique name (this becomes {providerAccountName} in the URL)
  • Endpoint Type: None (or any value you use for tracking)
  • Header Auth: keep disabled
Create a Custom Endpoint provider account

Custom Endpoints — create a provider account

2

Add a Resemble AI TTS endpoint

Click Add Endpoint (or Add Endpoint from the list view) and configure the integration:
  • Display Name: any name (this becomes {endpointName} in the URL)
  • Base URL: https://f.cluster.resemble.ai/synthesize
Enable Custom Headers and add:
  • Content-Type: application/json
  • Authorization: Bearer <resemble-api-token>
Custom Endpoint form for Resemble AI with Base URL and custom headers

Endpoint settings — Base URL and upstream headers

This Authorization header is sent from the gateway to Resemble AI. Your client should only send the TrueFoundry API key to the gateway.
3

Set access control and save

On the Access Control step, add the users/teams who can view/use this provider account, then Save.
Access control step showing who can edit and who can access

Access Control — grant access to users/teams

Custom Endpoints list showing resemble-tts-model

Custom Endpoints list with the Resemble AI endpoint added

Inference

Once saved, call your endpoint through the gateway’s proxy-api path. URL shape and path rules are documented under Custom Endpoints.

Supported APIs

Before you start: Replace {GATEWAY_BASE_URL} with your gateway base URL (how to find it) and set TFY_API_KEY to your TrueFoundry API key.
Support scope: We do not support all APIs through this integration. Only HTTPS and non-streaming requests are supported. We will add more support over time, including additional endpoints on customer request. Send a request to support@truefoundry.com.