admanage-creative-gen
v1.0.3
Published
CLI tool to generate media with various aspect ratios
Maintainers
Readme
Admanage Creative Gen
A CLI tool for generating media assets with various aspect ratios
Demo

Features
- Generate images and videos in multiple aspect ratios
- Support for batch generation (multiple assets per aspect ratio)
- Multiple output formats (PNG, JPEG, GIF, BMP, TIFF for images; MP4, WEBM, AVI for videos)
- Interactive command-line interface
- Customizable dimensions and video settings
Installation
Install globally via pnpm:
pnpm install -g admanage-creative-genOr via npm:
npm install -g admanage-creative-genOr run locally:
pnpm install
pnpm run build
pnpm startUsage
Run the CLI tool:
admanage-creative-genFollow the interactive prompts to:
- Select media type (images or videos)
- Choose aspect ratios (9:16, 4:5, 1:1, 4:3, 16:9)
- Specify number of assets per aspect ratio
- Select output format
- Configure additional settings (base width, video duration, FPS)
- Set output directory
Development
Prerequisites
- Node.js >= 18.0.0
- TypeScript
Setup
# Install dependencies
pnpm install
# Build the project
pnpm run build
# Run in development mode
pnpm run devScripts
pnpm run build- Compile TypeScript to JavaScriptpnpm run dev- Run in development mode with ts-nodepnpm start- Run the compiled applicationpnpm run clean- Remove build artifacts
Supported Formats
Image Formats
- PNG
- JPEG
- GIF
- BMP
- TIFF
Video Formats
- MP4
- WEBM
- AVI
Aspect Ratios
- 9:16 (Mobile Portrait)
- 4:5 (Social Media)
- 1:1 (Square)
- 4:3 (Standard)
- 16:9 (Widescreen)
License
MIT
