hi this is my task

'My Task'
async Task TTS(string voiceId, string Text)
{
    // Construct your request object including the new voice ID
    var request = new
    {
        model = "Zyphra/Zonos-v0.1-transformer",
        input = Text,
        language = "en-us",
        voice = voiceId, // Use the voice ID received
        speed = 0.9f,
        emotion = new
        {
            happiness = 0.0f,
            sadness = 1.0f,
            disgust = 0.1f,
            fear = 0.2f,
            surprise = 0.1f,
            anger = 0.2f,
            other = 0.2f,
            neutral = 0.1f
        },
        response_format = "wav"
    };

    // Serialize the request object into JSON
    var json = JsonConvert.SerializeObject(request);
    var content = new StringContent(json, Encoding.UTF8, "application/json");

    try
    {
        // Send a POST request to the speech generation endpoint
        var response = await MyClient.PostAsync($"{baseUrl}/v1/audio/speech", content);
        response.EnsureSuccessStatusCode();

        // Read the response content as a stream
        var audioStream = await response.Content.ReadAsStreamAsync();

        // Specify the output path for the generated audio
        var outputFilePath = @"H:\Hot\Pookie\Poo\poo\api\zonos.git\app\audio.wav"; // Update this to .wav extension

        // Save the audio stream to a file
        using (var fileStream = new FileStream(outputFilePath, FileMode.Create, FileAccess.Write))
        {
            await audioStream.CopyToAsync(fileStream);
        }

        duration = GetWaveFileDuration(outputFilePath);
        audioFilePath = outputFilePath;
        PlayAudio(ISim, duration, false);
    }
    catch (HttpRequestException e)
    {
        MessageBox.Show("Error sending request to the speech generation server:\n" + e.Message);
    }
    catch (TaskCanceledException e)
    {
        MessageBox.Show("The request timed out:\n" + e.Message);
    }
    catch (Exception ex)
    {
        MessageBox.Show("An unexpected error occurred:\n" + ex.Message);
    }
}

and this is what my task inferences into, a class

'The Class'
using Newtonsoft.Json;
using System.Text;

public class LocosTTS
{
    private readonly string url;

    public LocosTTS(string url)
    {
        this.url = url;
    }

    public async Task<(bool success, string resultWav)> GenerateAudio(
        string modelChoice,
        string text,
        string language,
        List<float> emotions,
        float vqSingle,
        float fmax,
        float pitchStd,
        float speakingRate,
        float dnsmosOvrl,
        bool speakerNoised,
        float cfgScale,
        float minP,
        int seed = 0,
        bool randomizeSeed = false,
        List<string> unconditionalKeys = null,
        byte[] speakerAudio = null,
        byte[] prefixAudio = null)
    {
        using (var client = new HttpClient())
        {
            var jsonBody = new
            {
                model_choice = modelChoice,
                text,
                language,
                emotions,
                vq_single = vqSingle,
                fmax,
                pitch_std = pitchStd,
                speaking_rate = speakingRate,
                dnsmos_ovrl = dnsmosOvrl,
                speaker_noised = speakerNoised,
                cfg_scale = cfgScale,
                min_p = minP,
                seed,
                randomize_seed = randomizeSeed,
                unconditional_keys = unconditionalKeys
            };

            // Serialize the JSON object
            var jsonString = JsonConvert.SerializeObject(jsonBody);
            var jsonContent = new StringContent(jsonString, Encoding.UTF8, "application/json");

            // Send the request
            var response = await client.PostAsync(url, jsonContent);

            if (response.IsSuccessStatusCode)
            {
                var responseData = await response.Content.ReadAsStringAsync();
                dynamic result = JsonConvert.DeserializeObject(responseData);
                return (true, result.audio_filepath);
            }
            else
            {
                var errorMessage = await response.Content.ReadAsStringAsync();
                Console.WriteLine($"Error: {errorMessage}");
                return (false, errorMessage);
            }
        }
    }
}

'The problem and request'
as you can see Im missing seed in my task and some other ones please fill them in thanks.