sn-image-imitate

Generate style-consistent images from a reference image with layout-locked caption rewriting.

2|Updated May 19, 2026
One-click install
npx skills add https://github.com/aiyinluya/SenseNova-Skills-Studio --skill sn-image-imitate-aiyinluya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sn-image-imitate
Source: https://github.com/aiyinluya/SenseNova-Skills-Studio/tree/main/skills/sn-image-imitate
Command: npx skills add https://github.com/aiyinluya/SenseNova-Skills-Studio --skill sn-image-imitate-aiyinluya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python (scripts/sn_agent_runner.py), and includes scripts (resource) components.

What problem does it solve?

Rewriting a design from an existing reference often breaks the original layout and visual style, forcing repeated manual prompt tweaking until the result “looks right.”

Core Features & Use Cases

  • Style + layout preservation: Extracts a long, detailed reference description and a layout blueprint, then rewrites the caption to keep hierarchy, region topology, and reading flow consistent.
  • Layout-locked generation with retries: Generates an image and performs VLM-based layout consistency review, retrying with corrective hints until the layout similarity passes a threshold.
  • Debuggable, structured results: Returns the reference captions, layout blueprint, rewritten caption, per-attempt scores, deviations, and timing for reproducibility.

Quick Start

Ask the skill to imitate the style of a provided reference image while replacing the content with your requested topic and describe your desired output aspect ratio and size if needed.

Frequently Asked Questions about sn-image-imitate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a style-consistent image while updating the scene content from a reference image?

To generate a style-consistent image, this Skill extracts a layout blueprint and detailed caption from your reference image, rewrites the caption to match your new topic, and uses VLM-based layout consistency reviews with retries to ensure the visual rendering style and block topology remain intact.

Why does rewriting a design from an existing reference break the original layout and visual style?

Rewriting a design often breaks the original layout because standard image generation ignores region topology and reading flow. This Skill solves the problem by applying layout-lock constraints and a bounded layout consistency review to preserve the hierarchy and rendering style of the reference.

How to imitate poster and infographic layouts while replacing the text and content?

You can imitate poster and infographic layouts by providing a static reference image and describing your desired content. The Skill uses a three-stage pipeline to extract the visual blueprint, rewrite the caption with layout-lock constraints, and generate the new image while preserving the block topology.

Does this image generation workflow support automatic retries for layout deviations?

Yes, the workflow supports automatic retries. It performs a VLM-based layout consistency review after image generation, compares the output against the reference blueprint, and retries with corrective hints until the layout similarity passes a defined threshold.

Can I debug the image generation process if the output layout does not match the reference?

Yes, you can debug the generation process because the Skill returns structured, debuggable results. It outputs the reference captions, layout blueprint, rewritten caption, per-attempt scores, deviations, and timing data to ensure reproducibility and help identify layout mismatches.

What is the best way to preserve block topology and reading flow when generating new office visuals?

The best way to preserve block topology is to use a Skill that extracts a layout blueprint and enforces layout-lock constraints during caption rewriting. This ensures the hierarchy, region topology, and reading flow of your office visuals remain consistent with the static reference.