# Living ASCII Portrait Generator

> Turns any portrait photo into an interactive, full-screen Living ASCII Portrait web app with background removal and aura effects.

Living ASCII Portrait Generator is a paid AI agent skill on Agensi by Rishi Sharma. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $8 (one-time purchase)
- Creator: [Rishi Sharma](https://www.agensi.io/creators/rishi-sharma)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/living-ascii-portrait-generator
- Tags: frontend-web-apps, image-video, ux-ui-design, agents-orchestration

## About this skill

Builds an interactive, full-viewport HTML5 Canvas Living ASCII Portrait web application from any portrait photo.

### What It Includes
- **Automated Subject Isolation & Tone Prep (`scripts/prepare_portrait.py`)**: Runs `rembg` (`birefnet-portrait` with automatic `u2net_human_seg` low-memory fallback), EXIF normalization, edge color decontamination, mild 3x3 bilateral denoising, shadow-preserving contrast/gamma curves, facial micro-sharpening, and smooth cosine shoulder fading onto pure `#000000`.
- **HiDPI Monochrome ASCII Canvas Engine**: Measures exact monospace glyph aspect ratio, uses area-averaged pixel sampling across 150 columns (adjustable 80-220) with the ` .,:;irsXA253hMHGS#9B&@` ramp, and locks pure black backgrounds below the darkness threshold.
- **Living Animations & Aura Layers**: Top-down organic wave reveal (`R`), continuous subtle shimmer, circular mouse-hover ripple, click shockwave pulses, drifting silhouette mist, Sobel contour rim lighting, downsampled optical phosphor bloom, ambient dust motes, subtle 3D parallax, and smooth zoom/pan (`0` to reset).
- **Screen-Recording Clean UI**: 100% free of visible buttons or borders by default, with a hidden tuning panel toggled via `H` (plus a mouse-active top-right `H` trigger) offering 4 phosphor tone presets (`Noir`, `Moon`, `Gold`, `Crimson`) and 7 real-time sliders.
- **Multi-Portrait Isolation**: Scaffolds each new subject into an independent `portrait-N/` folder on an unused local port via `npx serve` without touching previous portraits.

## Requires

- Python 3.10+
- rembg, Pillow, NumPy
- Node.js (npx serve)
- serve

Requires local Python packages (rembg, pillow, numpy) for background removal and Node.js for serving locally.

## Known limitations

Does not generate portraits from text prompts without a photo, and cannot run canvas pixel sampling over file:// URLs (must be served over HTTP such as npx serve or Live Server).

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Living ASCII Portrait Generator skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Is the viewport clean enough for screen recording?

Yes. The background is stripped to pure #000000 and the viewport has zero visible controls or overlays at rest, making it ready for clean screen recording.

### How do I open the real-time tuning controls?

Press H on your keyboard or move your mouse to click the subtle H sliders button that briefly appears in the top-right corner.

### Can I host multiple ASCII portraits at the same time?

Yes. The workflow automatically creates a separate portrait folder and serves it on an unused local port so earlier portraits stay untouched.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
