Developer Resources

Build the future of ethical AI advertising with our comprehensive developer tools and APIs

API Key Management
Create and manage API keys for ThymosAI

Generate secure API keys to authenticate your applications with ThymosAI services. Manage permissions, set expirations, and monitor usage.

Quick Start
Get up and running with ThymosAI in minutes
npm install @thymos/ai-sdk import { ThymosAI } from '@thymos/ai-sdk' const thymos = new ThymosAI({ apiKey: 'thymos_live_your_api_key' }) // Detect emotion from image const emotion = await thymos.detectEmotion(imageData) // Generate personalized ad const ad = await thymos.generateAd(emotion.type)
API
REST API
Comprehensive RESTful API for all ThymosAI features
POST /api/emotion/detect
200ms
POST /api/ad/generate
150ms
GET /api/analytics
50ms
POST /api/consent
25ms
SDK
JavaScript SDK
Easy-to-use SDK for web and Node.js applications
  • TypeScript support
  • React hooks included
  • Built-in error handling
  • Automatic retries
Docs
Documentation
Comprehensive guides and tutorials
  • Getting started guide
  • API reference
  • Code examples
  • Best practices
Open Source
GitHub Repository
Open source examples and community contributions
⭐ Stars2.4k
🍴 Forks456
🐛 Issues23
📝 PRs12
Code Examples
Real-world examples to get you started

React Integration

import { useThymosAI } from '@thymos/react' function AdComponent() { const { emotion, generateAd } = useThymosAI() return ( <div> <EmotionDetector /> <PersonalizedAd emotion={emotion} /> </div> ) }

Node.js Backend

const { ThymosAI } = require('@thymos/ai-sdk') app.post('/analyze', async (req, res) => { const emotion = await thymos.detectEmotion( req.body.imageData ) const ad = await thymos.generateAd(emotion) res.json({ emotion, ad }) })