Add intelligent toy characters and conversational AI to your applications with our powerful, easy-to-use API.
// Initialize ToysTalk API
import { ToysTalk } from '@toystalk/sdk';
const toystalk = new ToysTalk({
apiKey: 'tk_live_abc123...'
});
// Create a conversation
const response = await toystalk.conversations.create({
characterId: 'princess-sofia',
message: 'Hello! What adventure awaits today?',
context: {
childAge: 7,
interests: ['dragons', 'magic']
}
});
console.log(response.reply);
// "Oh, what a wonderful day for adventure!..."
Powerful features to create engaging AI-powered experiences
Access a library of pre-built characters or create custom personalities with unique traits and voices.
State-of-the-art language models trained specifically for child-safe, educational interactions.
Maintain conversation history and adapt responses based on user age, interests, and learning goals.
Convert text to natural-sounding speech with multiple voice options and emotional tones.
Built-in content filtering and safety measures ensure appropriate interactions for all ages.
Track engagement, learning progress, and conversation patterns with detailed analytics.
Simple, intuitive endpoints that follow REST conventions
List all available AI characters with their personalities and capabilities.
Start or continue a conversation with an AI character.
Convert text responses to natural speech audio.
Retrieve usage statistics and conversation analytics.
Start free, scale as you grow
Perfect for testing and development
For growing applications
For large-scale deployments
Join thousands of developers creating magical AI experiences for children worldwide.
Get Your API Key →