Image Studio is a client-side web application for generating and editing images using various AI models. It provides a user-friendly chat-style interface to interact with state-of-the-art image generation models from OpenAI and Google. This application is designed for static hosting and can be deployed to platforms like Netlify without requiring a backend server.
https://imagestudiodev.netlify.app/
- Multiple AI Models: Supports a range of models including OpenAI's DALL-E 3 and Google's Imagen 4.
- Image Generation: Create images from text prompts.
- Image Editing: Modify existing images with text descriptions (requires a supported model).
- Prompt Enhancement: Automatically enhance your prompts for better results using Google Gemini.
- Customizable Outputs: Control parameters like image size, quality, and aspect ratio.
- Local History: Your generation history is saved in your browser for easy access.
- API Key Management: Securely save your API keys in the browser's local storage.
Main application interface with API key input and model selection
Model configuration and operation mode selection
Image generation interface with prompt input and parameters
- DALL-E 3
- GPT Image 1 (supports editing)
- Gemini 2.5 Flash
- Imagen 4
- Imagen 4 Ultra
- Imagen 4 Fast
- No Authentication Required: Password protection has been completely removed - the application is publicly accessible
- API Keys Required: You must provide your own OpenAI and/or Google API keys to use the application
- Browser-Based: All data is stored locally in your browser
To get a local copy up and running, follow these simple steps.
- Node.js (v20 or later)
- npm, yarn, or pnpm
- Clone the repo
git clone https://github.com/your_username/imagestudio.git
- Install NPM packages
npm install
- Run the development server
npm run dev
Open http://localhost:3000 with your browser to see the result.
This application requires API keys for the AI models you wish to use. API keys are entered directly in the application and stored in your browser's local storage.
-
Obtain API Keys:
- Get an OpenAI API key
- Get a Google API key
-
Enter Keys in the UI:
- Open the application in your browser
- Enter your OpenAI and/or Google API keys in the respective input fields at the top of the page
- Click "Save Keys" to store them securely in your browser's local storage
Note: No environment variables are needed for this static deployment. All API calls are made directly from the browser to the respective AI services.
The application has two main modes of operation: "Generate" and "Edit".
- Select "Generate" as the operation mode.
- Choose your desired AI model.
- Enter a descriptive text prompt of the image you want to create.
- Adjust parameters like size, quality, and count as needed.
- Click "Generate".
Note: Image editing is currently only supported by the "OpenAI GPT Image 1" model.
- Select "Edit" as the operation mode.
- Upload the image you want to modify.
- Enter a text prompt describing the changes you want to make.
- Click "Edit Image".
This application is built as a static website with no backend server:
- Client-Side Only: All AI API calls are made directly from the browser
- Local Storage: Image generation history is stored in browser IndexedDB
- Static Export: Built as static HTML/CSS/JS files for optimal performance
- No Server Costs: Can be hosted on any static hosting service
This application can be deployed as a static website to any static hosting service. Here are instructions for popular platforms:
- Connect Repository: Connect your GitHub/GitLab repository to Netlify
- Build Settings:
- Build Command:
npm run build - Publish Directory:
out
- Build Command:
- Deploy: Netlify will automatically build and deploy your application
- Connect Repository: Connect your GitHub repository to Vercel
- Configure Build:
- Framework Preset: Next.js
- Build Command:
npm run build
- Deploy: Vercel will automatically build and deploy your application
This static application can also be deployed to:
- GitHub Pages
- Cloudflare Pages
- AWS S3 + CloudFront
- Any other static hosting service
Simply build the application with npm run build and upload the contents of the out directory.
- ✅ Removed Password Protection: Application is now publicly accessible without authentication
- ✅ Client-Side Only: No backend server required - all API calls happen in the browser
- ✅ Static Export: Application builds to static files for optimal performance
- ✅ Netlify Compatible: Easy deployment to static hosting services