Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

doubao-img豆宝图

Agent Skill

doubao-img 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

38,588

周安装

1,546

GitHub Stars

1

下载量

12,492
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install doubao-img

简介

用于调用豆包 AI 生成高质量图像内容。

  • 支持艺术风格多样性与创意视觉效果创作。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 可根据文本描述快速产出插图或概念设计稿。
  • 安装前需绑定有效账号与计费额度管理。doubao-img 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 注意生成内容可能涉及版权争议需谨慎使用。

SKILL.md

name
doubao-image-gen
description
Generate high-quality images using Doubao (豆包) AI image generation. Use when the user asks for AI-generated images, artwork, illustrations, or any visual content. Supports custom prompts, multiple styles, and high-resolution output.
metadata

Doubao Image Generation Skill

Generate images using ByteDance's Doubao (豆包) AI image generation service via browser automation.

Requirements

  • OpenClaw browser (headless or profile) with access to https://www.doubao.com
  • Doubao account must be logged in
  • Workspace directory for temporary file storage

Usage

Basic Image Generation

  1. Navigate to https://www.doubao.com and open the image generation mode
  2. Enter the prompt and submit
  3. Wait for generation to complete (typically 20-30 seconds)
  4. Extract and download the generated images
  5. Send images to the user

Step-by-Step Process

1. Open Doubao Image Generation

browser(action="open", url="https://www.doubao.com/chat/create-image", profile="openclaw")

Or navigate to existing chat with image gen history:

browser(action="snapshot", profile="openclaw")

2. Enter Prompt

Find the text input and enter the image description:

browser(action="act", kind="fill", ref=<textbox-ref>, text="<prompt>", profile="openclaw")
browser(action="act", kind="press", key="Enter", profile="openclaw")

3. Wait for Generation

Wait 10-20 seconds for the images to generate:

exec(command="sleep 15")

Then check if images are ready by taking a screenshot.

4. Extract Image URLs

Use browser evaluate to extract image URLs from the page:

// Find all generated images (image_generation URL pattern)
const imgs = document.querySelectorAll('img[src*="image_generation"]');
const urls = Array.from(imgs).map(img => ({
  src: img.src,
  w: img.naturalWidth,
  h: img.naturalHeight
}));

5. Download Images

Use the image_pre_watermark_1_5b URL variant for highest quality (1773×2364):

curl -L -H "Referer: https://www.doubao.com/" \
  -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)" \
  -o output.png "<url_with_image_pre_watermark>"

If the image_pre_watermark URL fails (signature mismatch), fall back to extracting via browser CDP WebSocket:

// Connect to CDP and extract image via canvas
const dataUrl = await new Promise(resolve => {
  const canvas = document.createElement('canvas');
  canvas.width = img.naturalWidth;
  canvas.height = img.naturalHeight;
  const ctx = canvas.getContext('2d');
  ctx.drawImage(img, 0, 0);
  canvas.toBlob(blob => {
    const reader = new FileReader();
    reader.onload = () => resolve(reader.result);
    reader.readAsDataURL(blob);
  }, 'image/png');
});

6. Send to User

Use sendAttachment for BlueBubbles/iMessage:

message(action="sendAttachment", channel="bluebubbles", filePath="<path>")

Image URL Patterns

Doubao CDN serves multiple versions of generated images:

URL SuffixResolutionUse Case
downsize_watermark_1_5_b.png~288×384Thumbnail, watermarked
image_pre_watermark_1_5b.png~1773×2364High-res, no watermark
image_dld_watermark_1_5b.png~1773×2364Download version
web-operation.webp~435×580Web preview

Important: Each URL requires a unique CDN signature (x-signature). You cannot simply swap URL suffixes — the signature must match the specific image and URL type.

Prompts for Best Results

For high-quality image generation, include these keywords in prompts:

  • Quality: "高精度", "高品质", "8K", "超高分辨率"
  • Style: "专业摄影棚灯光", "工作室渲染", "景深效果"
  • Details: "精美的细节", "精细纹理"

Troubleshooting

  1. Page not loading: Ensure browser has network access and Doubao is accessible
  2. Login required: Check if Doubao session is still active via screenshot
  3. Images not generating: Check for content policy blocks in the prompt
  4. Download fails: Use browser CDP WebSocket extraction instead of direct download
  5. BlueBubbles media path blocked: Use sendAttachment action instead of send with filePath

Example Prompts

战斗暴龙兽3D手办,高精度模型,精美的细节,金属质感盔甲,蓝色闪耀的勇气之盾,动感战斗姿态,站在岩石底座上,专业摄影棚灯光,工作室渲染,高品质,8K
可爱柴犬头像,日式插画风格,柔和配色,圆润线条,温暖光影,专业插画师作品
赛博朋克城市夜景,霓虹灯,高楼大厦,雨天反射,电影级渲染,超高清细节

Notes

  • Doubao free tier has daily generation limits
  • Generated images are stored in CDN with time-limited signatures
  • Browser automation is required due to lack of public API
  • Always use sendAttachment for BlueBubbles to avoid media path issues

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.75%
按下载量换算9,588

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills