← Back to Skills Marketplace
etmnb

Dola Seedream Gen

by Etmnb · GitHub ↗ · v1.1.3 · MIT-0
cross-platform ✓ Security Clean
96
Downloads
0
Stars
1
Active Installs
4
Versions
Install in OpenClaw
/install dola-seedream-gen
Description
这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持:文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级,每模型日限18次。 触发词: /img 生成图片 画图...
README (SKILL.md)

豆包 Seedream 图片生成(本技能即"豆包/Doubao")

这是字节跳动火山方舟的 Seedream 图片生成技能。环境变量通过 .env 文件自动加载。

如何调用

当用户说以下任一词时触发:生成图片 画图 /img /draw generate image 图生图 img2img

Python 直接调用:

from doubao_image_gen import DoubaoImageGenerator
g = DoubaoImageGenerator()

# 文生图 → 单张
g.generate_text_to_image("提示词")                        # 默认 2K
g.generate_text_to_image("提示词", size="4K", ratio="16:9")  # 4K+宽屏

# 图生图(需要公网 URL,本地文件不行!)
g.generate_image_to_image("编辑指令", image_url="https://...")

# 组图/多图融合
g.generate_sequence("提示词", max_images=4)                      # 文生组图
g.generate_sequence("提示词", max_images=1, image_urls=["u1","u2"])  # 多图融合为1张

# 查看状态
g.get_status()

⚠️ 图生图/多图融合的 image_url 必须是公网可访问的 http(s) URL,本地路径 C:\... 不行。

尺寸

2K(2048²) / 4K(4096²) / 16:9(2560×1440) / 1920x1080 / 最大 16,777,216px

模型

优先级 模型 日限
1 4.5 18
2 5.0-Lite 18
3 4.0 18

超限返回 {"success":false}

文件

文件 用途
.env 环境变量(复制.env.example并填入)
doubao_image_gen.py 核心脚本
image_gen_history.json 历史记录(7天清理)
Image/ 生成图片保存
Usage Guidance
Re-run the review with metadata.json and artifact/ accessible before installing; this result should be treated as incomplete rather than a clean full review.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
metadata.json and artifact files were not readable due a local command sandbox failure, so no purpose/capability mismatch could be verified.
Instruction Scope
No SKILL.md instructions could be inspected, so there is no artifact-backed evidence of unsafe or overbroad instruction scope.
Install Mechanism
No install specs or manifest files could be inspected, so install risk could not be assessed from artifact evidence.
Credentials
No artifact-backed evidence was available showing disproportionate filesystem, network, credential, or account access.
Persistence & Privilege
No artifact-backed evidence was available showing persistence, privilege abuse, or credential/session handling.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dola-seedream-gen
  3. After installation, invoke the skill by name or use /dola-seedream-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Major update: simplified and improved documentation, rewritten usage rules, and added behavior guidelines. - Expanded trigger word list and clarified when to invoke the skill. - Now supports local file paths and base64 images for "image-to-image" and blending, in addition to URLs. - Strictly enforces silent parameter inference; user is never asked to confirm actions or quota use. - Added/updated image generation history storage (image_gen_history.json). - Improved environment variable documentation and example configurations.
v1.1.3
优化SKILL.md适配小参数模型: 明确标注为豆包技能+触发词+图生图需公网URL
v1.1.2
1.1.2: .env自动加载+路径修复+全功能测试
v1.0.0
dola-seedream-gen 2.1.0 - 新增支持豆包 Seedream 多模型(4.5、5.0-Lite、4.0),自动智能调度与降级。 - 新增每日各模型 18 次限制,超额拒绝服务。 - 明确支持文生图和图生图输入,触发词丰富、精确匹配。 - 增强尺寸解析:2K/4K/自定义分辨率/宽高比智能转换。 - 接入火山方舟协作奖励计划,支持新用户免费生成图片。 - 增加用量计数与历史自动清理,配置更加清晰易用。
Metadata
Slug dola-seedream-gen
Version 1.1.3
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 4
Frequently Asked Questions

What is Dola Seedream Gen?

这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持:文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级,每模型日限18次。 触发词: /img 生成图片 画图... It is an AI Agent Skill for Claude Code / OpenClaw, with 96 downloads so far.

How do I install Dola Seedream Gen?

Run "/install dola-seedream-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dola Seedream Gen free?

Yes, Dola Seedream Gen is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dola Seedream Gen support?

Dola Seedream Gen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dola Seedream Gen?

It is built and maintained by Etmnb (@etmnb); the current version is v1.1.3.

💬 Comments