Auto-generated C# SDK for Descript — AI-powered video and audio editing platform API (v1.2). Import media, create projects, edit with the Underlord AI agent, manage jobs, and export published projects.
OpenAPI spec downloaded from https://docs.descriptapi.com/openapi.yaml.
dotnet build Descript.slnx
dotnet test src/tests/IntegrationTests/Bearer token auth (personal API token from Descript Settings > API Tokens):
var client = new DescriptClient(apiKey); // DESCRIPT_API_KEY env varBase URL: https://descriptapi.com/v1.
src/libs/Descript/openapi.yaml— OpenAPI spec (downloaded from Descript docs, OpenAPI 3.0.0)src/libs/Descript/generate.sh— Downloads spec, runs autosdk with--security-scheme Http:Header:Bearersrc/libs/Descript/Generated/— Never edit — auto-generated code (204 files)src/tests/IntegrationTests/Tests.cs— Test helper with bearer authsrc/tests/IntegrationTests/Examples/— Example tests (also generate docs)
generate.shdownloads spec fromhttps://docs.descriptapi.com/openapi.yaml- Spec already defines
bearerAuthsecurity scheme (http/bearer) --security-scheme Http:Header:Bearerinjects top-level security for AutoSDK constructor generation- Uses
--exclude-deprecated-operationsflag
Descript API has tagged operations generating sub-clients:
client.ApiEndpoints.*— Import media, agent edit, list/get/cancel jobs, check API statusclient.EditInDescript.*— Create import URLs for "Edit in Descript" integrationsclient.ExportFromDescript.*— Get published project metadata
Two-step async pattern for AI-powered editing:
- Submit:
client.ApiEndpoints.AgentEditJobAsync(projectId, prompt)— returnsJobIdandProjectUrl - Poll:
client.ApiEndpoints.GetJobAsync(jobId)— checkJobState(running->stopped), then inspectResultfor agent response and changes summary
Similar async pattern for media import:
- Import:
client.ApiEndpoints.ImportProjectMediaAsync(projectName, addMedia, addCompositions)— returnsJobId,ProjectId,ProjectUrl - Poll:
client.ApiEndpoints.GetJobAsync(jobId)— checkJobStatefor completion, inspectResultfor media status and created compositions
No MEAI interface (IChatClient, IEmbeddingGenerator, ISpeechToTextClient) is implemented — Descript is a media editing platform with no matching MEAI interface.