MCPcopy
hub / github.com/Anil-matcha/Open-Generative-AI / getResolutionsForVideoModel

Function getResolutionsForVideoModel

packages/studio/src/models.js:2626–2632  ·  view source on GitHub ↗
(modelId)

Source from the content-addressed store, hash-verified

2624};
2625
2626export const getResolutionsForVideoModel = (modelId) => {
2627 const model = getVideoModelById(modelId);
2628 if (!model) return [];
2629 const resInput = model.inputs?.resolution;
2630 if (resInput && resInput.enum) return resInput.enum;
2631 return [];
2632};
2633// Auto-generated from schema_data.json — Image to Image models
2634export const i2iModels = [
2635 {

Callers 3

VideoStudioFunction · 0.90
getCurrentResolutionsFunction · 0.90
VideoStudioFunction · 0.90

Calls 1

getVideoModelByIdFunction · 0.85

Tested by

no test coverage detected