CommunityImagemgithub.com

wedding-poster

Turns one wedding photograph into a quiet paper poster with the original photo, a coordinated minimalist hand-drawn vignette, and a short English typewriter title. It applies to 婚礼海报, 手绘海报, 意境海报, 婚礼照片转手绘, wedding poster, sketch poster, and illustrated wedding keepsake requests based on a wedding photo.

O que é wedding-poster?

wedding-poster is a Claude Code agent skill that turns one wedding photograph into a quiet paper poster with the original photo, a coordinated minimalist hand-drawn vignette, and a short English typewriter title. It applies to 婚礼海报, 手绘海报, 意境海报, 婚礼照片转手绘, wedding poster, sketch poster, and illustrated wedding keepsake requests based on a wedding photo.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HaloBear-AI/skill-wedding-poster/tree/HEAD/wedding-poster

Installed? Explore more Imagem skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Wedding Poster

Make one poster from one wedding photograph. Keep the original photograph intact and separate from the new vignette. Speak the user's language. Keep the on-poster title in English unless the user supplies a title in another language or asks to omit it.

Step 0 · Validate the Input

Identify exactly one readable still photograph. If it is missing, ask once for the upload. If several photographs are supplied, ask which one to use. Treat a returned sketch as a separate asset when resuming at Step 5. Use the commands from this skill's root and the packages in requirements.txt.

Run analyze_photo.py to validate the photo and write the technical analysis.

python scripts/analyze_photo.py --photo photo.jpg > photo-analysis.json

If the oriented short edge is below 1200 px, mention the possible softness and continue. If the file is unreadable, request a readable export.

Step 1 · Describe the Scene

Read the dimensions, orientation, palette, and chromatic_palette in the analysis JSON. Inspect the original photograph using the environment's visual capability. Save scene-brief.json using the structure in art-direction.md. Fill signature_element, the actual swatch pigment as one dominant_color HEX, a short backdrop treatment, up to two accent_colors HEX values, floral, and three mood words. Derive the swatch hue, outline or tilt, and pigment density from the distinctive decor and lighting in this photo. Honor the user's swatch overrides.

Use couple_pose to describe the pair's placement, facing, gestures, and clothing silhouettes when the couple is visible. For a group of three or more, also add group_pose with one entry per clearly visible member of the wedding group. Record everyone from front to back and from the viewer's left to right within each row. Capture each person's position, posture, gesture, and distinctive clothing silhouette. Record head angles and omit individual facial details from the brief. If visual capability is unavailable, ask the user for the scene fields in one message and use their answers.

Step 2 · Select the Title

Use the user-supplied title verbatim, or honor a request to omit it. Otherwise read title-writing.md, draft three candidates, and choose the strongest. Use three to five English words, capitalize only the first word, and leave off the period. Draw the imagery from the signature element, light, or gesture. Avoid clichés such as love, forever, happily, and dream.

Step 3 · Prepare the Sketch Prompt

Read prompt-templates.md. Fill the universal template from the scene brief, adapt it to the chosen generation capability, and save a UTF-8 prompt. Carry the selected pigment and backdrop treatment into every route so one rough, mostly upright brush mark behind the figures echoes the photo. For a group, derive the exact figure count from the length of group_pose and include that count and the ordered description of each person. Request one small picture on uniform warm white with ample margin. Keep the dry-brush swatch, stippled flowers, and pencil-and-wash figures in three distinct vertical zones. Let the group span the lower zone naturally. Give every visible face its own cute expression with small eyes and smiles that vary in shape and intensity. Use hair-thin, low-contrast graphite contours, a faint warm skin-tone wash, and a touch of blush where it suits the angle and mood. Keep the expressions abstract and the sketch free of lettering.

Step 4 · Generate the Sketch

Try these routes in order. Continue to Step 5 as soon as a sketch file is available.

  1. Use the environment's native reference-capable image generation or editing tool. Provide the original photo as a visual reference and the filled prompt. Generate a standalone sketch to use as a separate input to the compositor.

  2. If the native route is unavailable or fails and the process has a configured compatible image endpoint, run generate_sketch_api.py. Follow the API route in the prompt reference. Read the credential from the environment and keep its value out of files and output.

    python scripts/generate_sketch_api.py --photo photo.jpg --prompt-file sketch-prompt.txt --out sketch.png
    
  3. If neither route can return an image, give the user the complete filled prompt, including the aspect ratio and negative prompt. Ask them to generate the sketch with an available tool and return the file or its path. Resume at Step 5 when it arrives.

Step 5 · Inspect the Sketch

Use the sketch checks in qa-checklist.md. Compare the sketch with the photo and scene brief to verify the exact number of figures, their left-to-right order and row placement, gestures, and clothing silhouettes. Check that the swatch's hue, edge or tilt, and pigment density reflect this photo and any user overrides. Check the florals, quiet margin, and absence of lettering. At full size, verify an endearing, individual expression, fine contour, and faint skin-tone wash on every visible face. When the sketch needs work, revise the prompt for the specific defect and regenerate up to three times after the initial generation. If the user is generating externally, give them the targeted correction to apply. Report unresolved defects and request a revised image if the retry limit is reached.

Step 6 · Compose the Poster

Run compose_poster.py with the original photo and the approved sketch. Use layout-spec.md for size, layout, paper, typography, and tuning. Apply EXIF orientation and scale the entire photo proportionally. Preserve its decoded RGB pixels except for the interpolation required by resizing. Pass title text as a single argument or use --no-title.

python scripts/compose_poster.py --photo photo.jpg --sketch sketch.png --title 'A breath in drape' --out poster.png

To enlarge the drawing, set both the sketch width limit and height target, for example --sketch-width 0.37 --sketch-height 0.39. The proportional fit and available space can reduce the final size.

Check the JSON for the output path, size, layout, applied sketch blend, font, and element coordinates. Resolve any reported input or rendering errors before delivery. If the title requires other glyphs, supply a suitable local font with --font.

Step 7 · Inspect and Deliver the Poster

Open the written PNG. Compare the overall composition, full photo, sketch integration, and title against qa-checklist.md. Use the JSON bounds to verify the spacing and locate details at full resolution. Adjust the relevant compose parameter or return to the applicable sketch step if a check fails. Deliver the PNG path and a sentence naming the title and the relevant adjustable parameters.

Habilidades Relacionadas