Text to speech
This endpoint will start a new task to generate speech from text.
Headers
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
Changed in 9 of the 54 revisions of this API.4319
- ▲
removed
subschema #1: SeedPresetVoicefrom theoneOf[subschema #1: seed_audio]/voicerequest propertyoneOflistrequest-property-one-of-removed
- ▲
- ○
added
subschema #3: eleven_v3to the request bodyoneOflistrequest-body-one-of-added
- ○
added
subschema #1: SeedPresetVoiceto theoneOf[subschema #1: seed_audio]/voicerequest propertyoneOflistrequest-property-one-of-added
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the required property
estimatedCostto the response with the200statusresponse-required-property-added
- ○
- ○
added
subschema #1: seed_audioto the request bodyoneOflistrequest-body-one-of-added
- ○
- ○
the
modelrequest property default valueeleven_multilingual_v2was removedrequest-property-default-value-removed
- ○
the
typerequest property default valuerunway-presetwas removedrequest-property-default-value-removed
- ○
added the media type
application/jsonfor the response with the status429response-media-type-added
- ○
- ○
the
modelrequest property default valueeleven_multilingual_v2was addedrequest-property-default-value-added
- ○
the
typerequest property default valuerunway-presetwas addedrequest-property-default-value-added
- ○
- ○
the
modelrequest property default valueeleven_multilingual_v2was removedrequest-property-default-value-removed
- ○
the
typerequest property default valuerunway-presetwas removedrequest-property-default-value-removed
- ○
- ▲
removed
subschema #1from theoneOf[subschema #1: eleven_multilingual_v2]/voicerequest propertyoneOflistrequest-property-one-of-removed
- ○
the
modelrequest property default valueeleven_multilingual_v2was addedrequest-property-default-value-added
- ○
added
subschema #1: RunwayPresetVoiceto theoneOf[subschema #1: eleven_multilingual_v2]/voicerequest propertyoneOflistrequest-property-one-of-added
- ▲
- ▲
removed
subschema #1: RunwayPresetVoicefrom theoneOf[subschema #1: eleven_multilingual_v2]/voicerequest propertyoneOflistrequest-property-one-of-removed
- ○
added
subschema #1to theoneOf[subschema #1: eleven_multilingual_v2]/voicerequest propertyoneOflistrequest-property-one-of-added
- ▲
- ▲
the request's body type/format changed from
object/to/request-body-type-changed
- ●
removed the request property
modelrequest-property-removed
- ●
removed the request property
promptTextrequest-property-removed
- ●
removed the request property
voicerequest-property-removed
- ○
added request discriminator
request-body-discriminator-added
- ○
added
subschema #1: eleven_multilingual_v2to the request bodyoneOflistrequest-body-one-of-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
the
idresponse's property pattern^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$was added for the status200response-property-pattern-added
- ▲