Update Pollinations API (#5060)
* Upgrade Pollinations API Done: text, caption To do: TTS, image Fixes #5020 * Update Pollinations TTS to new API * Update Pollinations API for images
This commit is contained in:
@@ -279,6 +279,10 @@ function throwIfInvalidModel(useReverseProxy) {
|
||||
if (multimodalApi === 'zai' && !secret_state[SECRET_KEYS.ZAI]) {
|
||||
throw new Error('Z.AI API key is not set.');
|
||||
}
|
||||
|
||||
if (multimodalApi === 'pollinations' && !secret_state[SECRET_KEYS.POLLINATIONS]) {
|
||||
throw new Error('Pollinations API key is not set.');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user