मुख्य सामग्री पर जाएँ
Skillpedia
इमेज और आइकन6.0k · #14461

sn-image-imitate

यह क्या करती है

यह स्किल संदर्भ चित्र जैसी शैली में नई तस्वीर बनाती है, लेकिन सामग्री वह होती है जो आप बताते हैं। यह उन लोगों के लिए है जिन्हें कोई रूप पसंद है और वे उसे किसी नई चीज़ के लिए इस्तेमाल करना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आपके पास कोई संदर्भ चित्र हो जिसकी शैली आप नए दृश्य के लिए चाहते हों।
  • ✓जब आप किसी तस्वीर का लेआउट और मूड रखना चाहें, पर उसमें दिखाई गई चीज़ें बदलना चाहें।
  • ✓जब आप एक चित्र की शैली किसी नई बनाई गई तस्वीर में लाना चाहें।

Skill का लिंक

https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-image-imitate/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-image-imitate/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे लिए इस फ़ोटो की शैली और रंग लेकर रात की एक कॉफ़ी शॉप की नई तस्वीर बनाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट संदर्भ चित्र का विस्तार से वर्णन करता है, उस वर्णन को आपकी नई सामग्री के साथ फिर से लिखता है और शैली व लेआउट बनाए रखता है, फिर नई तस्वीर बनाकर उसका लेआउट जाँचता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

sn-image-imitate

Image style imitation scene skill (tier 1), relying on the sn-image-recognize, sn-text-optimize, and sn-image-generate tools provided by sn-image-base (tier 0).

Features:

  • Extracts high-fidelity long caption from a reference image
  • Rewrites caption according to user requested content change while preserving style and layout
  • Enforces layout-lock constraints during caption rewrite
  • Performs post-generation layout consistency review and bounded retries
  • Returns structured process artifacts for debugging and reproducibility

Non-goals

  • Pure neural style transfer without content change (use dedicated style-transfer tools instead)
  • Local editing / inpainting of specific regions within the reference image
  • Processing video or animation input (only single static images are supported)
  • Batch generation from multiple reference images in one invocation
  • Guaranteeing pixel-level fidelity to the reference; the skill targets layout and style consistency, not exact reproduction

Input Specification

  • reference_image (string, required): local path or URL of the style reference image
  • target_content (string, required): new content user wants in the generated image
  • output_mode (string, default friendly): output mode, friendly or verbose
  • aspect_ratio (string, default 16:9): output aspect ratio for generation
  • image_size (string, default 2k): output image size preset
  • max_attempts (int, default 3): maximum generation attempts for meeting layout consistency
  • layout_threshold (float, default 0.75): minimum layout similarity score to accept result

Environment Variable

Dependency installation and API key configuration are for sn-image-base skill.

The minimum environment variables to configure sn-image-base skill running with SenseNova Token Plan:

SN_BASE_URL="https://token.sensenova.cn/v1"
SN_API_KEY="your-api-key"

Fallback priority is dedicated variable > domain shared variable > global variable. Text calls use SN_TEXT_API_KEY -> SN_CHAT_API_KEY -> SN_API_KEY; vision calls use SN_VISION_API_KEY -> SN_CHAT_API_KEY -> SN_API_KEY; image generation uses SN_IMAGE_GEN_API_KEY -> SN_API_KEY.

Please refer to the Python dependencies and API keys section in sn-image-generate_en.md for more configurations.

API Configuration

All API calls in this skill are executed through the sn_agent_runner.py of the sn-image-base skill, please refer to the sn-image-base skill (README.md) for more details.

  • VLM call: sn-image-recognize (Step 1 & 3)
  • LLM call: sn-text-optimize (Step 2)
  • Image generation call: sn-image-generate (Step 3)

When encountering MissingApiKeyError or needing explicit model control: pass model and auth params explicitly via CLI arguments. See $SN_IMAGE_BASE/references/api_spec.md.

$SN_IMAGE_BASE path explanation: $SN_IMAGE_BASE is the installation directory of the sn-image-base skill (SKILL.md exists). The agent can locate this path by skill name sn-image-base.

Architecture: Main Agent + Worker Agent

This skill uses a two-tier agent architecture:

  • Main Agent: receives user request, normalizes parameters, sends preflight, invokes Worker Agent, and sends final text/image to user
  • Worker Agent: executes fixed 3-step pipeline and returns structured JSON

Responsibility Boundaries:

  • Worker Agent does not send any user-visible message directly
  • Main Agent sends all user-facing responses
  • Worker Agent last message must be and only be the JSON string defined in Return Contract
  • Worker Agent executes VLM/LLM/image calls directly; no nested subagent for these low-level calls

Workflow

Main Agent Workflow

  1. Extract reference_image, target_content, output_mode (default friendly), aspect_ratio (default 16:9), image_size (default 2k), max_attempts (default 3), and layout_threshold (default 0.75)
  2. Validate required inputs:
    • reference_image is provided and resolvable
    • target_content is non-empty
  3. Send preflight message: "Using sn-image-imitate skill to generate a style-consistent image, please wait..."
  4. Start Worker Agent with full normalized parameters and working directory
  5. On Worker result:
    • status=ok: send final summary and generated image
    • `sta
अक्सर पूछे जाने वाले सवाल

क्या यह संदर्भ चित्र को पिक्सेल-दर-पिक्सेल कॉपी करती है?

नहीं। इसका लक्ष्य मिलती-जुलती शैली और लेआउट है, हूबहू नकल नहीं।

क्या यह वीडियो संभाल सकती है?

नहीं। यह सिर्फ़ एक-एक स्थिर चित्र के साथ काम करती है।

क्या यह संदर्भ चित्र का कोई हिस्सा बदल सकती है?

नहीं। यह संदर्भ चित्र के किसी क्षेत्र को संपादित करने के बजाय नई तस्वीर बनाती है।

जानकारी

लेखक का मूल विवरण

Generates a new image that imitates the style of a reference image while updating content based on user intent. Uses a three-stage pipeline: image annotation (long caption), caption rewriting, and image generation. Use when user asks to "imitate style", "保持这个风格重画", "按这张图风格生成", or "style transfer with new content".

repo: OpenSenseNova/SenseNova-Skills

लोकप्रियता

GitHub स्टार
6.0k
रैंकिंग में स्थान
#14461
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

sn-code-video

6.0k

यह आपके एजेंट को Canvas, SVG, Three.js या Remotion से कोड द्वारा वीडियो बनाना सिखाती है, हर फ़्रेम जाँचकर और MP4 के रूप में export करके।

वीडियो और ऑडियोमोशन और एनिमेशन

sn-image-base

6.0k

यह दूसरी स्किल को SenseNova सेवाओं से तस्वीरें बनाने, चित्र की सामग्री पहचानने और टेक्स्ट सुधारने के बुनियादी टूल देती है।

डिज़ाइनइमेज और आइकन

sn-image-doctor

6.0k

यह जाँचती है कि आपका SenseNova-Skills सेटअप इंस्टॉल है, उसके Python packages और ज़रूरी API keys मौजूद हैं, फिर गायब keys को फ़ाइल में सहेजती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

sn-image-resume

6.0k

यह आपके एजेंट को आपके resume के टेक्स्ट से एक डिज़ाइन की हुई portfolio-शैली resume तस्वीर बनाने में मदद करती है, चाहें तो शैली भी चुन सकते हैं।

डिज़ाइनइमेज और आइकन

मिलती-जुलती skills