MCPcopy Create free account
hub / github.com/pollinations/pollinations / hasAudioOutput

Function hasAudioOutput

pollinations.ai/src/hooks/useModelList.ts:71–73  ·  view source on GitHub ↗
(m: RawModel)

Source from the content-addressed store, hash-verified

69}
70
71function hasAudioOutput(m: RawModel): boolean {
72 return typeof m !== "string" && !!m.output_modalities?.includes("audio");
73}
74
75function modelId(model: RawModel): string {
76 return typeof model === "string" ? model : model.id || model.name || "";

Callers 2

fetchCatalogModelsFunction · 0.70
fetchAllowedModelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected