20 lines
781 B
Dart
20 lines
781 B
Dart
/// 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';
|
|
}
|