Routed audio generation
Changed onStart 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.
Request
- Base URLhttps://api.dev.runwayml.com
- URLhttps://api.dev.runwayml.com/v1/generate/audio
- AuthHTTP bearer
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
- breaking
removed
subschema #1subschema #3from the///request propertyanyOflist - breaking
removed
subschema #1subschema #3from the///request propertyanyOflist - info
added
subschema #1subschema #3to the///request propertyanyOflist - info
added
subschema #1subschema #3to the///request propertyanyOflist
- breaking
- breaking
added
subschema #1: RoutedAudioTaskCreatedto the response bodyoneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status
- breaking