Best for
- "Generate a hero image for my project"
- "Create a short video of a sunset timelapse"
- "Edit this photo to remove the background"
sonichi/sutando/skills/image-generation/SKILL.md
Generate and edit images using Gemini Flash Image, and generate videos using Veo. Supports text-to-image, image editing, text-to-video, and image-to-video.
Decision brief
Generate images and videos using Gemini APIs.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/sonichi/sutando --skill "skills/image-generation"Inspect the Agent Skill "image-generation" from https://github.com/sonichi/sutando/blob/6a8f0fccd32e5aa620a3572c8885544f144bb6fe/skills/image-generation/SKILL.md at commit 6a8f0fccd32e5aa620a3572c8885544f144bb6fe. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Review the “Usage” section in the pinned source before continuing.
Text-to-image: Generate images from text descriptions
Text-to-video: Generate video clips from text prompts
"Generate a hero image for my project"
Permission review
The documentation asks the agent to run terminal commands or scripts.
python3 "$SKILL_DIR/scripts/generate.py" --prompt "A futuristic city skyline at night"The documentation asks the agent to run terminal commands or scripts.
python3 "$SKILL_DIR/scripts/generate.py" --input photo.jpg --prompt "Add dramatic clouds"Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 72/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 359 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Generate images and videos using Gemini APIs.
# Text-to-image
python3 "$SKILL_DIR/scripts/generate.py" --prompt "A futuristic city skyline at night"
# Edit an existing image
python3 "$SKILL_DIR/scripts/generate.py" --input photo.jpg --prompt "Add dramatic clouds"
# Specify output path
python3 "$SKILL_DIR/scripts/generate.py" --prompt "A cute robot mascot" --output mascot.png
# Text-to-video
python3 "$SKILL_DIR/scripts/generate.py" --video --prompt "A timelapse of a city at sunset"
# Video with portrait aspect ratio
python3 "$SKILL_DIR/scripts/generate.py" --video --prompt "Ocean waves" --aspect 9:16
# Image-to-video (animate a reference image)
python3 "$SKILL_DIR/scripts/generate.py" --video --input scene.jpg --prompt "Animate this scene with gentle wind"
# Specify output
python3 "$SKILL_DIR/scripts/generate.py" --video --prompt "Dancing robot" --output robot.mp4
| Flag | Description | Default |
|---|---|---|
--prompt | Text prompt describing what to generate | (required) |
--input | Input image path(s) for editing/reference | None |
--output | Output file path | generated-{timestamp}.png or .mp4 |
--model | Gemini model to use | gemini-2.5-flash-image / veo-3.1-generate-preview |
--video | Generate video instead of image | false |
--aspect | Video aspect ratio | 16:9 |
--quality | JPEG quality (1-100, images only) | 90 |
google-genai Python package (pip3 install google-genai)GEMINI_API_KEY in .env or environmentpip3 install Pillow) — for image generation/editingAlternatives