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

Function validateVideoModel

packages/mcp/src/utils/models.js:98–99  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

96 validateAgainstRegistry(name, getTextModels, "text");
97
98export const validateVideoModel = (name) =>
99 validateAgainstRegistry(name, getVideoModels, "video");
100
101export async function validateVoice(voice) {
102 if (!voice) return { valid: true };

Callers 1

prepareVideoRequestFunction · 0.90

Calls 1

validateAgainstRegistryFunction · 0.85

Tested by

no test coverage detected