From e846326a7c6849aedb20b8f107796618b0a0566d Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Thu, 5 Nov 2026 13:31:57 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 67210aecf..8dbee7f6e 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -15339,12 +15339,30 @@ components: - 'opaque' example: 'auto' type: 'string' + frame_count: + description: '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.' + example: 8 + type: 'integer' + frame_duration_ms: + description: 'Display time of each animation frame in milliseconds (20-2000) when `output_format` is `gif`. Ignored by models that do not produce animations.' + example: 100 + type: 'integer' input_references: description: 'Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs.' items: $ref: '#/components/schemas/ContentPartImage' maxItems: 16 type: 'array' + markup: + allOf: + - $ref: '#/components/schemas/ContentPartImage' + - properties: {} + type: 'object' + description: '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.' + example: + image_url: + url: 'https://example.com/image.png' + type: 'image_url' model: description: 'The image generation model to use' example: 'bytedance-seed/seedream-4.5' @@ -15358,12 +15376,13 @@ components: example: 100 type: 'integer' output_format: - description: '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`.' + description: '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`).' enum: - 'png' - 'jpeg' - 'webp' - 'svg' + - 'gif' example: 'png' type: 'string' prompt: