- Complete working image generation app using Imagen 3 - PHP backend with Gemini API integration - Dark themed UI with prompt enhancement - Session management and logging system 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
14 lines
403 B
PHP
14 lines
403 B
PHP
<?php
|
|
/**
|
|
* Configuration file for Nano Banana Pro Image Generator
|
|
*
|
|
* Copy this file to config.php and add your API key
|
|
*/
|
|
|
|
// Google Gemini API Key (Nano Banana Pro)
|
|
// Get your API key from: https://aistudio.google.com/app/apikey
|
|
define('GEMINI_API_KEY', 'YOUR_API_KEY_HERE');
|
|
|
|
// Session configuration
|
|
ini_set('session.gc_maxlifetime', 3600); // 1 hour
|
|
ini_set('session.cookie_lifetime', 3600);
|