feat: improve media playground inputs and outputs

This commit is contained in:
wlx committed 2026-09-28 23:51:27 +08:00
1 parent 88c55cc6a9
commit 9a946b29e6
7 files changed
+225 -39

No files matched your search

+7
View File
@@ -29,6 +29,9 @@ export interface ModelItem {
description: string
latency: string
specification: string
/** Declared media accepted and returned by this model route. */
inputTypes?: string[]
outputTypes?: string[]
availability: string
accent: string
icon: Component
@@ -82,6 +85,10 @@ export interface TaskItem {
modelUrl?: string
videoUrl?: string
previewUrl?: string
imageUrl?: string
audioUrl?: string
resultUrl?: string
resultFormat?: string
creditsConsumed?: number
remote?: boolean
}