const axios = require('axios'); async function checkAllModels() { const types = ['text', 'image', 'video', 'audio']; for (const type of types) { try { const url = type === 'text' ? 'https://gen.pollinations.ai/models' : `https://image.pollinations.ai/models`; // Image/Video/Audio models are usually under image or similar // Pollinations often has them all or separate. Let's try the common ones. const response = await axios.get(url); console.log(`${type.toUpperCase()} Models:`, response.data); } catch (e) { console.log(`Could not fetch ${type} models from ${type === 'text' ? 'gen' : 'image'}.pollinations.ai`); } } } checkAllModels();