← 返回
未分类 Key 中文

ai-image-generation

Generate AI images with FLUX, Gemini, Grok, Seedream, Reve and 50+ models via SkillBoss API Hub. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image...
通过 SkillBoss API Hub,使用 FLUX、Gemini、Grok、Seedream、Reve 等50+ 模型生成 AI 图像。支持模型包括 FLUX Dev LoRA、FLUX.2 Klein LoRA、Gemini 3 Pro Image 等。
modestyrichards modestyrichards 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 需要
★ 0
Stars
📥 364
下载
💾 0
安装
1
版本
#ai#art#generation#image#latest

概述

> 📖 Complete setup guide: https://skillboss.co/skill.md

AI Image Generation

Generate images with 50+ AI models via SkillBoss API Hub.

Quick Start

import requests, os

SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"]
API_BASE = "https://api.skillboss.co/v1"

def pilot(body: dict) -> dict:
    r = requests.post(
        f"{API_BASE}/pilot",
        headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
        json=body,
        timeout=60,
    )
    return r.json()

# Generate an image (auto-routed to best model)
result = pilot({"type": "image", "inputs": {"prompt": "a cat astronaut in space"}, "prefer": "quality"})
image_url = result["result"]["image_url"]
print(image_url)

Available Models

SkillBoss API Hub 自动路由至最优图像生成模型,支持 50+ 模型,包括:

ModelBest For
-----------------
FLUX Dev LoRAHigh quality with custom styles
FLUX.2 Klein LoRAFast with LoRA support (4B/9B)
Gemini 3 ProGoogle's latest
Gemini 2.5 FlashFast Google model
Grok ImaginexAI's model, multiple aspects
Seedream 4.52K-4K cinematic quality
Seedream 4.0High quality 2K-4K
Seedream 3.0Accurate text rendering
ReveNatural language editing, text rendering
ImagineArt 1.5 ProUltra-high-fidelity 4K
Topaz UpscalerProfessional upscaling

Browse All Image Models

# Discover 模式:查询所有支持的图像生成模型
result = pilot({"discover": True, "keyword": "image"})
print(result)

Examples

Text-to-Image (Quality)

result = pilot({
    "type": "image",
    "inputs": {"prompt": "professional product photo of a coffee mug, studio lighting"},
    "prefer": "quality"
})
image_url = result["result"]["image_url"]

Fast Generation

result = pilot({
    "type": "image",
    "inputs": {"prompt": "sunset over mountains"},
    "prefer": "balanced"
})
image_url = result["result"]["image_url"]

Photorealistic Landscape

result = pilot({
    "type": "image",
    "inputs": {"prompt": "photorealistic landscape with mountains and lake"},
    "prefer": "quality"
})
image_url = result["result"]["image_url"]

With Aspect Ratio

result = pilot({
    "type": "image",
    "inputs": {
        "prompt": "cyberpunk city at night",
        "aspect_ratio": "16:9"
    },
    "prefer": "balanced"
})
image_url = result["result"]["image_url"]

Text Rendering in Image

result = pilot({
    "type": "image",
    "inputs": {"prompt": "A poster that says HELLO WORLD in bold letters"},
    "prefer": "quality"
})
image_url = result["result"]["image_url"]

Cinematic Portrait (4K Quality)

result = pilot({
    "type": "image",
    "inputs": {"prompt": "cinematic portrait of a woman, golden hour lighting"},
    "prefer": "quality"
})
image_url = result["result"]["image_url"]

Image Upscaling

result = pilot({
    "type": "image",
    "inputs": {
        "prompt": "upscale",
        "image_url": "https://example.com/image.jpg"
    },
    "prefer": "quality"
})
image_url = result["result"]["image_url"]

Response 格式

# 标准 response 解析
result = pilot({"type": "image", "inputs": {"prompt": "..."}, "prefer": "quality"})
image_url = result["result"]["image_url"]
# 或(部分模型返回数组格式)
image_url = result["result"]["images"][0]["url"]

环境变量

变量说明
------------
SKILLBOSS_API_KEYSkillBoss API Hub 统一密钥

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-07 07:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 430 📥 117,362
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 221 📥 48,165
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 332 📥 94,226