Merge pull request #3837 from Dakraid/chore/update-fal-filter-openrouter-providers Update FAL.AI model filter and OpenRouter Providers
Signed| @@ -58,6 +58,8 @@ const OPENROUTER_PROVIDERS = [ | |||
| 58 | 'Minimax', | 58 | 'Minimax', |
| 59 | 'Nineteen', | 59 | 'Nineteen', |
| 60 | 'Liquid', | 60 | 'Liquid', |
| 61 | 'Stealth', | ||
| 62 | 'NCompass', | ||
| 61 | 'InferenceNet', | 63 | 'InferenceNet', |
| 62 | 'Friendli', | 64 | 'Friendli', |
| 63 | 'AionLabs', | 65 | 'AionLabs', |
| @@ -69,6 +71,9 @@ const OPENROUTER_PROVIDERS = [ | |||
| 69 | 'Targon', | 71 | 'Targon', |
| 70 | 'Ubicloud', | 72 | 'Ubicloud', |
| 71 | 'Parasail', | 73 | 'Parasail', |
| 74 | 'Phala', | ||
| 75 | 'Cent-ML', | ||
| 76 | 'Venice', | ||
| 72 | '01.AI', | 77 | '01.AI', |
| 73 | 'HuggingFace', | 78 | 'HuggingFace', |
| 74 | 'Mancer', | 79 | 'Mancer', |
| @@ -1166,7 +1166,8 @@ falai.post('/models', async (_request, response) => { | |||
| 1166 | const models = data | 1166 | const models = data |
| 1167 | .filter(x => !x.title.toLowerCase().includes('inpainting') && | 1167 | .filter(x => !x.title.toLowerCase().includes('inpainting') && |
| 1168 | !x.title.toLowerCase().includes('control') && | 1168 | !x.title.toLowerCase().includes('control') && |
| 1169 | !x.title.toLowerCase().includes('upscale')) | 1169 | !x.title.toLowerCase().includes('upscale') && |
| 1170 | !x.title.toLowerCase().includes('lora')) | ||
| 1170 | .sort((a, b) => a.title.localeCompare(b.title)) | 1171 | .sort((a, b) => a.title.localeCompare(b.title)) |
| 1171 | .map(x => ({ value: x.modelUrl.split('fal-ai/')[1], text: x.title })); | 1172 | .map(x => ({ value: x.modelUrl.split('fal-ai/')[1], text: x.title })); |
| 1172 | return response.send(models); | 1173 | return response.send(models); |