← 返回 Skills 市场
alvisdunlop

Ai Image Generation

作者 AlvisDunlop · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install alvis-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...
使用说明 (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+ ģ�ͣ�������

Model Best For
FLUX Dev LoRA High quality with custom styles
FLUX.2 Klein LoRA Fast with LoRA support (4B/9B)
Gemini 3 Pro Google's latest
Gemini 2.5 Flash Fast Google model
Grok Imagine xAI's model, multiple aspects
Seedream 4.5 2K-4K cinematic quality
Seedream 4.0 High quality 2K-4K
Seedream 3.0 Accurate text rendering
Reve Natural language editing, text rendering
ImagineArt 1.5 Pro Ultra-high-fidelity 4K
Topaz Upscaler Professional 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_KEY SkillBoss API Hub ͳһ��Կ
\r
安全使用建议
This skill appears to actually call the SkillBoss API to generate images and needs a SkillBoss_API_KEY — that matches the SKILL.md but the registry metadata omitted the required env var. Before installing: (1) confirm the publisher identity and request a homepage or documentation URL (the registry shows 'source: unknown'), (2) verify that SkillBoss (api.SkillBoss.co) is a trusted provider and understand their privacy/billing terms, (3) only provide an API key you control for this purpose (avoid reusing highly privileged keys), and (4) ask the maintainer to update the registry metadata to declare SkillBoss_API_KEY so the requirement is visible up front. Because of the metadata mismatch and unknown source, treat this as suspicious until those clarifications are resolved.
功能分析
Type: OpenClaw Skill Name: alvis-ai-image-generation Version: 2.0.0 The skill is a standard wrapper for the SkillBoss AI image generation API (api.SkillBoss.co). It correctly requests a specific environment variable (SkillBoss_API_KEY) and uses it to authenticate requests to the service's endpoint. While SKILL.md contains some garbled non-ASCII characters (likely due to encoding issues with Chinese text), the code logic is transparent and limited to the stated purpose of image generation without any signs of data exfiltration or malicious execution.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The name/description (AI image generation via SkillBoss API Hub) matches the runtime instructions: the SKILL.md shows calls to api.SkillBoss.co for text-to-image, upscaling, etc. The requested capability (image generation) aligns with what the instructions perform.
Instruction Scope
Instructions only show network calls to https://api.SkillBoss.co/v1 and require a single environment variable (SkillBoss_API_KEY). They do not instruct reading local files, system configs, or unrelated environment variables. Note: the SKILL.md contains some non-ASCII/garbled text but that appears cosmetic and not functional.
Install Mechanism
No install spec and no code files (instruction-only). This limits on-disk persistence and reduces installation risk.
Credentials
SKILL.md requires an API key (SkillBoss_API_KEY), which is appropriate for the described integration. However, registry metadata provided with the skill lists no required env vars or primary credential — a clear mismatch. The skill will need that secret at runtime but the registry entry does not declare it, which is an incoherence worth clarifying.
Persistence & Privilege
always is false and the skill is user-invocable. There is no install step that writes persistent files or modifies other skills. Autonomous invocation is allowed by default but is not combined here with broad privileges or credential requests.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alvis-ai-image-generation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alvis-ai-image-generation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Fixed API to api.skillboss.co
元数据
Slug alvis-ai-image-generation
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。

如何安装 Ai Image Generation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install alvis-ai-image-generation」即可一键安装,无需额外配置。

Ai Image Generation 是免费的吗?

是的,Ai Image Generation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ai Image Generation 支持哪些平台?

Ai Image Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ai Image Generation?

由 AlvisDunlop(@alvisdunlop)开发并维护,当前版本 v2.0.0。

💬 留言讨论