#Does sound effects generation save in HISTORY api?
1 messages · Page 1 of 1 (latest)
The current API does not support generating a URL for the result audio file. However, users can save the request history IDs and query the history/download endpoint to download the audio files.
how to get the request history IDS?
To get the request history IDs, you can use the "Get Generated Items" endpoint of the ElevenLabs API. This endpoint returns metadata about all your generated audio, including their history item IDs. Here's a basic example using Python:
from elevenlabs import ElevenLabs
client = ElevenLabs(
api_key="YOUR_API_KEY",
)
response = client.history.get_all(
page_size=100, # Adjust the page size as needed
)
# Access the history items and their IDs
history_items = response['history']
for item in history_items:
print(item['history_item_id'])
Make sure to replace "YOUR_API_KEY" with your actual API key. You can adjust the page_size parameter to control how many history items are returned in one request.
I'm not seeing the sound effects. It only shows the text to speech history
Sound effects generated in the Voiceover Studio are not saved in the Sound Effects list or history. To make sound effects available, you need to generate them separately in the Sound Effects section. If you have any further questions or need assistance, feel free to ask!
can you provide samples using API (NOT SDK)