post
https://platform.perso.ai/api/v1/session/
Create a new interactive session with the specified capabilities.
Capabilities
Choose one or more capabilities for your session. Each capability has different required fields:
| Capability | Description | Required Fields |
|---|---|---|
STF_WEBRTC | Full interactive avatar with video streaming | prompt, llm_type, model_style, tts_type |
STF_ONPREMISE | On-premise avatar rendering | model_style |
LLM | Language model conversation only | prompt, llm_type |
TTS | Text-to-speech only | tts_type |
STT | Speech-to-text only | stt_type |
Note:
STF_WEBRTCandSTF_ONPREMISEcannot be used together.
Default Behavior
If no capability is specified, the session defaults to STF_WEBRTC.
Example
Select "STF_WEBRTC Session" from the Examples dropdown above to see a complete request example.
