#how to use api for free voice cloning?
1 messages · Page 1 of 1 (latest)
To use the API for voice cloning, you'll need to follow these steps:
-
Get Your API Key: First, obtain your API key from the 'Profile' tab on the ElevenLabs website.
-
Prepare Your Audio Files: Ensure you have the necessary rights or consents to upload and clone the voice samples. The audio should be clear, with a single speaker and no background noise.
-
Make an API Request: Use the following example in Python to add a voice:
from elevenlabs.client import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) client.voices.add( name="YourVoiceName", files=["path/to/your/audio/file1.wav", "path/to/your/audio/file2.wav"], description="Description of the voice", labels="{'label1': 'value1', 'label2': 'value2'}" ) -
Check the Response: The response will include a
voice_idwhich you can use to manage and synthesize the voice.
Remember to follow ElevenLabs' Terms of Service, Prohibited Use Policy, and Privacy Policy.
free?
We do not offer free voice cloning services. For more information on our plans and pricing, please visit our Pricing Page. If you have any questions regarding account, billing, payments, refunds, or cancellations, please open a ticket via the ticket form.
free alternatives?