ai-image-generation

作者: skills-101

透過 inference.sh CLI 使用 GPT-Image-2、FLUX、Gemini、Grok、Seedream、Reve 及 50 多種模型生成 AI 圖像。模型:GPT-Image-2、FLUX Dev LoRA、FLUX.2 Klein LoRA、Gemini 3 Pro Image、Grok Imagine、Seedream 4.5、Reve、ImagineArt。功能:文字轉圖像、圖像轉圖像、修復、LoRA、圖像編輯、放大、文字渲染。用途:AI 藝術、產品模型、概念藝術、社群媒體圖形、行銷視覺、插圖。觸發詞:flux、image generation、ai image、text to...

npx skills add https://github.com/skills-101/superpowers --skill ai-image-generation

Install the belt CLI skill: npx skills add belt-sh/cli

AI Image Generation

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

AI Image Generation

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

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

Available Models

ModelApp IDBest For
GPT-Image-2openai/gpt-image-2Text-to-image, editing, inpainting
FLUX Dev LoRAfalai/flux-dev-loraHigh quality with custom styles
FLUX.2 Klein LoRAfalai/flux-2-klein-loraFast with LoRA support (4B/9B)
P-Imagepruna/p-imageFast, economical, multiple aspects
P-Image-LoRApruna/p-image-loraFast with preset LoRA styles
P-Image-Editpruna/p-image-editFast image editing
Gemini 3 Progoogle/gemini-3-pro-image-previewGoogle's latest
Gemini 2.5 Flashgoogle/gemini-2-5-flash-imageFast Google model
Grok Imaginexai/grok-imagine-imagexAI's model, multiple aspects
Seedream 4.5bytedance/seedream-4-52K-4K cinematic quality
Seedream 4.0bytedance/seedream-4-0High quality 2K-4K
Seedream 3.0bytedance/seedream-3-0-t2iAccurate text rendering
Revefalai/reveNatural language editing, text rendering
ImagineArt 1.5 Profalai/imagine-art-1-5-pro-previewUltra-high-fidelity 4K
FLUX Klein 4Bpruna/flux-klein-4bUltra-cheap ($0.0001/image)
Topaz Upscalerfalai/topaz-image-upscalerProfessional upscaling

Browse All Image Apps

belt app list --category image

Examples

GPT-Image-2

belt app run openai/gpt-image-2 --input '{
  "prompt": "professional product photo of sneakers, studio lighting",
  "quality": "high"
}'

GPT-Image-2 Editing

belt app run openai/gpt-image-2 --input '{
  "prompt": "change the background to a beach at sunset",
  "images": ["https://your-image.jpg"]
}'

Text-to-Image with FLUX

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

Fast Generation with FLUX Klein

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

Google Gemini 3 Pro

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

Grok Imagine

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

Reve (with Text Rendering)

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

Seedream 4.5 (4K Quality)

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

Image Upscaling

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

Stitch Multiple Images

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

Related Skills

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

# Pruna P-Image (fast & economical)
npx skills add inference-sh/skills@p-image

# GPT-Image-2 (OpenAI)
npx skills add inference-sh/skills@gpt-image

# 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: belt app list

Documentation

來自 skills-101 的更多技能

