gpt4free/g4f/Provider/needs_auth/OpenaiAPI.py
hlohaus 09f8258fa7 Add MiniMax providers, add HailuoAI provider
Add OpenaiTemplate provider
Remove some webdriver providers
2025-01-25 03:56:37 +01:00

11 lines
No EOL
339 B
Python

from __future__ import annotations
from . OpenaiTemplate import OpenaiTemplate
class OpenaiAPI(OpenaiTemplate):
label = "OpenAI API"
url = "https://platform.openai.com"
login_url = "https://platform.openai.com/settings/organization/api-keys"
api_base = "https://api.openai.com/v1"
working = True
needs_auth = True