Create a video (streaming)
Changed onSame request body as POST /v1/videos, but the response body IS the live fragmented-MP4 (fMP4) byte stream — frames arrive as they are generated, so playback can start before the clip is complete. The video id rides back in the X-Video-Id header; the full MP4 is stored too, so a later GET /v1/videos/{video_id}/content works.
Request
- Base URLhttps://api.boson.ai
- URLhttps://api.boson.ai/v1/videos/stream
- AuthHTTP bearer
Request body
Example request
{
"input_tts": {
"input": "Hello, this is a test."
}
}Response
The fragmented-MP4 (fMP4) byte stream.
Changes
- info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
the
/////request property's maxLength was increased from5000to50000 - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info