본문으로 건너뛰기
Skillpedia
이미지 및 아이콘50k · #3598

image-generation

하는 일

이 스킬은 이미지 도구로 그림을 만들고, 여러 차례에 걸쳐 수정하도록 에이전트를 가르칩니다. 원하는 모습을 설명해서 그림을 만들거나 바꾸고 싶은 사람에게 맞습니다.

사용하는 경우

  • ✓설명에 따라 그림, 일러스트, 디자인을 그려 달라고 요청할 때.
  • ✓저장된 이미지의 배경이나 조명처럼 일부를 바꾸고 싶을 때.
  • ✓마지막으로 생성한 이미지의 다른 버전을 원할 때.

스킬 링크

https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/image-generation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/image-generation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“따뜻한 색감의 아늑한 카페 일러스트를 그려 주고, 배경을 더 밝게 바꿔 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 요청을 바탕으로 자세한 프롬프트를 쓰고 이미지 도구를 호출합니다. 생성된 이미지는 파일로 저장되며, 에이전트가 그 이미지를 다시 보내 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Image Generation

Use the generate_image tool when the user asks you to create, render, draw, design, generate, or edit an image.

If the generate_image tool is not available in the current tool list, tell the user that image generation is not enabled for this nanobot instance.

When To Use

  • Text-to-image: call generate_image with a concrete prompt.
  • Image editing: pass the saved artifact path or user image path in reference_images.
  • Iterative edits in the same conversation: prefer the most recent generated image artifact if the user says things like "make it brighter", "change the background", or "try another version".
  • Ambiguous edits: ask a short clarifying question if multiple recent images could be the target.
  • After generating images, call the message tool with the artifact paths in the media parameter to deliver them to the user.

Prompt Rules

Write prompts with enough detail for image models:

  • Subject and scene.
  • Composition and camera or layout.
  • Style, mood, lighting, and color palette.
  • Text that must appear in the image, quoted exactly.
  • Constraints such as "keep the same character", "preserve the logo", or "do not change the background".

Artifact Rules

The tool stores generated images as persistent artifacts under nanobot's media directory and returns structured metadata:

  • id: generated image id, such as img_ab12cd34ef56.
  • path: local file path for internal follow-up edits.
  • mime: image MIME type.
  • prompt, model, and source_images: provenance for follow-up edits.

In normal user-facing replies, do not expose local filesystem paths. Keep the reply natural, for example "Done, I generated it." You may include the short image id when it helps the user refer to a specific image, but keep raw path internal unless the user explicitly asks for debug details or a local artifact reference. Never paste base64.

For follow-up edits, pass the prior artifact path to reference_images. If the user provides a new uploaded image, use that path as the reference instead.

Do not include internal replay markers such as [Message Time: ...], [image: /local/path], generate_image(...), or message(...) in user-facing replies.

Examples

Generate a new image:

generate_image(
  prompt="A minimal app icon for nanobot: friendly robot head, rounded square, soft blue and white palette, clean vector style, no text",
  aspect_ratio="1:1",
  image_size="1K"
)

Edit the latest generated artifact:

generate_image(
  prompt="Use the reference image. Keep the same robot and composition, but change the palette to warm orange and add a subtle sunrise background.",
  reference_images=["/home/user/.nanobot/media/generated/2026-05-08/img_ab12cd34ef56.png"],
  aspect_ratio="1:1",
  image_size="1K"
)
자주 묻는 질문

이미지 생성 기능이 항상 켜져 있나요?

아닙니다. 이 인스턴스에서 이미지 도구가 켜져 있지 않으면, 에이전트가 그 사실을 알려야 한다고 스킬이 말합니다.

업로드한 사진을 편집할 수 있나요?

네. 저장된 이미지나 직접 올린 이미지를 편집을 위한 참고 자료로 전달할 수 있습니다.

좋은 이미지 프롬프트란 무엇인가요?

스킬은 주제, 구도, 스타일, 조명, 색감, 그리고 들어가야 할 정확한 텍스트를 명시하라고 제안합니다.

상세 정보

작성자의 원본 설명

Generate images and iteratively edit saved image artifacts.

repo: HKUDS/nanobot

인기도

GitHub 스타
50k
순위
#3598
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