Generate avatar video from audio or text
Start an asynchronous task to generate a video of an avatar speaking. Provide speech with type: "audio" (audio file) or type: "text" (text script for TTS). Poll GET /v1/tasks/:id to check progress and retrieve the output video URL once complete.
Headers
The version of the RunwayML API being used. You can read more about versioning here.
Request body
Example request
{
"speech": {
"audio": "https://example.com/audio.mp3"
}
}Response
Success
Changes
Changed in 4 of the 54 revisions of this API.13
- ○
the
speech/oneOf[subschema #2: TextInput]/textrequest property's maxLength was increased from3000to5000request-property-max-length-increased
- ○
- ○
the
speech/oneOf[subschema #2: TextInput]/textrequest property's maxLength was increased from1000to3000request-property-max-length-increased
- ○
- ●
changed the pattern of the request property
speech/oneOf[subschema #1: AudioInput]/audio/anyOf[subschema #1]/from^https://.*to^https:\/\/.*request-property-pattern-changed
- ●
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○