Migration Guide for Play AI's TTS API
With Play.ai’s acquisition by Meta and subsequent service disruption, many developers are looking for a reliable alternative for their text-to-speech streaming needs. Murf offers a powerful, feature-rich streaming TTS API that provides an excellent migration path for Play.ai users.
This guide will help you seamlessly transition from Play.ai’s streaming API to Murf’s streaming solution.
Why Choose Murf?
Quick Migration Overview
Step-by-Step Migration
Get Your Murf API Key
Sign up at Murf API Dashboard and generate your API key. Store it securely as an environment variable if needed.
Test Connectivity
Verify your API key works with a simple request: bash curl -X GET https://api.murf.ai/v1/speech/voices \ -H "api-key: YOUR_API_KEY"
Authentication Changes
Play.ai uses X-USER-ID and Authorization headers for authentication.
Murf uses api-key header. Make sure to update your code to use the new
header.
Request Body Parameter Mapping
Change the request body parameters to match Murf’s parameters. Only text, and voiceId are the required parameters and all other parameters are optional.
Any other Play.ai parameter that was not listed above should be removed. To see the full list of parameters that you can use, please refer to the Murf Streaming API Reference.
Code Migration Examples
Python
Node.js/JavaScript
curl
Voice Migration Guide
Finding Equivalent Voices
Play.ai used complex S3 paths for voice selection. Murf uses intuitive voice names and IDs.
Play.ai Voice Examples:
Murf Voice Examples:
To programmatically fetch the list of voices, use the List voices endpoint.
Rate Limits & Concurrency
You can find more information about the rate limits and concurrency in our Rate Limits page.
Getting Help
Migration Support
Need help with your migration? Our team is here to assist:
- Migration consultation: Free 30-minute consultation to review your use case
- Custom voice matching: Help finding the perfect voice equivalents
- Code review: Technical review of your migration implementation
- Priority support: Expedited support during your migration period
Contact our migration team to get started.
Ready to migrate? Start with our Streaming Quickstart Guide or generate your API key to begin testing immediately.