Skip to content

feat:Add 23 new voices to KokoroTtsVoice enumeration #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 138 additions & 0 deletions src/libs/DeepInfra/Generated/DeepInfra.Models.KokoroTtsVoice.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public enum KokoroTtsVoice
/// <summary>
///
/// </summary>
AfHeart,
/// <summary>
///
/// </summary>
AfJessica,
/// <summary>
///
Expand Down Expand Up @@ -83,6 +87,10 @@ public enum KokoroTtsVoice
/// <summary>
///
/// </summary>
AmSanta,
/// <summary>
///
/// </summary>
BfAlice,
/// <summary>
///
Expand Down Expand Up @@ -115,6 +123,18 @@ public enum KokoroTtsVoice
/// <summary>
///
/// </summary>
EfDora,
/// <summary>
///
/// </summary>
EmAlex,
/// <summary>
///
/// </summary>
EmSanta,
/// <summary>
///
/// </summary>
FfSiwis,
/// <summary>
///
Expand All @@ -132,6 +152,78 @@ public enum KokoroTtsVoice
///
/// </summary>
HmPsi,
/// <summary>
///
/// </summary>
IfSara,
/// <summary>
///
/// </summary>
ImNicola,
/// <summary>
///
/// </summary>
JfAlpha,
/// <summary>
///
/// </summary>
JfGongitsune,
/// <summary>
///
/// </summary>
JfNezumi,
/// <summary>
///
/// </summary>
JfTebukuro,
/// <summary>
///
/// </summary>
JmKumo,
/// <summary>
///
/// </summary>
PfDora,
/// <summary>
///
/// </summary>
PmAlex,
/// <summary>
///
/// </summary>
PmSanta,
/// <summary>
///
/// </summary>
ZfXiaobei,
/// <summary>
///
/// </summary>
ZfXiaoni,
/// <summary>
///
/// </summary>
ZfXiaoxiao,
/// <summary>
///
/// </summary>
ZfXiaoyi,
/// <summary>
///
/// </summary>
ZmYunjian,
/// <summary>
///
/// </summary>
ZmYunxi,
/// <summary>
///
/// </summary>
ZmYunxia,
/// <summary>
///
/// </summary>
ZmYunyang,
}

