mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-25 12:16:17 +03:00
12 lines
405 B
Python
12 lines
405 B
Python
from __future__ import annotations
|
|
|
|
from .OpenaiChat import OpenaiChat
|
|
|
|
class OpenaiAccount(OpenaiChat):
|
|
needs_auth = True
|
|
parent = "OpenaiChat"
|
|
image_models = ["dall-e-3", "gpt-4", "gpt-4o"]
|
|
default_vision_model = "gpt-4o"
|
|
default_image_model = "dall-e-3"
|
|
models = [*OpenaiChat.fallback_models, default_image_model]
|
|
model_aliases = {default_image_model: default_vision_model} |