Skip to content

Languages

Shows how to get supported languages for video translations.

This example assumes using Synthesia; is in scope and apiKey contains your Synthesia API key.

1
2
3
4
5
using var client = new SynthesiaClient(apiKey);

// Retrieve the list of supported languages for video translations.
// Use these language codes when creating translated versions of your videos.
var response = await client.Translations.GetTranslateLanguagesAsync();