stitch
AI-powered UI and image generation using Gemini 3 (Nano Banana Pro)
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Stitch Skill
Generate production-ready UIs, components, and images using Google's Gemini 3 AI.
Configuration
Requires GEMINI_API_KEY in environment variables.
Models Used
- gemini-3-pro-preview: Code/UI generation with advanced reasoning
- gemini-3-pro-image-preview: Pro image generation (Nano Banana Pro) - up to 4K
- gemini-2.5-flash-image: Fast image generation (Nano Banana)
Actions
UI/Code Generation
generate_ui
Generate a complete UI from a text description.
-
prompt(str): Description of the UI -
format(str): "html", "react", or "css"
generate_component
Generate a reusable UI component.
-
prompt(str): Component description -
framework(str): "react", "vue", "svelte", or "html"
Image Generation
generate_image
Generate an image from text.
-
prompt(str): Image description -
aspect_ratio(str): "1:1", "16:9", "9:16", etc. -
resolution(str): "1K", "2K", or "4K" -
output_path(str): Path to save the image
edit_image
Edit an existing image.
-
prompt(str): Edit instructions -
image_path(str): Path to source image -
output_path(str): Path to save edited image
generate_logo
Generate a professional logo.
-
prompt(str): Logo description -
output_path(str): Path to save
generate_infographic
Generate an infographic with Google Search grounding.
-
prompt(str): Infographic topic -
output_path(str): Path to save
Examples
# Generate UI code
result = skill.execute("generate_ui", prompt="a modern dashboard with sidebar", format="react")
# Generate an image
result = skill.execute("generate_image",
prompt="futuristic city at sunset",
aspect_ratio="16:9",
resolution="2K",
output_path="city.png")
# Generate a logo
result = skill.execute("generate_logo",
prompt="coffee shop called 'The Daily Grind'",
output_path="logo.png")
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!