import { AioraClient } from '@aiora/sdk';
const client = new AioraClient({
apiKey: process.env.AIORA_API_KEY
});
// Generate a video from text prompt
const video = await client.video.generate({
model: 'sora-2',
prompt: 'A serene sunset over mountain peaks',
duration: 10,
resolution: '720p',
aspectRatio: '4:3'
});
console.log('Video URL:', video.url);
console.log('Credits used:', video.credits);Built for scale, security, and reliability.
Access 39 model families with 150+ configuration variants for video, image, 3D, and audio through a single API.
Optimized infrastructure delivers results in seconds with priority processing for API users.
SOC 2 compliant with end-to-end encryption, rate limiting, and comprehensive audit logs.
Content delivered from edge locations worldwide for minimal latency and maximum speed.
Generate and manage multiple API keys with granular permissions and usage limits.
Monitor usage, track costs, and analyze performance with detailed dashboards.
Comprehensive endpoints for all AI generation capabilities.
Get started with our API today. Create API keys, explore documentation, and start building.