Zum Inhalt springen
Skillpedia
Bilder & Icons50k · #3598

image-generation

Was er macht

Diese Fähigkeit bringt deinem Agenten bei, Bilder mit einem Bildwerkzeug zu erzeugen und über mehrere Runden zu überarbeiten. Sie ist für Menschen gedacht, die Bilder durch eine Beschreibung erstellen oder ändern lassen möchten.

Wann du ihn nutzt

  • ✓Wenn du ein Bild, eine Illustration oder ein Design aus einer Beschreibung erstellen lassen möchtest.
  • ✓Wenn du ein gespeichertes Bild ändern möchtest, etwa seinen Hintergrund oder die Beleuchtung.
  • ✓Wenn du eine weitere Version des letzten erzeugten Bildes willst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/image-generation/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du eine gemütliche Café-Illustration in warmen Farben zeichnen und danach den Hintergrund heller machen?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent schreibt aus deiner Anfrage einen ausführlichen Prompt und ruft das Bildwerkzeug auf. Die erzeugten Bilder werden als Dateien gespeichert, und der Agent schickt sie dir zurück.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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"
)
Häufige Fragen

Ist die Bilderzeugung immer eingeschaltet?

Nein. Die Fähigkeit sagt, dass der Agent dir mitteilen muss, wenn das Bildwerkzeug für diese Instanz nicht aktiviert ist.

Kann sie ein Foto bearbeiten, das ich hochlade?

Ja. Du kannst ein gespeichertes Bild oder dein eigenes Bild als Referenz für die Bearbeitung übergeben.

Was macht einen guten Bild-Prompt aus?

Die Fähigkeit schlägt vor, Motiv, Komposition, Stil, Licht, Farben und exakten Text anzugeben, der im Bild erscheinen soll.

Details

Originalbeschreibung des Autors

Generate images and iteratively edit saved image artifacts.

repo: HKUDS/nanobot

Beliebtheit

GitHub-Sterne
50k
Platz im Ranking
#3598
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills