Maxwel Scripts

CLI Scripts and AI Skills

Image Editing

Image processing — AI generation, editing, face swap, restoration, upscaling, vectorization, cropping, conversion, and icon creation

AI Media Post

Interactive post pipeline from source image to finished media post — generate or restore an image, edit it with AI, crop, animate, loop, and add sound

AI Skill

AI Image Generation

Generates an image from a text prompt with AI — ideal for illustrations, concepts, and moodboards in any style

maxwel ai-image-generate --prompt "<description>" --output <file.png>

AI Image Editing

Edits an existing image with AI — add or remove objects, change the style, or adjust content, all driven by a text instruction

maxwel ai-image-edit --input <source.png> --prompt "<edits>" --output <file.png>

AI Face Swap

Replaces a face in the target image with the face from a reference photo — preserving lighting and overall look

maxwel ai-image-face-swap --image <target.png> --face <face.png> --output <file.png>

AI Outpainting

Expands an image beyond its edges to a new aspect ratio with AI and fills the new areas coherently

maxwel ai-image-outpaint --input <source.png> --direction <left|right|up|down> --output <file.png>

AI Image Restoration

Restores and enhances photos with AI — fixes colors, increases resolution, and removes scratches and artifacts

maxwel ai-image-restore --input <source.png> --output <file.png>

AI Image Upscaling

Increases an image's resolution 2× or 4× with AI without losing detail

maxwel ai-image-upscale --input <source.png> --factor <2|4> --output <file.png>

AI Vectorization

Converts a raster image into a clean SVG vector graphic with AI — infinitely scalable for logos and icons

maxwel ai-image-vectorize --input <source.png> --output <file.svg>

AI SVG Generation

Generates SVG vector graphics from a text prompt with AI — as clean, editable paths

maxwel ai-svg-generate --prompt "<description>" --output <file.svg>

Crop Image

Crops one or more images to a target aspect ratio (e.g. 16:9) or auto-trims uniform or transparent borders

maxwel image-crop <file> --aspect <16:9>

Resize Image

Scales images down to a maximum edge length — single files or recursively for whole folders, optimized for web and messaging

maxwel image-resize <path> --max-size <1080>

Rotate Image

Hard-rotates an image by 90/180/270° — the pixels are re-encoded and the EXIF orientation is stripped

maxwel image-rotate <file> --rotation <90cw|90ccw|180|270cw>

AVIF → JPG

Converts AVIF images to JPG — single files or recursively for folders — preserving all metadata (EXIF, GPS, camera info)

maxwel image-convert-avif-to-jpg <path>

HEIC → JPG

Converts HEIC/HEIF (iPhone format) images to JPG — single files or recursively — preserving all metadata (EXIF, GPS, camera info)

maxwel image-convert-heic-to-jpg <path>

AI Metadata Analysis

Reads the generation metadata of AI images (prompt, model, seed, settings) and writes it out as YAML

maxwel media-analyze-ai <file>

Create Favicon

Creates a complete favicon.ico from a source image with all resolutions from 16×16 to 256×256

maxwel website-create-favicon <source.png>

Create Website Icons

Creates the complete set of website and app icons in all required sizes from a source image (minimum 512×512)

maxwel website-create-icons <source.png> --output-dir <dir>