this api to new a session

Request Body

FieldTypeDescription
qualitystringThe quality of the data to be retrieved. Can be "high", "medium", or "low".
avatar_namestring (optional)The realtime avatar to use. available choices are: ['default']. default: default
voice_name(deprecated)string (optional)Voice to use. available choices are: ['en-US-JennyNeural', 'en-US-AriaNeural', 'en-US-TonyNeural']. default: en-US-JennyNeural
voiceVoiceSetting(optional)The setting of voice.

VoiceSetting

FieldTypeDescription
voice_idstring (optional)Voice to use. selected from voice list
ratefloat(optional)voice speed rate, default is 1
emotionstring (optional)emotion to use for Emotional voices. Available emotions are Excited, Serious, Friendly, Soothing, Broadcaster

Response Body

FieldTypeDescription
codeintegerThe response status code.
messagestringThe response message.
dataobjectThe response data.
data.ice_servers(deprecated)string arrayuse ice_servers2
data.ice_servers2ICEServer arrayA list of ICE servers.
data.sdpobjectThe Session Description Protocol (SDP) data.
data.session_idstringThe session ID.

ICEServer

FieldTypeDescription
urlsstring arrayThe url list of ICE servers. contains stun server and turn server
usernamestringThe username for authentication.
credentialstringThe credential for authentication.

SDP

FieldTypeDescription
sdpstringThe Session Description Protocol (SDP) data.
typestringThe type of SDP. "offer"
Language
Authorization
Header
Click Try It! to start a request and see the response here!