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

Function getModelById

packages/studio/src/models.js:2183–2183  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

2181];
2182
2183export const getModelById = (id) => t2iModels.find(m => m.id === id);
2184
2185export const getAspectRatiosForModel = (modelId) => {
2186 const model = getModelById(modelId);

Callers 5

generateImageFunction · 0.90
generateImageMethod · 0.90
getAspectRatiosForModelFunction · 0.70
getQualityFieldForModelFunction · 0.70
getResolutionsForModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected