baby-photo-book

Generate professional baby photo books from photos with intelligent layout. Automatically organizes photos by baby's age stages, applies smart layouts to minimize whitespace, and outputs print-ready PDF. Use when user wants to create baby photo albums, generate photo books from baby pictures, or automatically layout photos for printing.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "baby-photo-book" with this command: npx skills add atmosphere16happy/baby-photo-book

Baby Photo Book Generator

Generate professional baby photo books with intelligent layout optimization.

Features

  • Automatic Age Grouping: Organizes photos by baby's growth stages (newborn, infant, toddler)
  • Smart Layout: Minimizes whitespace while preserving photo aspect ratios
  • Multiple Layout Patterns: Supports 1-4 photos per page with optimal arrangements
  • Print-Ready Output: Generates A4 PDF suitable for professional printing

Usage

Basic Usage

python scripts/generate_photo_book.py <photo_folder> --name "Baby Name" --birth YYYY-MM-DD

Parameters

  • photo_folder: Path to folder containing baby photos
  • --name: Baby's name for the cover
  • --birth: Baby's birth date (YYYY-MM-DD format)
  • --output: Output PDF filename (default: baby_photo_book.pdf)

Example

python scripts/generate_photo_book.py ~/baby_photos --name "小明" --birth 2023-06-15

Layout Algorithm

The skill uses an intelligent layout engine that:

  1. Analyzes photo aspect ratios to determine optimal placement
  2. Calculates multiple layout options for each page
  3. Selects the layout with minimum whitespace
  4. Preserves photo proportions without cropping

Layout Patterns

PhotosLayout Strategy
1Full page, maximized to fill available space
2Side-by-side or stacked, whichever minimizes whitespace
3Left-1-Right-2 or Top-1-Bottom-2 based on photo orientations
42×2 adaptive grid with aspect-ratio-aware cell sizing

Age Stages

Photos are automatically grouped by baby's age:

  • Newborn (0-1 month)
  • Early Infant (1-3 months)
  • Mid Infant (3-6 months)
  • Late Infant (6-9 months)
  • Crawling (9-12 months)
  • Early Toddler (1-1.5 years)
  • Mid Toddler (1.5-2 years)
  • Late Toddler (2-3 years)

Dependencies

  • Python 3.8+
  • Pillow (image processing)
  • ReportLab (PDF generation)

Install dependencies:

pip install Pillow reportlab

Output

Generates a PDF with:

  • Cover page with baby name
  • Chapter pages for each age stage
  • Photo pages with intelligent layouts
  • Date and age annotations on each photo

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Web to PDF

Convert a web page to PDF, especially web-based slide decks and presentations (reveal.js, impress.js, custom JS slideshows, scroll-based decks). Use when the...

Registry SourceRecently Updated
2310Profile unavailable
General

批量图像处理工具

基于imutils库,实现图片批量旋转、缩放、平移、骨架化及图片列表列出功能,支持多场景图像处理。

Registry SourceRecently Updated
3110Profile unavailable
General

📝 文档处理大师

上传任意文档,智能提取关键信息、生成摘要。无需API Key,安装即用。

Registry SourceRecently Updated
360Profile unavailable
General

📝 文档摘要大师

上传长文档/文章/PDF/合同,自动生成结构化摘要、关键条款提取、执行清单。支持20+种摘要格式。安装即用,无需API Key。

Registry SourceRecently Updated
380Profile unavailable