diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs
index c97f12a3..77ba83e4 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs
@@ -155,6 +155,10 @@ public enum BYOKProviderSlug
///
///
///
+ Heygen,
+ ///
+ ///
+ ///
Inception,
///
///
@@ -402,6 +406,7 @@ public static string ToValueString(this BYOKProviderSlug value)
BYOKProviderSlug.GoogleAiStudio => "google-ai-studio",
BYOKProviderSlug.GoogleVertex => "google-vertex",
BYOKProviderSlug.Groq => "groq",
+ BYOKProviderSlug.Heygen => "heygen",
BYOKProviderSlug.Inception => "inception",
BYOKProviderSlug.Inceptron => "inceptron",
BYOKProviderSlug.InferactVllm => "inferact-vllm",
@@ -498,6 +503,7 @@ public static string ToValueString(this BYOKProviderSlug value)
"google-ai-studio" => BYOKProviderSlug.GoogleAiStudio,
"google-vertex" => BYOKProviderSlug.GoogleVertex,
"groq" => BYOKProviderSlug.Groq,
+ "heygen" => BYOKProviderSlug.Heygen,
"inception" => BYOKProviderSlug.Inception,
"inceptron" => BYOKProviderSlug.Inceptron,
"inferact-vllm" => BYOKProviderSlug.InferactVllm,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs
index 9fff2885..76a2d29f 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs
@@ -155,6 +155,10 @@ public enum ByokGetParametersProvider
///
///
///
+ Heygen,
+ ///
+ ///
+ ///
Inception,
///
///
@@ -402,6 +406,7 @@ public static string ToValueString(this ByokGetParametersProvider value)
ByokGetParametersProvider.GoogleAiStudio => "google-ai-studio",
ByokGetParametersProvider.GoogleVertex => "google-vertex",
ByokGetParametersProvider.Groq => "groq",
+ ByokGetParametersProvider.Heygen => "heygen",
ByokGetParametersProvider.Inception => "inception",
ByokGetParametersProvider.Inceptron => "inceptron",
ByokGetParametersProvider.InferactVllm => "inferact-vllm",
@@ -498,6 +503,7 @@ public static string ToValueString(this ByokGetParametersProvider value)
"google-ai-studio" => ByokGetParametersProvider.GoogleAiStudio,
"google-vertex" => ByokGetParametersProvider.GoogleVertex,
"groq" => ByokGetParametersProvider.Groq,
+ "heygen" => ByokGetParametersProvider.Heygen,
"inception" => ByokGetParametersProvider.Inception,
"inceptron" => ByokGetParametersProvider.Inceptron,
"inferact-vllm" => ByokGetParametersProvider.InferactVllm,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs
index c558f4a5..6641da14 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs
@@ -278,6 +278,12 @@ public sealed partial class ImageGenerationRequestProviderOptions
[global::System.Text.Json.Serialization.JsonPropertyName("groq")]
public object? Groq { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("heygen")]
+ public object? Heygen { get; set; }
+
///
///
///
@@ -770,6 +776,7 @@ public sealed partial class ImageGenerationRequestProviderOptions
///
///
///
+ ///
///
///
///
@@ -892,6 +899,7 @@ public ImageGenerationRequestProviderOptions(
object? googleVertex,
object? gopomelo,
object? groq,
+ object? heygen,
object? huggingface,
object? hyperbolic,
object? hyperbolicQuantized,
@@ -1011,6 +1019,7 @@ public ImageGenerationRequestProviderOptions(
this.GoogleVertex = googleVertex;
this.Gopomelo = gopomelo;
this.Groq = groq;
+ this.Heygen = heygen;
this.Huggingface = huggingface;
this.Hyperbolic = hyperbolic;
this.HyperbolicQuantized = hyperbolicQuantized;
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen.Json.g.cs
new file mode 100644
index 00000000..f9b86558
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace OpenRouter
+{
+ public sealed partial class ImageGenerationRequestProviderOptionsHeygen
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen),
+ jsonSerializerContext) as global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen),
+ jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen.g.cs
new file mode 100644
index 00000000..acba96b4
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace OpenRouter
+{
+ ///
+ ///
+ ///
+ public sealed partial class ImageGenerationRequestProviderOptionsHeygen
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen2.Json.g.cs
new file mode 100644
index 00000000..0c3e769a
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen2.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace OpenRouter
+{
+ public sealed partial class ImageGenerationRequestProviderOptionsHeygen2
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen2? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen2),
+ jsonSerializerContext) as global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen2;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen2? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen2),
+ jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ImageGenerationRequestProviderOptionsHeygen2;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen2.g.cs
new file mode 100644
index 00000000..fbf905b1
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsHeygen2.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace OpenRouter
+{
+ ///
+ /// Any type
+ ///
+ public sealed partial class ImageGenerationRequestProviderOptionsHeygen2
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs
index e377f95c..0a0753ec 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs
@@ -163,6 +163,10 @@ public enum ProviderName
///
///
///
+ HeyGen,
+ ///
+ ///
+ ///
Inception,
///
///
@@ -416,6 +420,7 @@ public static string ToValueString(this ProviderName value)
ProviderName.Google => "Google",
ProviderName.GoogleAiStudio => "Google AI Studio",
ProviderName.Groq => "Groq",
+ ProviderName.HeyGen => "HeyGen",
ProviderName.Inception => "Inception",
ProviderName.Inceptron => "Inceptron",
ProviderName.InferactVLLM => "Inferact vLLM",
@@ -515,6 +520,7 @@ public static string ToValueString(this ProviderName value)
"Google" => ProviderName.Google,
"Google AI Studio" => ProviderName.GoogleAiStudio,
"Groq" => ProviderName.Groq,
+ "HeyGen" => ProviderName.HeyGen,
"Inception" => ProviderName.Inception,
"Inceptron" => ProviderName.Inceptron,
"Inferact vLLM" => ProviderName.InferactVLLM,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs
index 04013365..830e25ff 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs
@@ -278,6 +278,12 @@ public sealed partial class ProviderOptions
[global::System.Text.Json.Serialization.JsonPropertyName("groq")]
public object? Groq { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("heygen")]
+ public object? Heygen { get; set; }
+
///
///
///
@@ -770,6 +776,7 @@ public sealed partial class ProviderOptions
///
///
///
+ ///
///
///
///
@@ -892,6 +899,7 @@ public ProviderOptions(
object? googleVertex,
object? gopomelo,
object? groq,
+ object? heygen,
object? huggingface,
object? hyperbolic,
object? hyperbolicQuantized,
@@ -1011,6 +1019,7 @@ public ProviderOptions(
this.GoogleVertex = googleVertex;
this.Gopomelo = gopomelo;
this.Groq = groq;
+ this.Heygen = heygen;
this.Huggingface = huggingface;
this.Hyperbolic = hyperbolic;
this.HyperbolicQuantized = hyperbolicQuantized;
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen.Json.g.cs
new file mode 100644
index 00000000..841d2ca9
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace OpenRouter
+{
+ public sealed partial class ProviderOptionsHeygen
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ProviderOptionsHeygen? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::OpenRouter.ProviderOptionsHeygen),
+ jsonSerializerContext) as global::OpenRouter.ProviderOptionsHeygen;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ProviderOptionsHeygen? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::OpenRouter.ProviderOptionsHeygen? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::OpenRouter.ProviderOptionsHeygen),
+ jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsHeygen;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen.g.cs
new file mode 100644
index 00000000..6a92b891
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace OpenRouter
+{
+ ///
+ ///
+ ///
+ public sealed partial class ProviderOptionsHeygen
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen2.Json.g.cs
new file mode 100644
index 00000000..39e45a95
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen2.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace OpenRouter
+{
+ public sealed partial class ProviderOptionsHeygen2
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ProviderOptionsHeygen2? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::OpenRouter.ProviderOptionsHeygen2),
+ jsonSerializerContext) as global::OpenRouter.ProviderOptionsHeygen2;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::OpenRouter.ProviderOptionsHeygen2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::OpenRouter.ProviderOptionsHeygen2? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::OpenRouter.ProviderOptionsHeygen2),
+ jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsHeygen2;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen2.g.cs
new file mode 100644
index 00000000..67f91316
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsHeygen2.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace OpenRouter
+{
+ ///
+ /// Any type
+ ///
+ public sealed partial class ProviderOptionsHeygen2
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs
index 1563d0ff..d7884ce6 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs
@@ -191,6 +191,10 @@ public enum ProviderResponseProviderName
///
///
///
+ HeyGen,
+ ///
+ ///
+ ///
HuggingFace,
///
///
@@ -539,6 +543,7 @@ public static string ToValueString(this ProviderResponseProviderName value)
ProviderResponseProviderName.Google => "Google",
ProviderResponseProviderName.GoogleAiStudio => "Google AI Studio",
ProviderResponseProviderName.Groq => "Groq",
+ ProviderResponseProviderName.HeyGen => "HeyGen",
ProviderResponseProviderName.HuggingFace => "HuggingFace",
ProviderResponseProviderName.Hyperbolic => "Hyperbolic",
ProviderResponseProviderName.Hyperbolic2 => "Hyperbolic 2",
@@ -667,6 +672,7 @@ public static string ToValueString(this ProviderResponseProviderName value)
"Google" => ProviderResponseProviderName.Google,
"Google AI Studio" => ProviderResponseProviderName.GoogleAiStudio,
"Groq" => ProviderResponseProviderName.Groq,
+ "HeyGen" => ProviderResponseProviderName.HeyGen,
"HuggingFace" => ProviderResponseProviderName.HuggingFace,
"Hyperbolic" => ProviderResponseProviderName.Hyperbolic,
"Hyperbolic 2" => ProviderResponseProviderName.Hyperbolic2,
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs
index 11fa469f..902644eb 100644
--- a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs
@@ -278,6 +278,12 @@ public sealed partial class VideoGenerationRequestProviderOptions
[global::System.Text.Json.Serialization.JsonPropertyName("groq")]
public object? Groq { get; set; }
+ ///
+ ///
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("heygen")]
+ public object? Heygen { get; set; }
+
///
///
///
@@ -770,6 +776,7 @@ public sealed partial class VideoGenerationRequestProviderOptions
///
///
///
+ ///
///
///
///
@@ -892,6 +899,7 @@ public VideoGenerationRequestProviderOptions(
object? googleVertex,
object? gopomelo,
object? groq,
+ object? heygen,
object? huggingface,
object? hyperbolic,
object? hyperbolicQuantized,
@@ -1011,6 +1019,7 @@ public VideoGenerationRequestProviderOptions(
this.GoogleVertex = googleVertex;
this.Gopomelo = gopomelo;
this.Groq = groq;
+ this.Heygen = heygen;
this.Huggingface = huggingface;
this.Hyperbolic = hyperbolic;
this.HyperbolicQuantized = hyperbolicQuantized;
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen.Json.g.cs
new file mode 100644
index 00000000..f15d4740
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace OpenRouter
+{
+ public sealed partial class VideoGenerationRequestProviderOptionsHeygen
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen),
+ jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen),
+ jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen.g.cs
new file mode 100644
index 00000000..280e918f
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace OpenRouter
+{
+ ///
+ ///
+ ///
+ public sealed partial class VideoGenerationRequestProviderOptionsHeygen
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen2.Json.g.cs
new file mode 100644
index 00000000..2a044894
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen2.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace OpenRouter
+{
+ public sealed partial class VideoGenerationRequestProviderOptionsHeygen2
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen2? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen2),
+ jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen2;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen2? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen2),
+ jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsHeygen2;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::OpenRouter.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen2.g.cs
new file mode 100644
index 00000000..f6cfa580
--- /dev/null
+++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsHeygen2.g.cs
@@ -0,0 +1,19 @@
+
+#nullable enable
+
+namespace OpenRouter
+{
+ ///
+ /// Any type
+ ///
+ public sealed partial class VideoGenerationRequestProviderOptionsHeygen2
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml
index 47a7e025..185aa0e2 100644
--- a/src/libs/OpenRouter/openapi.yaml
+++ b/src/libs/OpenRouter/openapi.yaml
@@ -11334,6 +11334,7 @@
"Google",
"Google AI Studio",
"Groq",
+ "HeyGen",
"Inception",
"Inceptron",
"InferenceNet",
@@ -18556,6 +18557,12 @@
"description": "Any type"
}
},
+ "heygen": {
+ "type": "object",
+ "additionalProperties": {
+ "description": "Any type"
+ }
+ },
"huggingface": {
"type": "object",
"additionalProperties": {
@@ -20117,6 +20124,12 @@
"description": "Any type"
}
},
+ "heygen": {
+ "type": "object",
+ "additionalProperties": {
+ "description": "Any type"
+ }
+ },
"huggingface": {
"type": "object",
"additionalProperties": {
@@ -21508,6 +21521,7 @@
"google-ai-studio",
"google-vertex",
"groq",
+ "heygen",
"inception",
"inceptron",
"inferact-vllm",
@@ -21601,6 +21615,7 @@
"google-ai-studio",
"google-vertex",
"groq",
+ "heygen",
"inception",
"inceptron",
"inferact-vllm",
@@ -26520,6 +26535,7 @@
"Google",
"Google AI Studio",
"Groq",
+ "HeyGen",
"Inception",
"Inceptron",
"InferenceNet",
@@ -41918,6 +41934,12 @@
"description": "Any type"
}
},
+ "heygen": {
+ "type": "object",
+ "additionalProperties": {
+ "description": "Any type"
+ }
+ },
"huggingface": {
"type": "object",
"additionalProperties": {