Compare commits

..
Author SHA1 Message Date
OpenRouter SDK Bot 1c1fa61807 chore: update OpenAPI spec [sdk-bot] 2026-04-12 00:16:07 +00:00
4e84bb736b chore: update OpenAPI spec from monorepo (#98)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-10 21:16:40 -04:00
947e92e68d chore: update OpenAPI spec from monorepo (#99)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-10 21:16:13 -04:00
bdbd8becc2 chore: update OpenAPI spec from monorepo (#97)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-10 21:15:46 -04:00
6ef088e7c7 chore: update OpenAPI spec from monorepo (#100)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-10 21:15:45 -04:00
e4e5cc259a chore: update OpenAPI spec from monorepo (#101)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-10 21:14:47 -04:00
+83 -2
View File
@@ -1057,6 +1057,33 @@ components:
- type
- data
type: object
AnthropicRefusalStopDetails:
description: Structured information about a refusal
example:
category: cyber
explanation: The request was refused due to policy.
type: refusal
nullable: true
properties:
category:
enum:
- cyber
- bio
- null
nullable: true
type: string
explanation:
nullable: true
type: string
type:
enum:
- refusal
type: string
required:
- type
- category
- explanation
type: object
AnthropicSearchResultBlockParam:
example:
content:
@@ -2315,6 +2342,7 @@ components:
id: msg_01XFDUDYJgAACzvnptvVoYEL
model: claude-sonnet-4-5-20250929
role: assistant
stop_details: null
stop_reason: end_turn
stop_sequence: null
type: message
@@ -2338,6 +2366,8 @@ components:
enum:
- assistant
type: string
stop_details:
$ref: '#/components/schemas/AnthropicRefusalStopDetails'
stop_reason:
$ref: '#/components/schemas/ORAnthropicStopReason'
stop_sequence:
@@ -2375,6 +2405,7 @@ components:
- content
- model
- stop_reason
- stop_details
- stop_sequence
- usage
type: object
@@ -5385,6 +5416,24 @@ components:
required:
- type
type: object
FrameImage:
allOf:
- $ref: '#/components/schemas/ContentPartImage'
- properties:
frame_type:
description: Whether this image represents the first or last frame of the video
enum:
- first_frame
- last_frame
example: first_frame
type: string
required:
- frame_type
type: object
example:
image_url:
url: https://example.com/image.png
type: image_url
FunctionCallArgsDeltaEvent:
allOf:
- $ref: '#/components/schemas/BaseFunctionCallArgsDeltaEvent'
@@ -6737,6 +6786,7 @@ components:
description: Event sent when the message metadata changes (e.g., stop_reason)
example:
delta:
stop_details: null
stop_reason: end_turn
stop_sequence: null
type: message_delta
@@ -6747,6 +6797,8 @@ components:
properties:
container:
$ref: '#/components/schemas/AnthropicContainer'
stop_details:
$ref: '#/components/schemas/AnthropicRefusalStopDetails'
stop_reason:
$ref: '#/components/schemas/ORAnthropicStopReason'
stop_sequence:
@@ -6754,6 +6806,7 @@ components:
type: string
required:
- container
- stop_details
- stop_reason
- stop_sequence
type: object
@@ -7537,6 +7590,7 @@ components:
id: msg_01XFDUDYJgAACzvnptvVoYEL
model: claude-sonnet-4-5-20250929
role: assistant
stop_details: null
stop_reason: end_turn
stop_sequence: null
type: message
@@ -7557,6 +7611,7 @@ components:
id: msg_01XFDUDYJgAACzvnptvVoYEL
model: claude-sonnet-4-5-20250929
role: assistant
stop_details: null
stop_reason: null
stop_sequence: null
type: message
@@ -7688,6 +7743,8 @@ components:
enum:
- assistant
type: string
stop_details:
$ref: '#/components/schemas/AnthropicRefusalStopDetails'
stop_reason:
nullable: true
stop_sequence:
@@ -7724,6 +7781,7 @@ components:
- content
- model
- stop_reason
- stop_details
- stop_sequence
- usage
type: object
@@ -12109,10 +12167,17 @@ components:
exclusiveMinimum: true
minimum: 0
type: integer
frame_images:
description: >-
Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of
first_frame or last_frame.
items:
$ref: '#/components/schemas/FrameImage'
type: array
generate_audio:
description: >-
Whether to generate audio alongside the video. Defaults to true for models that support audio output, false
otherwise.
Whether to generate audio alongside the video. Defaults to the endpoint's generate_audio capability flag,
false if not set.
example: true
type: boolean
input_references:
@@ -12636,10 +12701,12 @@ components:
canonical_slug: google/veo-3.1
created: 1700000000
description: Google video generation model
generate_audio: true
id: google/veo-3.1
name: Veo 3.1
pricing_skus:
generate: '0.50'
seed: null
supported_aspect_ratios:
- '16:9'
supported_durations:
@@ -12666,6 +12733,10 @@ components:
description: Description of the model
example: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
type: string
generate_audio:
description: Whether the model supports generating audio alongside video
nullable: true
type: boolean
hugging_face_id:
description: Hugging Face model identifier, if applicable
example: microsoft/DialoGPT-medium
@@ -12685,6 +12756,10 @@ components:
description: Pricing SKUs with provider prefix stripped, values as strings
nullable: true
type: object
seed:
description: Whether the model supports deterministic generation via seed parameter
nullable: true
type: boolean
supported_aspect_ratios:
description: Supported output aspect ratios
items:
@@ -12762,6 +12837,8 @@ components:
- supported_aspect_ratios
- supported_sizes
- supported_durations
- generate_audio
- seed
- allowed_passthrough_parameters
type: object
VideoModelsListResponse:
@@ -12771,10 +12848,12 @@ components:
canonical_slug: google/veo-3.1
created: 1700000000
description: Google video generation model
generate_audio: true
id: google/veo-3.1
name: Veo 3.1
pricing_skus:
generate: '0.50'
seed: null
supported_aspect_ratios:
- '16:9'
supported_durations:
@@ -19085,10 +19164,12 @@ paths:
canonical_slug: google/veo-3.1
created: 1700000000
description: Google video generation model
generate_audio: true
id: google/veo-3.1
name: Veo 3.1
pricing_skus:
generate: '0.50'
seed: null
supported_aspect_ratios:
- '16:9'
supported_durations: