Token导航 LogoToken导航

Agent Skill · 图像处理

bailian-image-gen(白莲图像生成器)

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

bailian-image-gen 是图像处理类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在图像处理类的 1,562 个 Skill 里排第 271。

总安装 11,999周安装 505GitHub Stars 1下载 4,202核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bailian-image-gen(白莲图像生成器)
来源仓库:https://github.com/navygo/bailian-image-gen
安装命令:
openclaw skills install bailian-image-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install bailian-image-gen

这个 Skill 是做什么的

图像处理类 Skill 处理生成、裁剪、压缩和批量转换图片的任务。

bailian-image-gen 用于文本转图像与图像编辑。支持 Qwen Image 2.0 模型调用。适用于产品宣传与视觉素材生成。bailian-image-gen 属于图像处理类 Skill,可作为该场景下的辅助能力补充。通过 clawhub 安装,需确认 API 配额与格式要求。

涉及版权素材生成,注意内容合规审核。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install bailian-image-gen;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

bailian-image-gen 怎么安装?

在终端执行 openclaw skills install bailian-image-gen。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

bailian-image-gen 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

bailian-image-gen 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

bailian-image-gen 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

bailian-image-gen 用的人多吗?

公开数据是累计安装 11,999 次,近一周安装 505 次,下载 4,202 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

bailian-image-gen 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理图像处理类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

图像处理类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
ai-image-generation

AI 图像生成 · Codex、Claude

4,365,552382调用外部服务未明确有提醒
openai-image-gen

OpenAI 图像生成 · OpenClaw

1,906,88432需要联网MIT-0有提醒
image

图像 · OpenClaw

525,99926需要联网MIT-0通过
baoyu-cover-image

宝玉封面图 · Codex、Claude

474,24016,779只读MIT有提醒
baoyu-image-gen

宝玉图像生成器 · Codex、Claude

468,00716,778接触敏感数据MIT通过
bailian-image-gen

白莲图像生成器 · 本页

11,9991接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
bailian-image-gen
description
Alibaba Cloud Bailian Qwen Image 2.0 image generation. Supports text-to-image and image-to-image (reference image + text). For product promotion image generation, e-commerce image editing, marketing material creation. Provides Python API, CLI tool, and ComfyUI custom nodes.

Alibaba Cloud Bailian Image Generation

Based on Alibaba Cloud Bailian platform's qwen-image-2.0 model, providing high-quality text-to-image and image-to-image capabilities.

Features

  • Text-to-Image - Generate high-quality images from text descriptions
  • Image-to-Image - Generate new images from reference image + text description
  • ComfyUI Integration - Complete ComfyUI custom nodes
  • Auto Compression - Automatically handle reference image size limits
  • Synchronous Calls - No async task waiting, instant results

Use Cases

  • C-end App product promotion image generation
  • E-commerce product image style transfer and background replacement
  • Marketing material batch generation
  • Creative image editing

Quick Start

Environment Setup

  1. Install dependencies:
   pip install requests Pillow
  1. Configure API Key (two methods):

Method 1: .env file (recommended)

   cp .env.example .env
   # Edit .env file
   DASHSCOPE_API_KEY=your-api-key-here

Method 2: Environment variable

   export DASHSCOPE_API_KEY=your-api-key

Get API Key from bailian.console.aliyun.com

Command Line Usage

# Text-to-Image
python scripts/bailian_image_gen.py --mode t2i --prompt "A cute orange cat, high quality" --output cat.png

# Image-to-Image
python scripts/bailian_image_gen.py --mode i2i --prompt "Modern minimalist living room scene, warm lighting" --reference-image product.jpg --output result.png

Python API

from scripts.bailian_image_gen import QwenImageGenerator

# Initialize
client = QwenImageGenerator()

# Text-to-Image
result = client.text_to_image(
    prompt="A cute orange cat, high quality",
    size="1024*1024"
)
url = client.extract_image_url(result)
client.download_image(url, "output.png")

# Image-to-Image
result = client.image_to_image(
    prompt="Modern minimalist living room scene, warm lighting",
    reference_image_path="product.jpg"
)
url = client.extract_image_url(result)
client.download_image(url, "output.png")

ComfyUI Integration

Install Nodes

  1. Copy files to ComfyUI:
   cp scripts/bailian_image_gen.py /path/to/ComfyUI/custom_nodes/
   cp scripts/comfyui_bailian_node.py /path/to/ComfyUI/custom_nodes/
  1. Configure API Key in ComfyUI directory:
   echo "DASHSCOPE_API_KEY=your-api-key" > /path/to/ComfyUI/.env
  1. Restart ComfyUI

Available Nodes

Search "Bailian" in ComfyUI to find these nodes:

BailianText2Image

  • Inputs: prompt (STRING), size (COMBO), seed (INT)
  • Output: image (IMAGE)

BailianImage2Image

  • Inputs: image (IMAGE), prompt (STRING), size (COMBO), seed (INT)
  • Output: image (IMAGE)

Workflow Example

Import assets/comfyui_workflow.json for product promotion image generation example.

Typical workflow:

[Load Image] --> [BailianImage2Image] --> [Save Image]
                      ^
                prompt: "Modern minimalist living room, warm lighting"

Parameters

ParameterTypeDescriptionDefault
--modestringt2i=text-to-image, i2i=image-to-imageRequired
--promptstringPrompt textRequired
--reference-imagestringReference image path (i2i mode)None
--sizestringImage size1024*1024
--seedintRandom seedRandom
--outputstringOutput pathRequired

Supported Image Sizes

  • 1024*1024 - Square (recommended)
  • 1024*768 - Landscape
  • 768*1024 - Portrait
  • 2048*2048 - High resolution

Prompt Tips

Product Promotion Template

[Product] placed in [Scene], [Style], [Lighting], [Quality requirements]

Examples:

  • "Smartwatch placed on minimalist white marble desktop, Nordic minimalist style, natural light, product photography quality"
  • "Sneakers placed on wooden floor, city skyline background, fashion magazine style, soft side lighting"
  • "Cosmetics placed on dressing table, surrounded by flowers and perfume bottles, luxury style, warm lighting"

File Structure

bailian-image-gen/
├── .env.example              # API Key config example
├── README.md                 # Detailed documentation
├── requirements.txt          # Dependencies
├── SKILL.md                  # This file
├── assets/
│   └── comfyui_workflow.json # ComfyUI workflow example
└── scripts/
    ├── bailian_image_gen.py      # Core script
    └── comfyui_bailian_node.py   # ComfyUI nodes

Notes

  1. API Key - Requires Alibaba Cloud Bailian platform account and API Key
  2. Image Compression - Reference images are automatically compressed to meet API limits
  3. Network Requirements - Requires access to Alibaba Cloud dashscope service
  4. Synchronous Calls - qwen-image-2.0 uses synchronous calls, no async task waiting

Error Handling

Common errors and solutions:

ErrorCauseSolution
API Key errorNot configured or incorrectCheck .env file or environment variable
Image too largeReference image exceeds limitScript auto-compresses, if still fails use smaller image
Network errorCannot access Alibaba CloudCheck network connection

References

  • [Alibaba Cloud Bailian Console]
  • [OpenClaw Documentation]
  • [ComfyUI GitHub]

Author

@navygo

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

平台分布

OpenClaw

90.43%
按下载量换算3,800

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills