Start generating
Text to speech
Changed onThis endpoint will start a new task to generate speech from text.
post/v1/text_to_speech
Request
- Base URLhttps://api.dev.runwayml.com
- URLhttps://api.dev.runwayml.com/v1/text_to_speech
- AuthHTTP bearer
Headers
X-Runway-Version'2024-11-06' required
The version of the RunwayML API being used. You can read more about versioning here.
Request body
Example request
{
"voice": {
"audioUri": "https://example.com/audio.mp3"
}
}Response
The task that was created.
Changes
- info
added
subschema #2: eleven_v4to the request bodyoneOflist - info
the
/request property's maxLength was increased from5to16 - info
added the optional property
to the response with the status
- info
- breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
removed
subschema #1: SeedReferenceVoicefrom the/request propertyoneOflist - breaking
the
/request property type changed from no type toobject - info
removed discriminator from
/request property
- breaking