feat(swagger): update swagger (#12674)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
localai-org-maint-botandmudler authored and GitHub committed 2026-10-14 01:06:34 +02:00
1 parent c7ce0c602c
commit 91c3bf084b
3 files changed
+111

No files matched your search

+41
View File
@@ -9458,6 +9458,26 @@ const docTemplate = `{
}
}
},
"schema.VideoReference": {
"type": "object",
"properties": {
"audio": {
"description": "optional audio paired with this video",
"type": "string"
},
"fps": {
"description": "frame rate of the source frames; 0 means the backend default",
"type": "integer"
},
"frames": {
"description": "ordered frame images: URL, base64 or data URI",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"schema.VideoRequest": {
"type": "object",
"properties": {
@@ -9507,6 +9527,27 @@ const docTemplate = `{
"description": "text description of the video to generate",
"type": "string"
},
"ref_audios": {
"description": "reference audio clips (WAV); exclusive with start_image/end_image",
"type": "array",
"items": {
"type": "string"
}
},
"ref_images": {
"description": "reference images (URL, base64 or data URI); exclusive with start_image/end_image",
"type": "array",
"items": {
"type": "string"
}
},
"ref_videos": {
"description": "reference videos as frame lists; exclusive with start_image/end_image",
"type": "array",
"items": {
"$ref": "#/definitions/schema.VideoReference"
}
},
"response_format": {
"description": "output format (url or b64_json)",
"type": "string"
+41
View File
@@ -9455,6 +9455,26 @@
}
}
},
"schema.VideoReference": {
"type": "object",
"properties": {
"audio": {
"description": "optional audio paired with this video",
"type": "string"
},
"fps": {
"description": "frame rate of the source frames; 0 means the backend default",
"type": "integer"
},
"frames": {
"description": "ordered frame images: URL, base64 or data URI",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"schema.VideoRequest": {
"type": "object",
"properties": {
@@ -9504,6 +9524,27 @@
"description": "text description of the video to generate",
"type": "string"
},
"ref_audios": {
"description": "reference audio clips (WAV); exclusive with start_image/end_image",
"type": "array",
"items": {
"type": "string"
}
},
"ref_images": {
"description": "reference images (URL, base64 or data URI); exclusive with start_image/end_image",
"type": "array",
"items": {
"type": "string"
}
},
"ref_videos": {
"description": "reference videos as frame lists; exclusive with start_image/end_image",
"type": "array",
"items": {
"$ref": "#/definitions/schema.VideoReference"
}
},
"response_format": {
"description": "output format (url or b64_json)",
"type": "string"
+29
View File
@@ -3429,6 +3429,20 @@ definitions:
model:
type: string
type: object
schema.VideoReference:
properties:
audio:
description: optional audio paired with this video
type: string
fps:
description: frame rate of the source frames; 0 means the backend default
type: integer
frames:
description: 'ordered frame images: URL, base64 or data URI'
items:
type: string
type: array
type: object
schema.VideoRequest:
properties:
audio:
@@ -3465,6 +3479,21 @@ definitions:
prompt:
description: text description of the video to generate
type: string
ref_audios:
description: reference audio clips (WAV); exclusive with start_image/end_image
items:
type: string
type: array
ref_images:
description: reference images (URL, base64 or data URI); exclusive with start_image/end_image
items:
type: string
type: array
ref_videos:
description: reference videos as frame lists; exclusive with start_image/end_image
items:
$ref: '#/definitions/schema.VideoReference'
type: array
response_format:
description: output format (url or b64_json)
type: string