Installation
Install the SDK using Composer:composer.json
:
Quick Start
Text to Speech
Text to Image
Text to Video
Deepfake Video Swap
API Reference
Audio API
The Audio API provides text-to-speech, music generation, and voice conversion capabilities.Video API
Generate videos from text prompts.3D API
Generate 3D models from text descriptions.Interior API
Generate interior design images.Realtime API
Real-time image generation.Deepfake API
Generate deepfake content.Community API
Access community models.Image Editing API
Edit and manipulate images.Configuration
Environment Variables
You can set your API key using environment variables:Client Options
Error Handling
The SDK throws exceptions for various error conditions:Environment Setup
Copy the environment example file:.env
and add your API key:
Requirements
- PHP 7.4 or higher
- Guzzle HTTP client
- Composer for dependency management