open ai service

This commit is contained in:
2026-02-08 12:05:05 +06:00
parent d7722ad81d
commit 3209827e92
29 changed files with 2175 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/// API Configuration
///
/// Replace YOUR_GEMINI_API_KEY_HERE with your actual Google Gemini API key
/// Get your API key from: https://makersuite.google.com/app/apikey
///
/// Replace YOUR_OPENAI_API_KEY_HERE with your actual OpenAI API key
/// The default endpoint is set to http://localhost:8317/v1/chat/completions
/// You can configure your OpenAI endpoint below if needed
class ApiConfig {
// TODO: Replace with your actual Gemini API key
static const String geminiApiKey = 'YOUR_GEMINI_API_KEY_HERE';
static const String openaiApiKey = 'sk-openai-api-key';
// OpenAI API endpoint (default: http://localhost:8317/v1/chat/completions)
static const String openaiBaseUrl = 'http://192.168.102.158:8317';
static const String openaiModel = 'gemini-3-pro-image';
}