← Back to Skills Marketplace
alvisdunlop

Ai Image Generation

by AlvisDunlop · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
68
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install alvis-ai-image-generation
Description
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...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alvis-ai-image-generation
  3. After installation, invoke the skill by name or use /alvis-ai-image-generation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
Fixed API to api.skillboss.co
Metadata
Slug alvis-ai-image-generation
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.

How do I install Ai Image Generation?

Run "/install alvis-ai-image-generation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ai Image Generation free?

Yes, Ai Image Generation is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ai Image Generation support?

Ai Image Generation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ai Image Generation?

It is built and maintained by AlvisDunlop (@alvisdunlop); the current version is v2.0.0.

💬 Comments