diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs index bf42b3ea..47f7f02a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputItems.g.cs @@ -114,6 +114,7 @@ public class OutputItemsJsonConverter : global::System.Text.Json.Serialization.J if (__jsonProps.Contains("id")) __score13++; if (__jsonProps.Contains("imageB64")) __score13++; if (__jsonProps.Contains("imageUrl")) __score13++; + if (__jsonProps.Contains("result")) __score13++; if (__jsonProps.Contains("revisedPrompt")) __score13++; if (__jsonProps.Contains("status")) __score13++; if (__jsonProps.Contains("type")) __score13++; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationServerToolConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationServerToolConfig.g.cs index a8a944d1..6ba6faab 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationServerToolConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationServerToolConfig.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class ImageGenerationServerToolConfig { /// - /// Which image generation model to use (e.g. "openai/gpt-image-1"). Defaults to "openai/gpt-image-1". + /// Which image generation model to use (e.g. "openai/gpt-5-image"). Defaults to "openai/gpt-5-image". /// [global::System.Text.Json.Serialization.JsonPropertyName("model")] public string? Model { get; set; } @@ -24,7 +24,7 @@ public sealed partial class ImageGenerationServerToolConfig /// Initializes a new instance of the class. /// /// - /// Which image generation model to use (e.g. "openai/gpt-image-1"). Defaults to "openai/gpt-image-1". + /// Which image generation model to use (e.g. "openai/gpt-5-image"). Defaults to "openai/gpt-5-image". /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant14.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant14.g.cs index d9bbd3c1..16763ec3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant14.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant14.g.cs @@ -33,6 +33,12 @@ public sealed partial class OutputItemsVariant14 [global::System.Text.Json.Serialization.JsonPropertyName("imageUrl")] public string? ImageUrl { get; set; } + /// + /// The generated image as a base64-encoded string or URL, matching OpenAI image_generation_call format + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result")] + public string? Result { get; set; } + /// /// /// @@ -61,6 +67,9 @@ public sealed partial class OutputItemsVariant14 /// /// /// + /// + /// The generated image as a base64-encoded string or URL, matching OpenAI image_generation_call format + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -71,12 +80,14 @@ public OutputItemsVariant14( string? id, string? imageB64, string? imageUrl, + string? result, string? revisedPrompt) { this.Type = type; this.Id = id; this.ImageB64 = imageB64; this.ImageUrl = imageUrl; + this.Result = result; this.RevisedPrompt = revisedPrompt; this.Status = status; } diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 1b5146c4..c09ad143 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -7206,7 +7206,7 @@ "properties": { "model": { "type": "string", - "description": "Which image generation model to use (e.g. \"openai/gpt-image-1\"). Defaults to \"openai/gpt-image-1\"." + "description": "Which image generation model to use (e.g. \"openai/gpt-5-image\"). Defaults to \"openai/gpt-5-image\"." } }, "description": "Configuration for the openrouter:image_generation server tool. Accepts all image_config params (aspect_ratio, quality, size, background, output_format, output_compression, moderation, etc.) plus a model field.", @@ -8992,6 +8992,13 @@ "imageUrl": { "type": "string" }, + "result": { + "type": [ + "string", + "null" + ], + "description": "The generated image as a base64-encoded string or URL, matching OpenAI image_generation_call format" + }, "revisedPrompt": { "type": "string" },