技能图谱SKILLSGROVE
技能图谱/设计与图像/happycapy-ai/Happycapy-skills/ai-image-generation

ai-image-generation

安装

$npx skills add https://github.com/happycapy-ai/Happycapy-skills --skill ai-image-generation
$git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git /tmp/Happycapy-skills && mkdir -p ~/.claude/skills && cp -r /tmp/Happycapy-skills/skills/ai-image-generation ~/.claude/skills/ai-image-generation
请帮我安装这个 Agent Skill:https://github.com/happycapy-ai/Happycapy-skills/tree/9ff72feaf2f200f81fa4557d021414f73d12ab28/skills/ai-image-generation ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITGenerate AI images with FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image
以下 SKILL.md 内容转载自 happycapy-ai/Happycapy-skills(提交 9ff72fe),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

AI Image Generation

Generate images with 50+ AI models via inference.sh CLI.

Quick Start

# Install CLI
curl -fsSL https://cli.inference.sh | sh && infsh login

# Generate an image with FLUX
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'

Available Models

Model App ID Best For
FLUX Dev LoRA falai/flux-dev-lora High quality with custom styles
FLUX.2 Klein LoRA falai/flux-2-klein-lora Fast with LoRA support (4B/9B)
Gemini 3 Pro google/gemini-3-pro-image-preview Google's latest
Gemini 2.5 Flash google/gemini-2-5-flash-image Fast Google model
Grok Imagine xai/grok-imagine-image xAI's model, multiple aspects
Seedream 4.5 bytedance/seedream-4-5 2K-4K cinematic quality
Seedream 4.0 bytedance/seedream-4-0 High quality 2K-4K
Seedream 3.0 bytedance/seedream-3-0-t2i Accurate text rendering
Reve falai/reve Natural language editing, text rendering
ImagineArt 1.5 Pro falai/imagine-art-1-5-pro-preview Ultra-high-fidelity 4K
Topaz Upscaler falai/topaz-image-upscaler Professional upscaling

Browse All Image Apps

infsh app list --category image

Examples

Text-to-Image with FLUX

infsh app run falai/flux-dev-lora --input '{
  "prompt": "professional product photo of a coffee mug, studio lighting"
}'

Fast Generation with FLUX Klein

infsh app run falai/flux-2-klein-lora --input '{"prompt": "sunset over mountains"}'

Google Gemini 3 Pro

infsh app run google/gemini-3-pro-image-preview --input '{
  "prompt": "photorealistic landscape with mountains and lake"
}'

Grok Imagine

infsh app run xai/grok-imagine-image --input '{
  "prompt": "cyberpunk city at night",
  "aspect_ratio": "16:9"
}'

Reve (with Text Rendering)

infsh app run falai/reve --input '{
  "prompt": "A poster that says HELLO WORLD in bold letters"
}'

Seedream 4.5 (4K Quality)

infsh app run bytedance/seedream-4-5 --input '{
  "prompt": "cinematic portrait of a woman, golden hour lighting"
}'

Image Upscaling

infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'

Stitch Multiple Images

infsh app run infsh/stitch-images --input '{
  "images": ["https://img1.jpg", "https://img2.jpg"],
  "direction": "horizontal"
}'

Related Skills

# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh

# FLUX-specific skill
npx skills add inference-sh/skills@flux-image

# Upscaling & enhancement
npx skills add inference-sh/skills@image-upscaling

# Background removal
npx skills add inference-sh/skills@background-removal

# Video generation
npx skills add inference-sh/skills@ai-video-generation

# AI avatars from images
npx skills add inference-sh/skills@ai-avatar-video

Browse all apps: infsh app list

Documentation

查看许可证全文(MIT)
MIT License

Copyright (c) 2026

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.