#I would like to read stories generated on the fly. These stories have multiple characters which hav
1 messages · Page 1 of 1 (latest)
To generate stories with multiple characters, each having their own voice, you can use the Text-to-Speech (TTS) feature of the API. Here's a general approach:
-
Script Preparation: Prepare your story script, ensuring each character's dialogue is clearly separated.
-
Voice Assignment: Assign different voices to each character. You will need to specify the voice settings for each character in your API requests.
-
API Requests: For each line of dialogue, make an API request to generate the audio. You can loop through the script, sending requests for each character's lines with the appropriate voice settings.
-
Audio Compilation: Once you have generated the audio for each line, compile them in sequence to create the full story.
-
Projects Feature: If you're working with long-form content, consider using the Projects feature. This allows you to manage and regenerate specific sections without affecting the entire text.
For more efficient handling, you might want to automate the process using a script that manages the API calls and audio compilation. You can refer to the API documentation for detailed guidance on implementing this workflow.
Great, thanks ; and is it possible to generate voice based on specific characteristics ? For example all of a sudden a gorilla enters the story, can I have it generate a gorilla voice based on some parameters ?
To create a table read with multiple voices using the API, you can utilize the "Projects" feature in ElevenLabs. This allows you to assign different voices to specific characters in your script. However, you need to manually assign a voice for each instance of dialogue, as there is no automatic feature to assign a voice to a character name throughout the entire script.
Regarding generating a specific voice, like a gorilla, based on certain characteristics, the platform currently does not support creating voices based on specific parameters like animal sounds directly. You can explore the Voice Library for available voices or use the Professional Voice Cloning feature to create custom voices if you have the necessary data.
Do you have examples of people who have done so ?