- Add Prompt Studio React app with cinematic prompt optimization - Integrate image generation via PHP backend API - Support multi-reference image uploads (up to 14 images) - Add resolution selector (1K/2K/4K) - Make generated prompts editable before image generation - Fix application lighting styles being passed to Gemini API - Reorganize UI: inputs on left, outputs on right - Update api.php to handle multiple reference images - Add get_current_image.php endpoint for session image retrieval 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
343 B
JavaScript
16 lines
343 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8000',
|
|
changeOrigin: true,
|
|
rewrite: (path) => path.replace(/^\/api/, '')
|
|
}
|
|
}
|
|
}
|
|
})
|