ai-avatar-video
skills-101
透過 inference.sh CLI 建立 AI 虛擬人偶與說話頭影片。建議使用:P-Video-Avatar(最快、最便宜、內建 TTS)。其他選項:OmniHuman、Fabric、PixVerse。音訊:Inworld TTS-2(100 多種語言、角色情緒引導)、ElevenLabs、Kokoro。功能:音訊驅動虛擬人偶、文字轉虛擬人偶、唇形同步影片、說話頭生成、虛擬主持人、UGC 內容。適用於:AI 主持人、解說影片、虛擬網紅、配音、行銷影片、UGC 廣告、遊戲虛擬人偶、...
agent-browser
skills-101
透過 inference.sh 為 AI 代理提供瀏覽器自動化。瀏覽網頁、使用 @e 引用與元素互動、截取螢幕截圖、錄製影片。功能:網頁抓取、表單填寫、點擊、輸入、拖放、檔案上傳、JavaScript 執行。用途:網頁自動化、資料提取、測試、代理瀏覽、研究。觸發詞:瀏覽器、網頁自動化、抓取、導覽、點擊、填寫表單、截圖、瀏覽網頁、playwright、無頭瀏覽器、網頁代理、上網、錄製影片
agent-tools
skills-101
透過 inference.sh CLI 執行 AI 應用程式 - 影像生成、影片創作、LLM、搜尋、3D、Twitter 自動化。模型:FLUX、Veo、Gemini、Grok、Claude、Seedance、OmniHuman、Tavily、Exa、OpenRouter 等眾多模型。適用於執行 AI 應用程式、生成影像/影片、呼叫 LLM、網路搜尋或自動化 Twitter。觸發詞:inference.sh、infsh、ai model、run ai、serverless ai、ai api、flux、veo、claude api、image generation、video generation、openrouter、tavily、exa search、twitter api、grok
python-executor
skills-101
Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh). Pre-installed: NumPy, Pandas, Matplotlib, requests, BeautifulSoup, Selenium, Playwright, MoviePy, Pillow, OpenCV, trimesh, and 100+ more libraries. Use for: data processing, web scraping, image manipulation, video creation, 3D model processing, PDF generation, API calls, automation scripts. Triggers: python, execute code, run script, web scraping, data analysis, image processing, video editing, 3D...
remotion-render
skills-101
透過inference.sh從React/Remotion元件程式碼渲染影片。傳入TSX程式碼,取得MP4。支援所有Remotion API:useCurrentFrame、useVideoConfig、spring、interpolate、AbsoluteFill、Sequence。可設定解析度、FPS、時長、編解碼器。用途:程式化影片生成、動畫圖形、動態設計、資料驅動影片、React動畫轉影片。觸發詞:remotion、從程式碼渲染影片、tsx轉影片、react影片、程式化影片、remotion渲染、程式碼轉影片、動畫...
infsh-cli
skills-101
透過 inference.sh CLI 執行 AI 應用程式——影像生成、影片創作、LLM、搜尋、3D、Twitter 自動化。模型:FLUX、Veo、Gemini、Grok、Claude、Seedance、OmniHuman、Tavily、Exa、OpenRouter 等更多。適用於執行 AI 應用程式、生成影像/影片、呼叫 LLM、網路搜尋或自動化 Twitter。觸發詞:inference.sh、infsh、ai model、run ai、serverless ai、ai api、flux、veo、claude api、image generation、video generation、openrouter、tavily、exa search、twitter api、grok
landing-page-design
skills-101
登陸頁面轉換優化,包含版面規則、英雄區設計與CTA心理學。涵蓋首屏公式、社會認同擺放、行動裝置設計與F型閱讀模式。適用於:新創登陸頁面、產品頁面、SaaS行銷、轉換優化。觸發詞:登陸頁面、英雄區、首屏、轉換優化、登陸頁面設計、CTA按鈕、英雄圖片、登陸頁面版面、SaaS登陸頁面、產品頁面設計、轉換率、登陸頁面...
designmarketing
product-photography
skills-101
AI產品攝影,包含棚拍燈光、生活風格拍攝及包裝拍攝慣例。涵蓋角度、背景、陰影類型、主視覺圖及電子商務影像需求。適用於:產品照片、電子商務圖片、亞馬遜商品頁面、包裝拍攝、生活風格攝影。觸發詞:產品攝影、產品照片、包裝拍攝、電子商務攝影、產品拍攝、產品圖片、棚拍攝影、生活風格產品、亞馬遜產品照片、商品頁面圖片、主視覺圖、產品模型、...