Documentation
Get started with SOYL's emotion-aware AI APIs and SDKs. Build powerful applications with multimodal emotion detection and adaptive agents.
Quickstart
Install the SDK
npm install @soyl/sdk
Get Your API Key
Sign up for an account and generate an API key from the dashboard.
Initialize the Client
import { SOYLClient } from '@soyl/sdk'; const client = new SOYLClient({ apiKey: 'your-api-key-here' });
Make Your First Call
const result = await client.emotion.detect({ audio: audioData, video: videoFrame, text: userInput }); console.log(result.emotion); // e.g., 'happy', 'neutral', 'excited' console.log(result.confidence); // 0.0 - 1.0
API Reference
Emotion API
Detect emotions from face, voice, and text inputs
/v1/emotion/detectDetect emotion from multimodal inputs
/v1/emotion/modelsList available emotion detection models
Agent API
Interact with adaptive AI sales agents
/v1/agent/chatSend message to adaptive agent
/v1/agent/session/{id}Retrieve agent session state
SDK & Libraries
JavaScript/TypeScript SDK
github.com/soyl-ai/soyl-sdk-jsNeed help? Check out our resources or contact support.