π¬ Video Creation
Create AI-generated videos with custom scripts, avatars, and backgrounds
π¬ Video Creation
Create AI-generated videos with custom scripts, avatars, and backgrounds
π Template System
Use pre-designed templates for scalable video personalization
π Real-time Webhooks
Get instant notifications when videos complete processing
π Asset Management
Upload custom audio, images, and videos for your content
β‘ TypeScript First
Full TypeScript support with complete type definitions
π‘οΈ Error Handling
Robust error handling with retry logic and rate limiting
Get up and running in minutes:
npm install @androettop/synthesia-sdkimport { Synthesia } from '@androettop/synthesia-sdk';
const synthesia = new Synthesia({ apiKey: 'your-api-key-here',});
// Create your first videoconst video = await synthesia.videos.createVideo({ title: 'My First Video', scriptText: 'Hello, World! This is my first synthetic video!', avatar: 'anna_costume1_cameraA', background: 'green_screen', test: true,});
console.log('Video created:', video.data?.id);Complete API Coverage
Videos, Templates, Webhooks, and Uploads APIs fully implemented
Production Ready
Rate limiting, error handling, and retry logic built-in
Developer Experience
IntelliSense, type safety, and comprehensive documentation
This SDK documentation is based on the official Synthesia API documentation:
Each section includes:
Ready to start creating videos? Choose your path:
π Quick Start
Jump right in with a simple example
π Full Guide
Start from the beginning with installation
π API Reference
Explore the APIs in detail