Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ partial void ProcessCreateResponseContent(
/// Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys). The optional `external` object associates the key with a partner-defined user and lookup key.
/// </summary>
/// <param name="creatorUserId">
/// Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key.<br/>
/// Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. A workspace-scoped management key may only name a member of its own workspace.<br/>
/// Example: user_2dHFtVWx2n56w6HkM0000000000
/// </param>
/// <param name="expiresAt">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public partial interface IApiKeysClient
/// Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys). The optional `external` object associates the key with a partner-defined user and lookup key.
/// </summary>
/// <param name="creatorUserId">
/// Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key.<br/>
/// Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. A workspace-scoped management key may only name a member of its own workspace.<br/>
/// Example: user_2dHFtVWx2n56w6HkM0000000000
/// </param>
/// <param name="expiresAt">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,21 @@ public partial interface IImagesClient
/// Background treatment. `transparent` requires an output_format that supports alpha (png or webp).<br/>
/// Example: auto
/// </param>
/// <param name="frameCount">
/// Number of animation frames (2-64) when `output_format` is `gif`. Only honored by models that produce animations (OpenAI gpt-image-2.6, generations only); ignored otherwise.<br/>
/// Example: 8
/// </param>
/// <param name="frameDurationMs">
/// Display time of each animation frame in milliseconds (20-2000) when `output_format` is `gif`. Ignored by models that do not produce animations.<br/>
/// Example: 100
/// </param>
/// <param name="inputReferences">
/// Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs.
/// </param>
/// <param name="markup">
/// A transparent PNG overlay (arrows, circles, annotations) with the same dimensions as the first reference image, as a base64 data URL or HTTP(S) URL, guiding where an edit applies. Image-to-image requests only; honored by models with markup-guided editing (OpenAI gpt-image-2.6) and ignored otherwise.<br/>
/// Example: {"image_url":{"url":"https://example.com/image.png"},"type":"image_url"}
/// </param>
/// <param name="model">
/// The image generation model to use<br/>
/// Example: bytedance-seed/seedream-4.5
Expand All @@ -58,7 +70,7 @@ public partial interface IImagesClient
/// Example: 100
/// </param>
/// <param name="outputFormat">
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`.<br/>
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. GIF produces an animation on models that support it (OpenAI gpt-image-2.6; see `frame_count`).<br/>
/// Example: png
/// </param>
/// <param name="prompt">
Expand Down Expand Up @@ -104,7 +116,10 @@ public partial interface IImagesClient
string prompt,
global::OpenRouter.ImageGenerationRequestAspectRatio? aspectRatio = default,
global::OpenRouter.ImageGenerationRequestBackground? background = default,
int? frameCount = default,
int? frameDurationMs = default,
global::System.Collections.Generic.IList<global::OpenRouter.ContentPartImage>? inputReferences = default,
global::OpenRouter.AllOf<global::OpenRouter.ContentPartImage, object>? markup = default,
int? n = default,
int? outputCompression = default,
global::OpenRouter.ImageGenerationRequestOutputFormat? outputFormat = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,21 @@ public partial interface IImagesClient
/// Background treatment. `transparent` requires an output_format that supports alpha (png or webp).<br/>
/// Example: auto
/// </param>
/// <param name="frameCount">
/// Number of animation frames (2-64) when `output_format` is `gif`. Only honored by models that produce animations (OpenAI gpt-image-2.6, generations only); ignored otherwise.<br/>
/// Example: 8
/// </param>
/// <param name="frameDurationMs">
/// Display time of each animation frame in milliseconds (20-2000) when `output_format` is `gif`. Ignored by models that do not produce animations.<br/>
/// Example: 100
/// </param>
/// <param name="inputReferences">
/// Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs.
/// </param>
/// <param name="markup">
/// A transparent PNG overlay (arrows, circles, annotations) with the same dimensions as the first reference image, as a base64 data URL or HTTP(S) URL, guiding where an edit applies. Image-to-image requests only; honored by models with markup-guided editing (OpenAI gpt-image-2.6) and ignored otherwise.<br/>
/// Example: {"image_url":{"url":"https://example.com/image.png"},"type":"image_url"}
/// </param>
/// <param name="model">
/// The image generation model to use<br/>
/// Example: bytedance-seed/seedream-4.5
Expand All @@ -45,7 +57,7 @@ public partial interface IImagesClient
/// Example: 100
/// </param>
/// <param name="outputFormat">
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`.<br/>
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. GIF produces an animation on models that support it (OpenAI gpt-image-2.6; see `frame_count`).<br/>
/// Example: png
/// </param>
/// <param name="prompt">
Expand Down Expand Up @@ -91,7 +103,10 @@ public partial interface IImagesClient
string prompt,
global::OpenRouter.ImageGenerationRequestAspectRatio? aspectRatio = default,
global::OpenRouter.ImageGenerationRequestBackground? background = default,
int? frameCount = default,
int? frameDurationMs = default,
global::System.Collections.Generic.IList<global::OpenRouter.ContentPartImage>? inputReferences = default,
global::OpenRouter.AllOf<global::OpenRouter.ContentPartImage, object>? markup = default,
int? n = default,
int? outputCompression = default,
global::OpenRouter.ImageGenerationRequestOutputFormat? outputFormat = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public partial interface ISttClient
/// Example: openai/whisper-large-v3
/// </param>
/// <param name="provider">
/// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options
/// Provider configuration: provider routing preferences (`order`, `only`, `ignore`, `allow_fallbacks`), data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options
/// </param>
/// <param name="responseFormat">
/// Output format. "json" (default) returns { text, usage }. "verbose_json" additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public partial interface ITtsClient
/// Example: mistralai/voxtral-mini-tts-2603
/// </param>
/// <param name="provider">
/// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options
/// Provider configuration: provider routing preferences (`order`, `only`, `ignore`, `allow_fallbacks`), data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options
/// </param>
/// <param name="responseFormat">
/// Audio output format<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public partial interface IVideoGenerationClient
/// Example: A serene mountain landscape at sunset
/// </param>
/// <param name="provider">
/// Provider-specific passthrough configuration
/// Provider routing preferences (order, only, ignore) and provider-specific passthrough configuration
/// </param>
/// <param name="resolution">
/// Resolution of the generated video<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ partial void ProcessGenerateResponseContent(
{
AspectRatio = request.AspectRatio,
Background = request.Background,
FrameCount = request.FrameCount,
FrameDurationMs = request.FrameDurationMs,
InputReferences = request.InputReferences,
Markup = request.Markup,
Model = request.Model,
N = request.N,
OutputCompression = request.OutputCompression,
Expand Down Expand Up @@ -876,9 +879,21 @@ partial void ProcessGenerateResponseContent(
/// Background treatment. `transparent` requires an output_format that supports alpha (png or webp).<br/>
/// Example: auto
/// </param>
/// <param name="frameCount">
/// Number of animation frames (2-64) when `output_format` is `gif`. Only honored by models that produce animations (OpenAI gpt-image-2.6, generations only); ignored otherwise.<br/>
/// Example: 8
/// </param>
/// <param name="frameDurationMs">
/// Display time of each animation frame in milliseconds (20-2000) when `output_format` is `gif`. Ignored by models that do not produce animations.<br/>
/// Example: 100
/// </param>
/// <param name="inputReferences">
/// Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs.
/// </param>
/// <param name="markup">
/// A transparent PNG overlay (arrows, circles, annotations) with the same dimensions as the first reference image, as a base64 data URL or HTTP(S) URL, guiding where an edit applies. Image-to-image requests only; honored by models with markup-guided editing (OpenAI gpt-image-2.6) and ignored otherwise.<br/>
/// Example: {"image_url":{"url":"https://example.com/image.png"},"type":"image_url"}
/// </param>
/// <param name="model">
/// The image generation model to use<br/>
/// Example: bytedance-seed/seedream-4.5
Expand All @@ -892,7 +907,7 @@ partial void ProcessGenerateResponseContent(
/// Example: 100
/// </param>
/// <param name="outputFormat">
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`.<br/>
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. GIF produces an animation on models that support it (OpenAI gpt-image-2.6; see `frame_count`).<br/>
/// Example: png
/// </param>
/// <param name="prompt">
Expand Down Expand Up @@ -938,7 +953,10 @@ partial void ProcessGenerateResponseContent(
string prompt,
global::OpenRouter.ImageGenerationRequestAspectRatio? aspectRatio = default,
global::OpenRouter.ImageGenerationRequestBackground? background = default,
int? frameCount = default,
int? frameDurationMs = default,
global::System.Collections.Generic.IList<global::OpenRouter.ContentPartImage>? inputReferences = default,
global::OpenRouter.AllOf<global::OpenRouter.ContentPartImage, object>? markup = default,
int? n = default,
int? outputCompression = default,
global::OpenRouter.ImageGenerationRequestOutputFormat? outputFormat = default,
Expand All @@ -957,7 +975,10 @@ partial void ProcessGenerateResponseContent(
{
AspectRatio = aspectRatio,
Background = background,
FrameCount = frameCount,
FrameDurationMs = frameDurationMs,
InputReferences = inputReferences,
Markup = markup,
Model = model,
N = n,
OutputCompression = outputCompression,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ partial void ProcessGenerateAsStreamResponse(
{
AspectRatio = request.AspectRatio,
Background = request.Background,
FrameCount = request.FrameCount,
FrameDurationMs = request.FrameDurationMs,
InputReferences = request.InputReferences,
Markup = request.Markup,
Model = request.Model,
N = request.N,
OutputCompression = request.OutputCompression,
Expand Down Expand Up @@ -412,9 +415,21 @@ partial void ProcessGenerateAsStreamResponse(
/// Background treatment. `transparent` requires an output_format that supports alpha (png or webp).<br/>
/// Example: auto
/// </param>
/// <param name="frameCount">
/// Number of animation frames (2-64) when `output_format` is `gif`. Only honored by models that produce animations (OpenAI gpt-image-2.6, generations only); ignored otherwise.<br/>
/// Example: 8
/// </param>
/// <param name="frameDurationMs">
/// Display time of each animation frame in milliseconds (20-2000) when `output_format` is `gif`. Ignored by models that do not produce animations.<br/>
/// Example: 100
/// </param>
/// <param name="inputReferences">
/// Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs.
/// </param>
/// <param name="markup">
/// A transparent PNG overlay (arrows, circles, annotations) with the same dimensions as the first reference image, as a base64 data URL or HTTP(S) URL, guiding where an edit applies. Image-to-image requests only; honored by models with markup-guided editing (OpenAI gpt-image-2.6) and ignored otherwise.<br/>
/// Example: {"image_url":{"url":"https://example.com/image.png"},"type":"image_url"}
/// </param>
/// <param name="model">
/// The image generation model to use<br/>
/// Example: bytedance-seed/seedream-4.5
Expand All @@ -428,7 +443,7 @@ partial void ProcessGenerateAsStreamResponse(
/// Example: 100
/// </param>
/// <param name="outputFormat">
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`.<br/>
/// Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. GIF produces an animation on models that support it (OpenAI gpt-image-2.6; see `frame_count`).<br/>
/// Example: png
/// </param>
/// <param name="prompt">
Expand Down Expand Up @@ -474,7 +489,10 @@ partial void ProcessGenerateAsStreamResponse(
string prompt,
global::OpenRouter.ImageGenerationRequestAspectRatio? aspectRatio = default,
global::OpenRouter.ImageGenerationRequestBackground? background = default,
int? frameCount = default,
int? frameDurationMs = default,
global::System.Collections.Generic.IList<global::OpenRouter.ContentPartImage>? inputReferences = default,
global::OpenRouter.AllOf<global::OpenRouter.ContentPartImage, object>? markup = default,
int? n = default,
int? outputCompression = default,
global::OpenRouter.ImageGenerationRequestOutputFormat? outputFormat = default,
Expand All @@ -493,7 +511,10 @@ partial void ProcessGenerateAsStreamResponse(
{
AspectRatio = aspectRatio,
Background = background,
FrameCount = frameCount,
FrameDurationMs = frameDurationMs,
InputReferences = inputReferences,
Markup = markup,
Model = model,
N = n,
OutputCompression = outputCompression,
Expand Down
Loading
Loading