返回提交历史
Modified
docs/providers-and-models.md
+2
-2
Modified
g4f/Provider/Blackbox.py
+1
-0
Modified
g4f/Provider/PollinationsAI.py
+0
-1
Modified
g4f/Provider/PollinationsImage.py
+2
-1
Modified
g4f/models.py
+1
-1
XFEstudio/gpt4free
fix(g4f/Provider/PollinationsAI.py): Remove duplicate model alias
b1de6249
代码差异
5 个文件
+6
-5
@@ -63,7 +63,7 @@ This document provides an overview of various AI providers and models, including
63
63
|[labs.perplexity.ai](https://labs.perplexity.ai)|No auth required|`g4f.Provider.PerplexityLabs`|`sonar, sonar-pro, sonar-reasoning, sonar-reasoning-pro`|❌|❌|✔||
64
64
|[pi.ai/talk](https://pi.ai/talk)|[Manual cookies](https://pi.ai/talk)|`g4f.Provider.Pi`|`pi`|❌|❌|✔||
65
65
|[pizzagpt.it](https://www.pizzagpt.it)|No auth required|`g4f.Provider.Pizzagpt`|`gpt-4o-mini`|❌|❌|✔||
66
|[pollinations.ai](https://pollinations.ai)|No auth required|`g4f.Provider.PollinationsAI`|`gpt-4o-mini, gpt-4o, qwen-2.5-72b, qwen-2.5-coder-32b, llama-3.3-70b, mistral-nemo, deepseek-chat, llama-3.1-8b, deepseek-r1, gemini-2.0-flash, gemini-2.0-flash-thinking` _**(3+)**_|`flux, flux-pro, flux-dev, flux-schnell, dall-e-3, sdxl-turbo`|gpt-4o, gpt-4o-mini|✔||
66
|[pollinations.ai](https://pollinations.ai)|No auth required|`g4f.Provider.PollinationsAI`|`gpt-4o-mini, gpt-4o, qwen-2.5-coder-32b, llama-3.3-70b, mistral-nemo, deepseek-chat, llama-3.1-8b, deepseek-r1, gemini-2.0-flash, gemini-2.0-flash-thinking` _**(3+)**_|`flux, flux-pro, flux-dev, flux-schnell, dall-e-3, sdxl-turbo`|gpt-4o, gpt-4o-mini|✔||
67
67
|[app.prodia.com](https://app.prodia.com)|No auth required|`g4f.Provider.Prodia`|❌|✔ _**(46)**_|❌|❌||
68
68
|[teach-anything.com](https://www.teach-anything.com)|No auth required|`g4f.Provider.TeachAnything`|`llama-3.1-70b`|❌|❌|✔||
69
69
|[you.com](https://you.com)|[Manual cookies](https://you.com)|`g4f.Provider.You`|✔|✔|✔|✔||
@@ -170,7 +170,7 @@ This document provides an overview of various AI providers and models, including
170
170
|qwen-1.5-7b|Qwen|1+ Providers|[huggingface.co](https://huggingface.co/Qwen/Qwen1.5-7B)|
171
171
|qwen-2-72b|Qwen|2+ Providers|[huggingface.co](https://huggingface.co/Qwen/Qwen2-72B)|
172
172
|qwen-2-vl-7b|Qwen|1+ Providers|[huggingface.co](https://huggingface.co/Qwen/Qwen2-VL-7B)|
173
|qwen-2.5-72b|Qwen|3+ Providers|[huggingface.co](https://huggingface.co/Qwen/Qwen2.5-72B-Instruct)|
173
|qwen-2.5-72b|Qwen|2+ Providers|[huggingface.co](https://huggingface.co/Qwen/Qwen2.5-72B-Instruct)|
174
174
|qwen-2.5-coder-32b|Qwen|3+ Providers|[huggingface.co](https://huggingface.co/Qwen/Qwen2.5-Coder-32B)|
175
175
|qwen-2.5-1m-demo|Qwen|1+ Providers|[huggingface.co](https://huggingface.co/Qwen/Qwen2.5-1M-Demo)|
176
176
|qwq-32b|Qwen|4+ Providers|[huggingface.co](https://huggingface.co/Qwen/QwQ-32B-Preview)|
@@ -103,6 +103,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
103
103
104
104
model_aliases = {
105
105
"gpt-4": "GPT-4o",
106
"gpt-4o": "GPT-4o",
106
107
"claude-3.5-sonnet": "Claude-Sonnet-3.5", # Premium
107
108
"gemini-1.5-flash": "gemini-1.5-flash",
108
109
"gemini-1.5-pro": "Gemini-PRO",
@@ -47,7 +47,6 @@ class PollinationsAI(AsyncGeneratorProvider, ProviderModelMixin):
47
47
"gpt-4o-mini": "openai",
48
48
"gpt-4": "openai-large",
49
49
"gpt-4o": "openai-large",
50
"qwen-2.5-72b": "qwen",
51
50
"qwen-2.5-coder-32b": "qwen-coder",
52
51
"llama-3.3-70b": "llama",
53
52
"mistral-nemo": "mistral",
@@ -7,6 +7,7 @@ from ..typing import AsyncResult, Messages
7
7
from .PollinationsAI import PollinationsAI
8
8
9
9
class PollinationsImage(PollinationsAI):
10
label = "Pollinations AI (Image)"
10
11
default_model = "flux"
11
12
default_vision_model = None
12
13
default_image_model = default_model
@@ -45,4 +46,4 @@ class PollinationsImage(PollinationsAI):
45
46
enhance=enhance,
46
47
safe=safe
47
48
):
48
yield chunk
49
yield chunk
@@ -424,7 +424,7 @@ qwen_2_vl_7b = VisionModel(
424
424
qwen_2_5_72b = Model(
425
425
name = 'qwen-2.5-72b',
426
426
base_provider = 'Qwen',
427
best_provider = IterListProvider([PollinationsAI, Jmuz])
427
best_provider = Jmuz
428
428
)
429
429
qwen_2_5_coder_32b = Model(
430
430
name = 'qwen-2.5-coder-32b',