v1

latestOpenAPI 3.1.02026-07-1353090.4 KB
Streaming

New Session

This endpoint is used to initiate a new streaming session.

post/v1/streaming.new

Request body

qualitystring
avatar_idstring

ID of the Interactive Avatar you would like to use with the Streaming API

voice_namestring

voice to use

knowledge_basestring

Knowledge Base prompt used for chat task type.

video_encodingstring
disable_idle_timeoutboolean

By default session has a 2 minute idle timeout, setting to true disables it

versionstring

Response

200

object required