API Documentation
Vydra API Reference
Everything you need to integrate Vydra's AI models into your applications. Generate images, transform videos, and build powerful AI-powered workflows.
Base URLProduction
https://vydra.app/api/v1Quick Start
API Features
RESTful API
Simple REST endpoints with JSON request/response format
Secure by Default
All requests authenticated with API keys using Bearer tokens
Rate Limited
Tiered rate limits based on your subscription plan
Example Request
Generate an image with GeminiPOST
curl -X POST https://vydra.app/api/v1/models/gemini/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A futuristic city skyline at sunset",
"aspectRatio": "16:9"
}'Example Response
JSON Response
{
"imageUrl": "https://pub-xxx.r2.dev/generated/gemini/...",
"mimeType": "image/png",
"creditsCharged": 5,
"durationMs": 3420
}Next Steps
Get your API key
Create an account and generate an API key from your dashboard to start making requests.