105 lines
2.0 KiB
Markdown
105 lines
2.0 KiB
Markdown
# 🔑 API KEY SETUP - NAVODILA
|
||
|
||
**Problem**: GEMINI_API_KEY ni nastavljen
|
||
**Rezultat**: Generation scripti ne delujejo (0/136 success)
|
||
|
||
---
|
||
|
||
## ⚡ HITRI START
|
||
|
||
### **1. Pridobite API Key**
|
||
Pojdite na: https://makersuite.google.com/app/apikey
|
||
|
||
**ALI**
|
||
|
||
https://aistudio.google.com/app/apikey
|
||
|
||
Ustvarite **novi API key** (samo 1 klik!)
|
||
|
||
---
|
||
|
||
### **2. Nastavite API Key**
|
||
|
||
**OPCIJA A: Začasno (trenutna seja)**
|
||
```bash
|
||
export GEMINI_API_KEY="vaš-api-key-tukaj"
|
||
```
|
||
|
||
**OPCIJA B: Trajno (v ~/.zshrc)**
|
||
```bash
|
||
echo 'export GEMINI_API_KEY="vaš-api-key-tukaj"' >> ~/.zshrc
|
||
source ~/.zshrc
|
||
```
|
||
|
||
**OPCIJA C: V config datoteki**
|
||
```bash
|
||
mkdir -p ~/.config
|
||
echo "vaš-api-key-tukaj" > ~/.config/google_ai_key.txt
|
||
```
|
||
|
||
---
|
||
|
||
### **3. Preverite**
|
||
```bash
|
||
echo $GEMINI_API_KEY
|
||
# Če kaže key → ✅ uspešno!
|
||
# Če prazno → ❌ poskusi znova
|
||
```
|
||
|
||
---
|
||
|
||
## 🚀 POTEM ZAŽENITE GENERACIJO
|
||
|
||
### **Dino Valley (still needed - 136 items)**
|
||
```bash
|
||
python3 scripts/generate_dino_valley_complete.py
|
||
```
|
||
|
||
### **Anomalous Zone Fauna (all 8 zones)**
|
||
```bash
|
||
python3 scripts/generate_anomalous_fauna.py
|
||
```
|
||
|
||
---
|
||
|
||
## 📊 KAJ BO GENERIRANO
|
||
|
||
### **Dino Valley** (če re-run):
|
||
- 136 items (clothing, weapons, food, materials, terrain, vegetation, props, buildings)
|
||
- 272 PNG files (136 × 2 styles)
|
||
- ~2.5-4 hours generation time
|
||
|
||
### **Anomalous Zones**:
|
||
- 8 zones (mythical, endless forest, loch ness, egyptian, amazonas, atlantis, chernobyl, catacombs)
|
||
- 40 creatures total
|
||
- 80 PNG files (40 × 2 styles)
|
||
- ~1-2 hours generation time
|
||
|
||
---
|
||
|
||
## ⚠️ POMEMBNO
|
||
|
||
**Ne pozabite nastaviti API key!**
|
||
|
||
Brez njega scripti ne delajo! (kot smo videli - 0/136 success)
|
||
|
||
Ko je key nastavljen:
|
||
1. ✅ Re-run dino valley script
|
||
2. ✅ Run anomalous fauna script
|
||
3. ✅ Čakaj ~4-6 ur za complete generation
|
||
|
||
---
|
||
|
||
## 🎯 STATUS NAPOTKOV
|
||
|
||
**Pripravljeno**:
|
||
- ✅ Generator scripts written
|
||
- ✅ Manifests created
|
||
- ✅ Structure organized
|
||
- ✅ Documentation complete
|
||
|
||
**Manjka samo**:
|
||
- ⚠️ API KEY nastavitev!
|
||
|
||
**Ko bo API key set → gremo v produkcijo!** 🚀
|