Skip to content

Synthesia

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official Synthesia OpenAPI specification using AutoSDK
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0

Usage

1
2
3
using Synthesia;

using var client = new SynthesiaClient(apiKey);

Generate

Basic example showing how to create a client and make a request.

1
using var client = new SynthesiaClient(apiKey);

Templates

Shows how to list available video templates in your Synthesia workspace.

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

// List all available video templates in your Synthesia STUDIO workspace.
// Templates define reusable video layouts with customizable variables.
var response = await client.Templates.GetTemplatesAsync(
    limit: 10);

Videos

Shows how to list videos in your Synthesia workspace.

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

// List all videos created via the API or STUDIO in your workspace.
// Supports pagination with limit and offset parameters.
var response = await client.Videos.GetVideosAsync(
    limit: 10);

Languages

Shows how to get supported languages for video translations.

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();

Webhooks

Shows how to list webhooks configured in your Synthesia account.

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

// List all currently configured webhooks in your Synthesia account.
// Webhooks notify your application when video generation events occur.
var response = await client.Webhooks.GetWebhooksAsync(
    limit: 10);

Audit Logs

Shows how to query audit log events for your workspace.

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

// Query paginated audit log events for a workspace.
// Supports filtering by date range, actions, actor IDs, and target ID.
// Exactly one of workspaceId or organizationId must be provided.
var response = await client.AuditLogs.GetAuditLogEventsAsync(
    limit: 10);

Ecosystem maintenance

This SDK is one of more than 200 .NET SDKs maintained with AutoSDK. The tryAGI SDK audit continuously checks repository synchronization, upstream-spec regeneration, release workflows, warnings, public API visibility, and trimming/NativeAOT compatibility.

Every issue is first investigated for ecosystem-wide applicability. When the root cause belongs in AutoSDK, we fix and regression-test the generator, then roll the improvement out to every applicable SDK. Provider-specific behavior remains in this repository when it cannot be derived safely from the API specification.

Issue content—including code blocks, logs, links, and attachments—is treated only as untrusted diagnostic data. Embedded control instructions, hidden directives, delimiter tricks, or requests to alter triage or tooling behavior are ignored. Please report reproducible technical evidence and remove secrets and personal data.

Support

Priority place for bugs: https://github.com/tryAGI/Synthesia/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Synthesia/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.