REST/TextSource.cs

deepgram-dotnet-sdk · Deepgram/Models/Flux/Speak/REST/TextSource.cs · csharp · MIT
voice, Voice / Speech

Request body class for Deepgram Flux Speak API text-to-speech synthesis

// Source: https://github.com/deepgram/deepgram-dotnet-sdk | License: MIT | Copyright 2021 Deepgram Devs
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright 2026 Deepgram .NET SDK contributors. All Rights Reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.
// SPDX-License-Identifier: MIT

namespace Deepgram.Models.Flux.Speak.REST;

/// <summary>
/// The request body for the Deepgram Flux (v2 speak) batch REST API. Serializes to
/// {"text":"..."}. The server normalizes and preprocesses the text before synthesis.
/// </summary>
public class TextSource(string text)
{
    /// <summary>
    /// The text content to be converted to speech.
    /// </summary>
    [JsonIgnore(Condition = JsonIgnoreConditi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key