AIToday
Large Language ModelsImage GenerationOpen-Source AIZenn AI/MLPublished: Nov 13, 2026, 04:00 JST

id-photo-studio: MIT-licensed AI skill makes ID photos from snapshots

Send on LINE
id-photo-studio: MIT-licensed AI skill makes ID photos from snapshots

3 Key Points

  1. What happened

    lumichy released id-photo-studio under the MIT License, an Agent Skill that corrects head tilt (fixing +17.93° and -25.02° in its samples), swaps in a suit, and outputs 45×35mm passport photos plus L判 300 DPI sheets.

  2. Why it matters

    This means users can produce official-spec ID photos from everyday snapshots without a photo booth, as the skill handles tilt correction, suit replacement, 45×35mm cropping, and 300 DPI print sheets in one pass, per the samples shown.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The project stems from two failed attempts by the developer. First, relying solely on an image-generation AI produced subtle changes to eye size, double-eyelid width, teeth alignment, nose shape, and mole positions — a fatal flaw for official ID photos where a face that differs from the applicant's is grounds for rejection. Second, a pure Python approach using OpenCV or Pillow to cut out the face and paste it onto a suit template left harsh seams at the neck and collar due to complex shadows, resulting in a look that resembled a crude composite.

The hybrid design splits the work: Python handles geometric correction (calculating tilt from pupil coordinates and rotating to horizontal), frequency-separation blending to lock the original facial pixels, and millimeter-spec cropping plus print-sheet layout. The image-generation AI handles clothing replacement, background flattening, and blending shadows at the neck and collar. This division lets the skill preserve identity while producing studio-quality lighting and attire.

The skill offers three correction patterns: A (suit swap with closed-mouth expression for passports, My Number, and job hunting), B (keep original clothing, correct background, lighting, and posture for student IDs or casual wear), and C (100% preserve original smile and expression while swapping to a suit for employee IDs and profile photos). The author recommends running it on agents like Codex or Google Antigravity that have built-in image generation, and for Claude Code users suggests linking the free local AGNES skill. The main caveat is that weak reasoning models or poor image-generation models can cause artifacts in pattern C, such as an elongated neck, a double-chin-like step at the boundary, or noise between the background and suit outline.

FAQ
What ID photo sizes does id-photo-studio support?
It supports resume (40×30mm), My Number and passport (45×35mm), driver's license (30×24mm), US visa (51×51mm), TOEIC (40×30mm), and custom sizes.
Can I print the photos at a convenience store?
Yes. The skill outputs an L判 (89×127mm) or 2L判 (127×178mm) sheet at 300 DPI with crop marks and a 50mm ruler scale for size verification.
Why does the skill combine AI generation with Python processing instead of using just one?
AI-only generation subtly alters facial features, risking rejection of official photos. Python-only compositing leaves unnatural seams at the neck and collar. The hybrid approach locks the original face using frequency separation and lets AI handle clothing and lighting.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleFamilies in seven cities protest Google's AI-only school Search