Front end with upload and vision features working (open ai r1 and grok vision with void ai
This commit is contained in:
parent
a829770c7e
commit
d9226251e9
5 changed files with 283 additions and 50 deletions
20
config.js
Normal file
20
config.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Configuration file for SEO Image Renamer
|
||||
// Update your API keys here
|
||||
|
||||
window.APP_CONFIG = {
|
||||
// OpenRouter API for text generation (DeepSeek) - already configured
|
||||
OPENROUTER_API_KEY: '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',
|
||||
DEEPSEEK_MODEL: 'deepseek/deepseek-chat-v3-0324:free',
|
||||
OPENROUTER_API_URL: 'https://openrouter.ai/api/v1/chat/completions',
|
||||
|
||||
// Grok-2-Vision API - ADD YOUR GROK API KEY HERE
|
||||
GROK_API_KEY: 'sk-voidai-vVU2HHiq1txTNmXdZOP98LzARmi4HsptTixMqFSX4yBbw8ogvmKlJEPeKrH1hwEd6j6AnED9LsR6ztPtRMT7UzeLOyxQkasbwKow'
|
||||
GROK_VISION_MODEL: 'grok-2-vision-1212',
|
||||
GROK_API_URL: 'https://api.x.ai/v1/chat/completions'
|
||||
};
|
||||
|
||||
// Instructions:
|
||||
// 1. Get your Grok API key from https://console.x.ai/
|
||||
// 2. Replace 'your_grok_api_key_here' above with your actual API key
|
||||
// 3. Save this file
|
||||
// 4. The website will automatically use your new API key
|
Loading…
Add table
Add a link
Reference in a new issue