Skip to content

Commit 7c9d115

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1241)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 357edea commit 7c9d115

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15339,12 +15339,30 @@ components:
1533915339
- 'opaque'
1534015340
example: 'auto'
1534115341
type: 'string'
15342+
frame_count:
15343+
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.'
15344+
example: 8
15345+
type: 'integer'
15346+
frame_duration_ms:
15347+
description: 'Display time of each animation frame in milliseconds (20-2000) when `output_format` is `gif`. Ignored by models that do not produce animations.'
15348+
example: 100
15349+
type: 'integer'
1534215350
input_references:
1534315351
description: 'Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs.'
1534415352
items:
1534515353
$ref: '#/components/schemas/ContentPartImage'
1534615354
maxItems: 16
1534715355
type: 'array'
15356+
markup:
15357+
allOf:
15358+
- $ref: '#/components/schemas/ContentPartImage'
15359+
- properties: {}
15360+
type: 'object'
15361+
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.'
15362+
example:
15363+
image_url:
15364+
url: 'https://example.com/image.png'
15365+
type: 'image_url'
1534815366
model:
1534915367
description: 'The image generation model to use'
1535015368
example: 'bytedance-seed/seedream-4.5'
@@ -15358,12 +15376,13 @@ components:
1535815376
example: 100
1535915377
type: 'integer'
1536015378
output_format:
15361-
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`.'
15379+
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`).'
1536215380
enum:
1536315381
- 'png'
1536415382
- 'jpeg'
1536515383
- 'webp'
1536615384
- 'svg'
15385+
- 'gif'
1536715386
example: 'png'
1536815387
type: 'string'
1536915388
prompt:

0 commit comments

Comments
 (0)