Complete reference for all AI models and endpoints
All endpoints are available at: https://yourdomain.com
Most AI features use Google Cloud Service Account authentication (automatic).
No API keys needed for Veo 3, Gemini, and Imagen (using your CHF 796 credit).
/api/ai/generate-videoGenerate cinema-quality videos with Google Veo 3
{
"prompt": "Drone shot of Swiss Alps at sunrise, dramatic lighting",
"model": "veo-3.0-generate-001",
"aspectRatio": "16:9",
"resolution": "1080p"
}{
"success": true,
"videos": [
{
"uri": "gs://bucket/video.mp4",
"downloadUrl": "https://storage.googleapis.com/..."
}
],
"model": "veo-3.0-generate-001",
"cost": "FREE (using Google Cloud credit)"
}/api/ai/face-swapSwap faces in videos with AI
{}{
"success": true,
"filename": "hero-jon.mp4",
"path": "/videos/hero-jon.mp4",
"size": "0.89 MB"
}/api/analyze-skinAI skin analysis with Gemini Vision
{
"image": "data:image/jpeg;base64,...",
"age": 30
}{
"success": true,
"youthScore": 78,
"biologicalAge": 25,
"analysis": {
"skinTexture": "Smooth with fine pores",
"wrinkles": "Minimal - subtle lines",
"skinTone": "Even and healthy"
},
"recommendations": [
"Use vitamin C serum",
"Add retinol at night"
]
}/api/ai/generate-imageGenerate images with Imagen 3 or DALL-E 3
{
"prompt": "Swiss mountain landscape at sunrise, photorealistic",
"provider": "imagen"
}{
"success": true,
"images": [
"https://..."
],
"model": "imagen-3.0-generate-001"
}/api/ai/statusSystem status and health check
{
"overall": "operational",
"services": {
"googleCloud": {
"status": "operational"
},
"replicate": {
"status": "operational"
},
"heygen": {
"status": "operational"
}
},
"credits": {
"googleCloud": "CHF 796.75"
}
}