╔════════════════════════════════════════════════════════════════════╗ ║ ║ ║ Social Media Ad Generator - Help & Reference ║ ║ Powered by Gemini 2.5 Flash AI ║ ║ ║ ╚════════════════════════════════════════════════════════════════════╝ 📋 AVAILABLE COMMANDS: ══════════════════════════════════════════════════════════════════════ 1. php generate-social-ads.php Generate 12 social media posts (4 per platform) ⏰ ~30 seconds | 🎯 Quick daily content generation 2. php batch-generator.php Advanced batch generator with custom options ⏰ Varies by selection | 🎯 When you need specific platforms, types, or variations 3. php generate-images.php Generate visual content with Imagen 4 (16:9 & 9:16 images) ⏰ ~10-15 seconds per image | 🎯 Create images for your social media posts 4. php view-content.php Browse, view, filter, and manage generated content ⏰ Interactive | 🎯 Review content, get statistics, or export files 5. php test-api.php Test Vertex AI connection with Gemini 2.5 Flash ⏰ < 5 seconds | 🎯 When troubleshooting connection issues (optional) ══════════════════════════════════════════════════════════════════════ 🚀 QUICK START (No setup needed!): ---------------------------------------------------------------------- 1. php generate-social-ads.php → Generate 12 text posts 2. php generate-images.php → Create images for your posts 3. php view-content.php → Review what was created 💡 token.php handles all authentication automatically! ══════════════════════════════════════════════════════════════════════ 📱 PLATFORMS SUPPORTED: • LinkedIn - Professional B2B content (up to 3000 chars) • Twitter - Short, punchy messages (280 chars) • Facebook - Story-driven, conversational (up to 2000 chars) 📝 CONTENT TYPES GENERATED: 1. Promotional - Product benefits and features 2. Educational - Industry insights and tips 3. Testimonial - Customer success stories 4. Statistic - Data-driven posts 5. Question - Engagement-focused posts 6. Announcement - Product updates and news ══════════════════════════════════════════════════════════════════════ 📁 OUTPUT DIRECTORY: /var/www/bizailast/media/texts/ ✓ Directory exists with 214 generated file(s) ══════════════════════════════════════════════════════════════════════ ⚙️ CONFIGURATION: ✓ OAuth authentication configured ✓ Using Google Cloud Service Account 📄 google.json: Present 📄 token.php: Present 🤖 Model: Gemini 2.5 Flash (Vertex AI) 🚀 Max Tokens: 65000 (intelligent management) 🌍 Region: europe-west4 ══════════════════════════════════════════════════════════════════════ 🆘 NEED HELP? Documentation: 📖 Read: README.md Common issues: • Connection errors → php test-api.php • No internet → Check your connection • File not found → Check google.json exists in parent folder 💡 Remember: token.php handles authentication automatically! If chat.php works, this will work too. ══════════════════════════════════════════════════════════════════════ 💡 TIPS: • Generate fresh content daily for best results • Always review AI content before posting • Use batch generator for specific needs • Track which posts perform best • Generate multiple variations for A/B testing ══════════════════════════════════════════════════════════════════════ Ready to generate content? Choose a command above!