Skip to content

BytePlusSeedSpeech

Modern .NET SDK for BytePlus Seed Speech, with typed support for Seed Audio 1.0 generation.

Nuget package dotnet License: MIT Discord

Generated from the source spec

Built from a checked-in OpenAPI definition based on BytePlus's official Audio 1.0 API reference.

Auto-updated

Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.

Modern .NET

Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.

Docs from examples

Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.

Usage

1
2
3
using BytePlusSeedSpeech;

using var client = new BytePlusSeedSpeechClient(apiKey);

The API key is available from the BytePlus Seed Speech console. The SDK sends it in the required X-Api-Key header and defaults to the Singapore Seed Speech endpoint.

Generate audio

Generate dialogue, sound effects, and ambience from one prompt with Seed Audio 1.0.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
using var client = new BytePlusSeedSpeechClient(apiKey);

var response = await client.CreateAudioAsync(new CreateAudioRequest
{
    Model = "seed-audio-1.0",
    TextPrompt =
        "Inside a football stadium, the crowd erupts as the commentator shouts: \"What a goal!\"",
    AudioConfig = new AudioConfig
    {
        Format = AudioFormat.Wav,
        SampleRate = 24000,
        EnableSubtitle = true,
    },
    Watermark = new WatermarkConfig
    {
        AigcWatermark = false,
    },
});

Support

Bugs

Open an issue in tryAGI/BytePlusSeedSpeech.

Ideas and questions

Use GitHub Discussions for design questions and usage help.

Community

Join the tryAGI Discord for broader discussion across SDKs.

Acknowledgments

JetBrains logo

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