Skip to content

Image Generator API is a Node.js-based automation tool that generates large batches of AI images using the Leonardo AI API. Designed for efficient content creation workflows, the API supports parameterized prompts, automatic image download, resizing, renaming, and bulk file organization.

Notifications You must be signed in to change notification settings

LEO20Debugger/leonardo-api-image-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Image Generator API

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.


πŸš€ Features

  • πŸ” 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

πŸ›  Tech Stack

  • Node.js
  • JavaScript
  • Leonardo AI API
  • Axios
  • Sharp
  • fs, path, dotenv

πŸ“¦ Installation

git clone https://github.com/yourusername/leonardo-api-image-gen.git
cd image_generator_api
npm install

About

Image Generator API is a Node.js-based automation tool that generates large batches of AI images using the Leonardo AI API. Designed for efficient content creation workflows, the API supports parameterized prompts, automatic image download, resizing, renaming, and bulk file organization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published