gpt4free/g4f/Provider/needs_auth/OpenaiAPI.py
hlohaus 30381f687e Add Janus_Pro_7B provider
Add proof of DeepSeekAPI provider
Add BackendApi provider from HuggingSpace
2025-01-30 00:35:51 +01:00

11 lines
No EOL
333 B
Python

from __future__ import annotations
from ..template 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