Skip to navigation

Integrations

sync. labs integrates with editing tools, AI assistants, workflow engines, and developer platforms. Pick the integration that fits your workflow.

All Integrations

For direct HTTP integration without an SDK, use the REST API.


Integration Setup

Text-to-speech, voice cloning, and dubbing work without any setup. sync. labs’ built-in ElevenLabs access is on for every account, and its usage is billed through your sync. labs billing.

API Key Options:

  • Use sync. labs’ built-in ElevenLabs access (the default; nothing to enable)
  • Optionally connect your own ElevenLabs API key on the integrations settings page (available on Creator plan or higher). ElevenLabs then bills the generated audio to your ElevenLabs account, and sync. labs bills the lip sync.

ElevenLabs

ElevenLabs provides text-to-speech and AI voice generation. With this integration, the sync. labs generation endpoint can turn text into speech and lipsync the video to it in one request.

No setup or ElevenLabs account is needed.

  1. Navigate to Studio and select lipsync video
  2. In the audio input, select Text to speech
  3. Choose a voice under Voice
  4. Enter your script and select Generate, then Sync

See Text-to-speech and voices for voice settings, audio tags, and voice cloning.

To use ElevenLabs with the API, include the following parameters in your request to the POST /generate endpoint:

{
"input": [
{
"type": "text", // Must be "text" for text-to-speech
"provider": {
"name": "elevenlabs", // Specify ElevenLabs as the provider
"voiceId": "voice_id", // Replace with an actual ElevenLabs voice ID
"script": "Your text here", // The text to convert to speech (max 5,000 characters)
"stability": 0.5, // Optional: Voice stability (0.0-1.0, default: 0.5)
"similarityBoost": 0.75 // Optional: Voice similarity (0.0-1.0, default: 0.75)
}
}
],
// Other generation parameters...
}

The script field has a maximum length of 5,000 characters. If you need to process longer text, consider breaking it into smaller segments.

Example API Request

import requests
api_key = "YOUR_API_KEY_HERE"
api_url = "https://api.sync.so/v2/generate"
payload = {
"model": "lipsync-2",
"input": [
{
"type": "text",
"provider": {
"name": "elevenlabs",
"voiceId": "EXAVITQu4vr4xnSDxMaL",
"script": "Welcome to sync. labs integrations. This audio was generated with ElevenLabs.",
"stability": 0.5,
"similarityBoost": 0.75
}
},
{
"type": "video",
"url": "https://assets.sync.so/docs/example-video.mp4"
}
]
}
headers = {
"x-api-key": api_key,
"Content-Type": "application/json"
}
response = requests.post(api_url, json=payload, headers=headers)
print(response.json())

If you encounter issues when setting up or using the ElevenLabs integration, here are common problems and their solutions:

Empty text

Standalone text-to-speech accepts audio-tag-only lines such as [giggles] or [laughs] [sighs]. They produce the tagged sound followed by a short pause. Truly empty or whitespace-only scripts still fail: add the text or audio tags you want performed. This does not apply to dialogue editing, which uses a different speech model.

The following troubleshooting tips are for users with their own ElevenLabs API key. If you’re using sync. labs’ built-in ElevenLabs integration and encounter infrastructure issues, you’ll see a “Voice service is temporarily unavailable” message—just wait a moment and try again. If the issue persists, contact sync. labs support.

API Key Permission Errors

Error: “Your ElevenLabs API key is missing required permissions. Please ensure the ‘User’ permission is enabled for your API key in your ElevenLabs settings.”

Solution:

  1. Log in to your ElevenLabs account
  2. Navigate to your API key settings
  3. Ensure the “User” permission is enabled for your API key
  4. If you need to create a new API key, make sure to enable the required permissions during creation

Invalid API Key Errors

Error: “Invalid API key. Please check your ElevenLabs API key and try again.”

Solution:

  1. Verify that you’ve copied the API key correctly from your ElevenLabs account
  2. Check that the API key hasn’t been revoked or expired
  3. Ensure you’re using the correct API key format (ElevenLabs API keys typically start with sk__)
  4. Try generating a new API key from your ElevenLabs dashboard if the issue persists

General Setup Tips

  • Make sure your ElevenLabs account is in good standing and has sufficient credits
  • Test your API key directly with ElevenLabs’ API before integrating with sync. labs
  • If using your own API key, ensure your ElevenLabs plan supports the features you’re trying to use