SketchMaker AI is an advanced AI-powered image generation tool that creates custom images based on user descriptions and preferences. It's designed to produce high-quality, tailored images for various purposes such as social media content, blog posts, marketing materials, and more.
- AI-Powered Image Generation: Generate unique images based on textual descriptions.
- Multiple AI Models: Choose from various AI models including Flux Pro, Flux Lora, Flux Dev, and Flux Realism.
- Customizable Image Sizes: Choose from a wide range of preset sizes or specify custom dimensions.
- Artistic Style Selection: Apply various artistic styles to your generated images.
- Color Scheme Options: Select from different color palettes to match your needs.
- Lighting and Mood Control: Adjust the lighting and overall mood of the generated images.
- Subject Focus: Specify the main subject of your image for more accurate results.
- Background Style: Choose from various background styles to complement your image.
- Effects and Filters: Apply different effects and filters to enhance your image.
- Advanced Parameters: Fine-tune your image generation with adjustable inference steps, guidance scale, and seed value.
- LoRA Support: Use custom LoRA models for even more specialized image generation (available with Flux Lora model).
- Enhanced Prompt Generation: Automatically enhance your input prompts for better image results.
- Multi-Format Downloads: Download your images in WebP, PNG, and JPEG formats.
- Image Gallery: Browse your generated images.
- User-Friendly Interface: Easy-to-use web interface built with modern design principles.
SketchMaker AI is a versatile tool that can be used in various scenarios:
- Marketing and Advertising: Create eye-catching visuals for social media posts, ads, and marketing campaigns.
- Content Creation: Generate unique illustrations for blog posts, articles, and e-books.
- Product Design: Visualize product concepts and create mockups quickly.
- Branding: Design logos, brand assets, and visual identity elements.
- Education: Produce educational materials, infographics, and visual aids.
- Gaming and Entertainment: Create character concepts, environment designs, and promotional artwork.
- Web Design: Generate custom graphics, icons, and UI elements for websites and apps.
- Personal Projects: Bring your creative ideas to life, from digital art to personalized gifts.
SketchMaker AI's ability to combine detailed prompts with various artistic styles and parameters allows users to create highly customized images that match their specific needs. The LoRA support further extends this capability, enabling fine-tuned models for specialized use cases.
- Python 3.10+
- Flask
- OpenAI API key
- FAL API key
-
Clone the repository:
git clone https://github.com/marketcalls/sketchmaker.git cd sketchmaker
-
Install required packages:
pip install -r requirements.txt
-
Set up environment variables: Rename the
.env.sample
file to.env
and add your API keys:OPENAI_API_KEY=your_openai_api_key FAL_KEY=your_fal_api_key OPENAI_MODEL=your_preferred_openai_model
To generate the FAL API key:
- Go to https://fal.ai/dashboard
- Click on "Keys" in the sidebar
- Click "Create new key" to generate a new API key
- Copy the generated key and paste it into your
.env
file
-
Run the application:
python app.py
-
Open your web browser and navigate to
http://localhost:5000
to use SketchMaker AI.
- Enter a detailed description of the image you want to generate in the text area.
- Select the desired AI model for image generation.
- Choose from a variety of image sizes or enter custom dimensions.
- Select artistic style, color scheme, lighting options, subject focus, and background style as needed.
- Adjust advanced parameters like inference steps, guidance scale, and seed if desired.
- For Flux Lora model, provide a LoRA path and scale if using custom LoRA models.
- Click "Enhance Image Prompt" to generate an AI-enhanced prompt.
- Review and edit the enhanced prompt if needed.
- Click "Generate Image" to create the image based on your specifications.
- Once the image is generated, you can download it in your preferred format.
For a detailed tutorial on how to fine-tune your images faster using Fal AI, watch this video: How to Fine Tune your images faster using Fal AI
To create custom LoRA models for specialized image generation:
- Visit the Flux Lora Fast Training model page
- Follow the instructions to fine-tune the model with your specific dataset
- Once fine-tuning is complete, save your model to Hugging Face or copy the safetensors URL
- In SketchMaker AI, select the Flux Lora model and paste your custom LoRA URL in the LoRA path field
- Use your fine-tuned model to generate images tailored to your specific style or domain
This feature allows you to create innovative and creative digital assets that are uniquely suited to your brand, products, or artistic vision.
- Added support for multiple AI models (Flux Pro, Flux Lora, Flux Dev, Flux Realism).
- Expanded image size options to include various social media and common use case dimensions.
- Introduced subject focus and background style options for more precise image generation.
- Added effects and filters selection for image enhancement.
- Implemented advanced parameter controls (inference steps, guidance scale, seed).
- Added LoRA support for the Flux Lora model.
- Enhanced the prompt generation process with editable results.
- Improved the user interface for a more intuitive image generation workflow.
We welcome contributions to SketchMaker AI! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear, descriptive messages.
- Push your changes to your fork.
- Submit a pull request with a clear description of your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for their powerful language models
- FAL AI for their image generation capabilities
- All contributors and users of SketchMaker AI
For any queries or support, please open an issue on the GitHub repository or contact the maintainers directly.
Enjoy creating amazing images with SketchMaker AI!