#I'm new to this. How do I clear an initial text to speech script and use a new script?

1 messages · Page 1 of 1 (latest)

vapid spadeBOT
#
AI-generated Answer for omisona

Short answer: you don’t “clear” prior text on the backend—just send or enter your new script. The exact step depends on where you’re working:

  • Web app (Text to Speech page): Open Text to Speech, replace the prompt text with your new script, then click Generate speech. If you need an older take, use the History panel on the right to re-download previous generations. (help.elevenlabs.io)

  • HTTP TTS API: Each call is stateless. Send a new POST to /v1/text-to-speech/:voice_id with the new "text"; nothing from a prior request is retained. Example (fields per docs): { "text": "...", "model_id": "..." }. (elevenlabs.io)

  • Realtime TTS WebSocket:

    • Standard realtime socket: Send {"text": ""} to signal end-of-sequence and close the socket, then start a new connection for the new script. You can also force-generate any buffered text with "flush": true, and keep the socket from timing out by periodically sending " " (a single space). (elevenlabs.io)
    • Multi-context WebSocket (single socket, switch scripts): Close the current context by sending {"context_id": "<old>", "close_context": true}, then start your new script in a fresh context_id; optionally "flush": true at turn boundaries. (elevenlabs.io)

If you tell me whether you’re using the web app, HTTP API, or realtime WebSocket, I can give you copy‑paste examples for that path. (help.elevenlabs.io)

Sources:
How do I add a custom preview for my shared voice? – ElevenLabs
Create speech | ElevenLabs Documentation
Generate audio in real-time | ElevenLabs Documentation
Multi-Context Websocket | ElevenLabs Documentation
How do I add a custom preview for my shared voice? – ElevenLabs

wanton plume
#

using web app

vapid spadeBOT
#
AI-generated Answer for omisona

Here’s how to start fresh with a new script in the ElevenLabs web app:

  • Open Text to Speech from the left sidebar. (help.elevenlabs.io)
  • Replace the text in the prompt field with your new script, then click Generate speech. (Docs describe entering text and using the Generate speech button.) (help.elevenlabs.io)
  • Note: Changing the prompt counts as a new generation. Free regenerations only apply when the prompt, voice, and model stay the same within two hours and without refreshing the page. (help.elevenlabs.io)
  • Input limits on the website: up to 5,000 characters per generation on paid plans and 2,500 on free plans. If you need longer content, use Studio. (help.elevenlabs.io)
  • Optional: If you want to start with a specific voice, click the T button on that voice in My Voices to open Text to Speech with it preselected. (help.elevenlabs.io)

If you need to retrieve or re-download earlier results, use the History panel on the right of the Text to Speech page. (help.elevenlabs.io)

Sources:
How do I download generated files from Text to Speech? – ElevenLabs
How do I add a custom preview for my shared voice? – ElevenLabs
Is there a way to preview audio without losing quota before downloading? – ElevenLabs
What's the maximum amount of characters and text I can generate? – ElevenLabs
What is the Voice Library? – ElevenLabs
How do I download generated files from Text to Speech? – ElevenLabs

wanton plume
#

thank you