A Node.js-based API that automates bulk image generation using the Leonardo AI API. It supports prompt-driven image creation, automatic downloading, resizing, renaming, and structured file storage β making it ideal for content pipelines.
- π Generate multiple AI images using batch prompts
- β¬οΈ Download images automatically from Leonardo AI
- πΌ Resize and rename images using
sharp
- π Organize assets into structured directories
- βοΈ Configurable prompt templates and API settings
- Node.js
- JavaScript
- Leonardo AI API
- Axios
- Sharp
- fs, path, dotenv
git clone https://github.com/yourusername/leonardo-api-image-gen.git
cd image_generator_api
npm install