Toolverse
All skills

nanobanana-pro-fallback

by openclaw

Generate or edit images via Gemini Image API with automatic model fallback.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Testing
Views
4

About this skill

Generate or edit images via Gemini Image API with automatic model fallback.

How to use

  1. Zainstaluj narzędzie uv, jeśli jeszcze go nie masz — jest to wymagane do uruchomienia skryptu. Sprawdź, czy polecenie uv działa w terminalu.

  2. Ustaw zmienną środowiskową GEMINI_API_KEY z Twoim kluczem API Gemini. Możesz to zrobić w bieżącej sesji terminala lub dodać do pliku konfiguracyjnego agenta.

  3. Aby wygenerować obraz z opisu tekstowego, użyj polecenia: uv run {baseDir}/scripts/generate_image.py --prompt "Twój opis obrazu" --filename "output.png" --resolution 1K. Zastąp "Twój opis obrazu" rzeczywistym opisem, a 1K zmień na 2K lub 4K w zależności od potrzebnej rozdzielczości.

  4. Aby edytować istniejący obraz, dodaj flagę -i ze ścieżką do pliku wejściowego: uv run {baseDir}/scripts/generate_image.py --prompt "instrukcje edycji" --filename "output.png" -i "/ścieżka/do/obrazu.png" --resolution 2K.

  5. Jeśli chcesz połączyć wiele obrazów w jedną kompozycję, podaj każdy plik z osobną flagą -i: uv run {baseDir}/scripts/generate_image.py --prompt "połącz w jedną scenę" --filename "output.png" -i obraz1.png -i obraz2.png -i obraz3.png. Możesz użyć do 14 obrazów jednocześnie.

  6. Zawsze używaj uv run do uruchomienia skryptu — bezpośrednie użycie python3 nie zadziała, ponieważ zależności nie będą dostępne. Jeśli prefetujesz, możesz też użyć skryptu opakowującego: {baseDir}/scripts/generate --prompt "opis" --filename "output.png" --resolution 1K.

Related skills

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

code-review-excellence

by wshobson

Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.

Testing
1145

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

wcag-audit-patterns

by wshobson

Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.

Testing
1893

nextjs-developer

by zenobi-us

Expert Next.js developer mastering Next.js 14+ with App Router and full-stack features. Specializes in server components, server actions, performance optimization, and production deployment with focus on building fast, SEO-friendly applications.

Testing
166226

dependency-upgrade

by wshobson

Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.

Testing
17138