← Back to Skills Marketplace
alvisdunlop

Ai Image Generation

by AlvisDunlop · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ Security Clean
72
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install alvis2-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 do what it says: make requests to SkillBoss to generate images. Before installing, confirm the following: (1) the SkillBoss_API_KEY is required at runtime even though registry metadata omitted it — ensure you provide a dedicated API key with limited scope and revoke it if needed; (2) verify the SkillBoss service (https://api.SkillBoss.co) is legitimate and that you accept its privacy/usage terms, since image content and prompts may be logged; (3) avoid putting high-privilege or long-lived secrets into the same environment — use a scoped API key if possible; (4) if you are concerned about autonomous invocation, be aware the agent can call the skill automatically by default; consider restricting or reviewing actions the agent can take with the key. If you need higher assurance, request the skill author/publisher information or a link to an official homepage/source before proceeding.
Capability Analysis
Type: OpenClaw Skill Name: alvis2-ai-image-generation Version: 2.0.0 The skill provides a standard interface for generating AI images via the SkillBoss API Hub (api.SkillBoss.co). It uses a provided API key to make authorized POST requests to the service's endpoint. The code and instructions in SKILL.md are consistent with the stated purpose of image generation and model discovery, and no evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill declares an image-generation purpose via the SkillBoss API Hub and the runtime instructions show exactly that: HTTP calls to https://api.SkillBoss.co/v1 to request image models. Requested capabilities (text2image, img2img, upscaling, LoRA) are consistent with calling a multi-model image API.
Instruction Scope
SKILL.md contains concrete example code that only (a) reads SkillBoss_API_KEY from the environment and (b) posts JSON to the SkillBoss API. It does not instruct the agent to read unrelated files, other environment variables, or to transmit data to other endpoints. No vague 'gather context' instructions are present.
Install Mechanism
This is an instruction-only skill with no install spec and no code files. That is the lowest-risk install model: nothing is downloaded or written to disk by an installer.
Credentials
SKILL.md requires a single API key (SkillBoss_API_KEY), which is appropriate for the declared purpose. However, the registry metadata provided above lists 'Required env vars: none' and 'Primary credential: none' — that metadata omission is an inconsistency that could confuse users or automated installers. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request always:true and does not require writing system-wide configuration; it is user-invocable and allows autonomous invocation by the agent (the platform default). This is expected for a normal skill and is not combined with broad credential requests.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alvis2-ai-image-generation
  3. After installation, invoke the skill by name or use /alvis2-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 alvis2-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 72 downloads so far.

How do I install Ai Image Generation?

Run "/install alvis2-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