/// <summary>
Expand All @@ -149,6 +241,7 @@ public static string ToValueString(this KokoroTtsVoice value)
KokoroTtsVoice.AfAlloy => "af_alloy",
KokoroTtsVoice.AfAoede => "af_aoede",
KokoroTtsVoice.AfBella => "af_bella",
KokoroTtsVoice.AfHeart => "af_heart",
KokoroTtsVoice.AfJessica => "af_jessica",
KokoroTtsVoice.AfKore => "af_kore",
KokoroTtsVoice.AfNicole => "af_nicole",
Expand All @@ -164,6 +257,7 @@ public static string ToValueString(this KokoroTtsVoice value)
KokoroTtsVoice.AmMichael => "am_michael",
KokoroTtsVoice.AmOnyx => "am_onyx",
KokoroTtsVoice.AmPuck => "am_puck",
KokoroTtsVoice.AmSanta => "am_santa",
KokoroTtsVoice.BfAlice => "bf_alice",
KokoroTtsVoice.BfEmma => "bf_emma",
KokoroTtsVoice.BfIsabella => "bf_isabella",
Expand All @@ -172,11 +266,32 @@ public static string ToValueString(this KokoroTtsVoice value)
KokoroTtsVoice.BmFable => "bm_fable",
KokoroTtsVoice.BmGeorge => "bm_george",
KokoroTtsVoice.BmLewis => "bm_lewis",
KokoroTtsVoice.EfDora => "ef_dora",
KokoroTtsVoice.EmAlex => "em_alex",
KokoroTtsVoice.EmSanta => "em_santa",
KokoroTtsVoice.FfSiwis => "ff_siwis",
KokoroTtsVoice.HfAlpha => "hf_alpha",
KokoroTtsVoice.HfBeta => "hf_beta",
KokoroTtsVoice.HmOmega => "hm_omega",
KokoroTtsVoice.HmPsi => "hm_psi",
KokoroTtsVoice.IfSara => "if_sara",
KokoroTtsVoice.ImNicola => "im_nicola",
KokoroTtsVoice.JfAlpha => "jf_alpha",
KokoroTtsVoice.JfGongitsune => "jf_gongitsune",
KokoroTtsVoice.JfNezumi => "jf_nezumi",
KokoroTtsVoice.JfTebukuro => "jf_tebukuro",
KokoroTtsVoice.JmKumo => "jm_kumo",
KokoroTtsVoice.PfDora => "pf_dora",
KokoroTtsVoice.PmAlex => "pm_alex",
KokoroTtsVoice.PmSanta => "pm_santa",
KokoroTtsVoice.ZfXiaobei => "zf_xiaobei",
KokoroTtsVoice.ZfXiaoni => "zf_xiaoni",
KokoroTtsVoice.ZfXiaoxiao => "zf_xiaoxiao",
KokoroTtsVoice.ZfXiaoyi => "zf_xiaoyi",
KokoroTtsVoice.ZmYunjian => "zm_yunjian",
KokoroTtsVoice.ZmYunxi => "zm_yunxi",
KokoroTtsVoice.ZmYunxia => "zm_yunxia",
KokoroTtsVoice.ZmYunyang => "zm_yunyang",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -190,6 +305,7 @@ public static string ToValueString(this KokoroTtsVoice value)
"af_alloy" => KokoroTtsVoice.AfAlloy,
"af_aoede" => KokoroTtsVoice.AfAoede,
"af_bella" => KokoroTtsVoice.AfBella,
"af_heart" => KokoroTtsVoice.AfHeart,
"af_jessica" => KokoroTtsVoice.AfJessica,
"af_kore" => KokoroTtsVoice.AfKore,
"af_nicole" => KokoroTtsVoice.AfNicole,
Expand All @@ -205,6 +321,7 @@ public static string ToValueString(this KokoroTtsVoice value)
"am_michael" => KokoroTtsVoice.AmMichael,
"am_onyx" => KokoroTtsVoice.AmOnyx,
"am_puck" => KokoroTtsVoice.AmPuck,
"am_santa" => KokoroTtsVoice.AmSanta,
"bf_alice" => KokoroTtsVoice.BfAlice,
"bf_emma" => KokoroTtsVoice.BfEmma,
"bf_isabella" => KokoroTtsVoice.BfIsabella,
Expand All @@ -213,11 +330,32 @@ public static string ToValueString(this KokoroTtsVoice value)
"bm_fable" => KokoroTtsVoice.BmFable,
"bm_george" => KokoroTtsVoice.BmGeorge,
"bm_lewis" => KokoroTtsVoice.BmLewis,
"ef_dora" => KokoroTtsVoice.EfDora,
"em_alex" => KokoroTtsVoice.EmAlex,
"em_santa" => KokoroTtsVoice.EmSanta,
"ff_siwis" => KokoroTtsVoice.FfSiwis,
"hf_alpha" => KokoroTtsVoice.HfAlpha,
"hf_beta" => KokoroTtsVoice.HfBeta,
"hm_omega" => KokoroTtsVoice.HmOmega,
"hm_psi" => KokoroTtsVoice.HmPsi,
"if_sara" => KokoroTtsVoice.IfSara,
"im_nicola" => KokoroTtsVoice.ImNicola,
"jf_alpha" => KokoroTtsVoice.JfAlpha,
"jf_gongitsune" => KokoroTtsVoice.JfGongitsune,
"jf_nezumi" => KokoroTtsVoice.JfNezumi,
"jf_tebukuro" => KokoroTtsVoice.JfTebukuro,
"jm_kumo" => KokoroTtsVoice.JmKumo,
"pf_dora" => KokoroTtsVoice.PfDora,
"pm_alex" => KokoroTtsVoice.PmAlex,
"pm_santa" => KokoroTtsVoice.PmSanta,
"zf_xiaobei" => KokoroTtsVoice.ZfXiaobei,
"zf_xiaoni" => KokoroTtsVoice.ZfXiaoni,
"zf_xiaoxiao" => KokoroTtsVoice.ZfXiaoxiao,
"zf_xiaoyi" => KokoroTtsVoice.ZfXiaoyi,
"zm_yunjian" => KokoroTtsVoice.ZmYunjian,
"zm_yunxi" => KokoroTtsVoice.ZmYunxi,
"zm_yunxia" => KokoroTtsVoice.ZmYunxia,
"zm_yunyang" => KokoroTtsVoice.ZmYunyang,
_ => null,
};
}
Expand Down
23 changes: 23 additions & 0 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4088,6 +4088,7 @@ components:
- af_alloy
- af_aoede
- af_bella
- af_heart
- af_jessica
- af_kore
- af_nicole
Expand All @@ -4103,6 +4104,7 @@ components:
- am_michael
- am_onyx
- am_puck
- am_santa
- bf_alice
- bf_emma
- bf_isabella
Expand All @@ -4111,11 +4113,32 @@ components:
- bm_fable
- bm_george
- bm_lewis
- ef_dora
- em_alex
- em_santa
- ff_siwis
- hf_alpha
- hf_beta
- hm_omega
- hm_psi
- if_sara
- im_nicola
- jf_alpha
- jf_gongitsune
- jf_nezumi
- jf_tebukuro
- jm_kumo
- pf_dora
- pm_alex
- pm_santa
- zf_xiaobei
- zf_xiaoni
- zf_xiaoxiao
- zf_xiaoyi
- zm_yunjian
- zm_yunxi
- zm_yunxia
- zm_yunyang
type: string
description: Select the desired voice for the speech output. You can select multiple to combine and mix voices.
LLMDeploymentStatsOut:
Expand Down
Loading