The Emotion Transfer TTS API uses Bearer token authentication. All API requests must include an Authorization header with your API key.
Getting Your API Key
- Sign up for a Dubformer account
- Navigate to the API section in your dashboard
- Click “Create API key” to generate your token
- Copy your API key and store it securely
Keep your API key secure and never expose it in client-side code. Treat it like a password.
Making Authenticated Requests
Include your API key in the Authorization header of every request:
curl -X GET https://app.dubformer.ai/api/v1/balance \
-H "Authorization: Bearer YOUR_API_KEY"
Every API request must include:
Authorization: Bearer YOUR_API_KEY - Your authentication token
Content-Type: multipart/form-data - For POST requests with form-data body