Access 50+ AI personalities through our enterprise-grade API. Start building revolutionary applications today.
// Install the SDK
npm install @aiplatform/sdk
// Initialize the client
import { AIClient } from '@aiplatform/sdk';
const client = new AIClient({
apiKey: 'sk-api-1234567890abcdef...',
environment: 'production'
});
// Chat with Marilyn Monroe AI
const response = await client.chat({
model: 'marilyn-monroe',
messages: [
{ role: 'user', content: 'How can I improve my presentation skills?' }
],
temperature: 0.7
});
console.log(response.choices[0].message.content);{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"model": "marilyn-monroe",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Darling, presentation skills are like stage presence - it's all about confidence and connecting with your audience. Practice in front of a mirror, know your material inside out, and remember that everyone wants you to succeed!"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 45,
"total_tokens": 57
}
}Sub-100ms response times with global CDN
SOC 2 compliant with end-to-end encryption
Available in 50+ countries worldwide
Comprehensive docs and active community
Join thousands of developers building the next generation of AI applications