Build an AI Speech Writer with the AI Pass SDK
Build an AI Speech Writer with the AI Pass SDK
Add AI speechwriting to your app or website. The AI Pass SDK handles authentication, billing, and AI — you build the interface.
Setup
1. Client ID
aipass.one → Developer Dashboard → OAuth2 Clients → Create → Copy client_id
2. SDK
<script src="https://aipass.one/aipass-sdk.js"></script>
<script>
AiPass.initialize({
clientId: 'YOUR_CLIENT_ID',
appSlug: 'your-app',
requireLogin: true,
darkMode: true
});
</script>
3. Generate Speeches
const r = await AiPass.generateCompletion({
model: 'openai/gpt-4.1-mini',
messages: [
{
role: 'system',
content: 'You are an expert speechwriter. Write a wedding toast that is heartfelt and emotional. Target: 2 minutes (~300 words). Include natural pauses. Output ONLY the speech.'
},
{
role: 'user',
content: 'Wedding toast for my best friend Jake who is marrying Sarah. We met in college, he is the most loyal person I know.'
}
]
});
const speech = r.choices[0].message.content;
4. Deploy & Earn
Host on any platform. Earn 50% commission on every API call your users make. The SDK manages everything — auth, billing, token refresh.