Blog'a Dön
Developer

Genve API: Building Custom Video Translation Workflows

A developer guide to integrating AI dubbing into your existing content pipeline.

Lisa Park

Lisa Park

Dec 3, 2024

12 min read
Genve API: Building Custom Video Translation Workflows

For teams with high-volume translation needs, Genve's API enables seamless integration into your existing workflows.

API Overview

The Genve API provides endpoints for:

  • Video upload and processing
  • Language selection and translation
  • Voice cloning configuration
  • Lip-sync settings
  • Export and webhook notifications

Quick Start

const genve = require('@genve/sdk');

const client = new genve.Client({
  apiKey: process.env.GENVE_API_KEY
});

// Create a translation job
const job = await client.translations.create({
  videoUrl: 'https://example.com/video.mp4',
  targetLanguages: ['es', 'pt', 'de'],
  enableVoiceCloning: true,
  enableLipSync: true
});

// Check status
const status = await client.translations.get(job.id);
console.log(status.progress); // 0-100

Webhook Integration

Set up webhooks to receive notifications when jobs complete:

app.post('/webhooks/genve', (req, res) => {
  const { jobId, status, outputUrls } = req.body;

  if (status === 'completed') {
    // Process completed translations
    outputUrls.forEach(url => {
      // Upload to your CDN, notify users, etc.
    });
  }
});

Rate Limits & Pricing

API access includes:

  • 100 concurrent jobs
  • Priority processing queue
  • Dedicated support

Get API Access →

Sıkça Sorulan Sorular