diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-22 12:25:34 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-22 12:25:34 +0200 |
commit | 3e7bee6741dc8b6ee8013a4aec3606fc315976b9 (patch) | |
tree | 6066563f27d0443ad7791ac6cb08caef6f8d8a0e /g4f/models.py | |
parent | Restored provider (g4f/Provider/nexra/NexraFluxPro.py) (diff) | |
download | gpt4free-3e7bee6741dc8b6ee8013a4aec3606fc315976b9.tar gpt4free-3e7bee6741dc8b6ee8013a4aec3606fc315976b9.tar.gz gpt4free-3e7bee6741dc8b6ee8013a4aec3606fc315976b9.tar.bz2 gpt4free-3e7bee6741dc8b6ee8013a4aec3606fc315976b9.tar.lz gpt4free-3e7bee6741dc8b6ee8013a4aec3606fc315976b9.tar.xz gpt4free-3e7bee6741dc8b6ee8013a4aec3606fc315976b9.tar.zst gpt4free-3e7bee6741dc8b6ee8013a4aec3606fc315976b9.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/models.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/g4f/models.py b/g4f/models.py index 8aece1ec..6fa2fca1 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -50,6 +50,7 @@ from .Provider import ( NexraEmi, NexraFluxPro, NexraGeminiPro, + NexraMidjourney, NexraQwen, OpenaiChat, PerplexityLabs, @@ -835,6 +836,14 @@ dalle = Model( ) +### Midjourney ### +midjourney = Model( + name = 'midjourney', + base_provider = 'Midjourney', + best_provider = NexraMidjourney + +) + ### Other ### emi = Model( name = 'emi', @@ -1109,6 +1118,9 @@ class ModelUtils: 'dalle': dalle, 'dalle-2': dalle_2, +### Midjourney ### +'midjourney': midjourney, + ### Other ### 'emi': emi, |