You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 78bb2f3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -16827,7 +16827,7 @@ components:
16827
16827
description: 'OpenRouter built-in server tool: generates images from text prompts using an image generation model'
16828
16828
example:
16829
16829
parameters:
16830
-
model: 'openai/gpt-5-image'
16830
+
model: 'openai/gpt-image-2.6-flare'
16831
16831
quality: 'high'
16832
16832
size: '1024x1024'
16833
16833
type: 'openrouter:image_generation'
@@ -16852,12 +16852,12 @@ components:
16852
16852
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.'
16853
16853
example:
16854
16854
aspect_ratio: '16:9'
16855
-
model: 'openai/gpt-5-image'
16855
+
model: 'openai/gpt-image-2.6-flare'
16856
16856
quality: 'high'
16857
16857
properties:
16858
16858
model:
16859
-
description: 'Which image generation model to use (e.g. "openai/gpt-5-image"). Defaults to "openai/gpt-5-image".'
16860
-
example: 'openai/gpt-5-image'
16859
+
description: 'Which image generation model to use (e.g. "openai/gpt-image-2.6-flare"). Defaults to "openai/gpt-image-2.6-flare".'
|`model`|*Optional[str]*| ➖ | Which image generation model to use (e.g. "openai/gpt-image-2.6-flare"). Defaults to "openai/gpt-image-2.6-flare". | openai/gpt-image-2.6-flare|
| `parameters` | [Optional[components.ImageGenerationServerToolConfig]](../components/imagegenerationservertoolconfig.mdx) | ➖ | 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. | \{<br/>"aspect_ratio": "16:9",<br/>"model": "openai/gpt-5-image",<br/>"quality": "high"<br/>} |
12
+
| `parameters` | [Optional[components.ImageGenerationServerToolConfig]](../components/imagegenerationservertoolconfig.mdx) | ➖ | 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. | \{<br/>"aspect_ratio": "16:9",<br/>"model": "openai/gpt-image-2.6-flare",<br/>"quality": "high"<br/>} |
Copy file name to clipboardExpand all lines: src/openrouter/components/imagegenerationservertoolconfig.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ class ImageGenerationServerToolConfigTypedDict(TypedDict):
13
13
r"""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."""
14
14
15
15
model: NotRequired[str]
16
-
r"""Which image generation model to use (e.g. \"openai/gpt-5-image\"). Defaults to \"openai/gpt-5-image\"."""
16
+
r"""Which image generation model to use (e.g. \"openai/gpt-image-2.6-flare\"). Defaults to \"openai/gpt-image-2.6-flare\"."""
17
17
18
18
19
19
classImageGenerationServerToolConfig(BaseModel):
@@ -27,7 +27,7 @@ class ImageGenerationServerToolConfig(BaseModel):
27
27
)
28
28
29
29
model: Optional[str] =None
30
-
r"""Which image generation model to use (e.g. \"openai/gpt-5-image\"). Defaults to \"openai/gpt-5-image\"."""
30
+
r"""Which image generation model to use (e.g. \"openai/gpt-image-2.6-flare\"). Defaults to \"openai/gpt-image-2.6-flare\"."""
0 commit comments