For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Status
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
    • Welcome
  • Get Started
    • Developer Quick Start
    • Authentication
    • Rate Limits
    • Error Handling
    • Model Versions
    • SSML Reference
Status
LogoLogo
On this page
  • Getting Your API Key
  • Authentication Format
  • Servers
  • Synthesis Server Example
  • API Server Example
  • SDK Configuration
  • Node.js
  • Python
Get Started

Authentication

Was this page helpful?
Previous

Rate Limits

Next
Built with

All Resemble API endpoints use the same authentication method. Your API key works across both servers.

Getting Your API Key

Create or retrieve your API key from the Account → API page.

Authentication Format

All requests require a Bearer token in the Authorization header:

1Authorization: Bearer YOUR_API_KEY

Servers

Resemble uses two servers depending on the endpoint type:

ServerBase URLPurpose
Synthesishttps://f.cluster.resemble.aiText-to-Speech, Speech-to-Speech
APIhttps://app.resemble.ai/api/v2Voices, projects, clips, recordings, agents, etc.

Synthesis Server Example

$curl --request POST "https://f.cluster.resemble.ai/synthesize" \
> -H "Authorization: Bearer YOUR_API_KEY" \
> -H "Content-Type: application/json" \
> --data '{
> "voice_uuid": "YOUR_VOICE_UUID",
> "data": "Hello from Resemble!"
> }'

API Server Example

$curl 'https://app.resemble.ai/api/v2/voices' \
> -H 'Authorization: Bearer YOUR_API_KEY'

SDK Configuration

The SDKs handle authentication automatically once you set your API key:

Node.js

1import { Resemble } from "@resemble/node";
2
3Resemble.setApiKey("YOUR_API_KEY");

Python

1from resemble import Resemble
2
3Resemble.api_key("YOUR_API_KEY")

Store tokens securely and rotate them according to your security policies.