Routed audio generation
Start an audio generation task using a saved Model Router config instead of naming a model. Set input.type to speech to speak promptText verbatim, or audio to generate audio described by promptText.
Headers
The version of the RunwayML API being used. You can read more about versioning here.
Request body
Example request
{
"input": {
"voice": {
"audioUri": "https://example.com/audio.mp3"
},
"referenceAudios": [
{
"uri": "https://example.com/audio.mp3"
}
]
}
}Response
The routing decision. Includes a task id for real requests; dry runs return the decision only.
Changes
Changed in 5 of the 54 revisions of this API.10113
- ▲
added
subschema #1: RoutedAudioTaskCreatedto the response bodyoneOflist for the response status200response-body-one-of-added
- ▲
the response's body type/format changed from
object/to/for status200response-body-type-changed
- ▲
removed the required property
idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
routingfrom the response with the200statusresponse-required-property-removed
- ▲
- ▲
the response's body type/format changed from
/toobject/for status200response-body-type-changed
- ●
removed the request property
dryRunrequest-property-removed
- ○
removed response discriminator for the response status
200response-body-discriminator-removed
- ○
removed
subschema #1: RoutedAudioTaskCreatedsubschema #2: RoutedAudioDryRunfrom the response bodyoneOflist for the response status200response-body-one-of-removed
- ○
added the required property
idto the response with the200statusresponse-required-property-added
- ○
added the required property
routingto the response with the200statusresponse-required-property-added
- ▲
- ▲
added
subschema #1: RoutedAudioTaskCreatedsubschema #2: RoutedAudioDryRunto the response bodyoneOflist for the response status200response-body-one-of-added
- ▲
the response's body type/format changed from
object/to/for status200response-body-type-changed
- ▲
removed the required property
anyOf[subschema #1]/pipeline/items/remainingfrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
routingfrom the response with the200statusresponse-required-property-removed
- ○
added the new optional request property
dryRunnew-optional-request-property
- ○
the
input/promptTextrequest property's maxLength was increased from3000to5000request-property-max-length-increased
- ○
added response discriminator for the response status
200response-body-discriminator-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the required property
anyOf[subschema #1]/pipeline/items/modelsto the response with the400statusresponse-required-property-added
- ○
added the required property
anyOf[subschema #1]/pipeline/items/typeto the response with the400statusresponse-required-property-added
- ▲
- ○
added
subschema #1subschema #2to the response bodyanyOflist for the response status400response-body-any-of-added
- ○
removed
subschema #1subschema #2from the response bodyanyOflist for the response status400response-body-any-of-removed
- ○
- ○
endpoint added
endpoint-added
- ○