Skip to main content

Documentation

Get started with SOYL's emotion-aware AI APIs and SDKs. Build powerful applications with multimodal emotion detection and adaptive agents.

Quickstart

1

Install the SDK

npm install @soyl/sdk

2

Get Your API Key

Sign up for an account and generate an API key from the dashboard.

3

Initialize the Client

import { SOYLClient } from '@soyl/sdk'; const client = new SOYLClient({ apiKey: 'your-api-key-here' });

4

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

POST/v1/emotion/detect

Detect emotion from multimodal inputs

GET/v1/emotion/models

List available emotion detection models

Agent API

Interact with adaptive AI sales agents

POST/v1/agent/chat

Send message to adaptive agent

GET/v1/agent/session/{id}

Retrieve agent session state

Need help? Check out our resources or contact support.