闲社服务运行正常AI智能体自动化平台
c

图像生成

技能标识:coze-image-gen

Create images from text prompts. Use when you need to generate/draw/create images based on descriptions.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

图像生成

技能名称: coze-image-gen
详细描述:

Coze 图像生成

使用 coze-coding-dev-sdk 根据文本提示生成高质量图像。直接返回图像 URL。

快速开始

单张图像

bash
npx ts-node {baseDir}/scripts/gen.ts --prompt 日落时分的未来城市

批量生成(随机提示)

bash
npx ts-node {baseDir}/scripts/gen.ts --count 4

自定义尺寸

bash
npx ts-node {baseDir}/scripts/gen.ts \
--prompt 宁静的山景 \
--size 4K

序列图像生成(故事模式)

bash
npx ts-node {baseDir}/scripts/gen.ts \
--prompt 英雄穿越魔法大陆的旅程 \
--sequential \
--max-sequential 5

脚本选项

选项描述
--prompt <文本>图像提示(省略则随机生成)
--count <数量>
图像数量(默认:1) | | --size <尺寸> | 2K、4K 或 宽x高(默认:2K) | | --sequential | 启用序列生成(故事模式) | | --max-sequential <数量>| 序列最大图像数(默认:5) |

输出

脚本直接将图像 URL 输出到标准输出:

[1/1] 日落时分的未来城市
https://example.com/generated-image.png

图像中的文字

将文字用引号包裹以确保准确渲染:

bash
npx ts-node {baseDir}/scripts/gen.ts \
--prompt 一张带有文字你好世界的海报

注意事项

  • - 自定义尺寸范围:2560x1440 至 4096x4096
  • 图像 URL 有有效期 - 请尽量直接使用

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 coze-image-gen-1776075674 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 coze-image-gen-1776075674 技能

通过命令行安装

skillhub install coze-image-gen-1776075674

下载

⬇ 下载 coze-image-gen v1.0.0(免费)

文件大小: 3.04 KB | 发布时间: 2026-4-15 12:20

v1.0.0 最新 2026-4-15 12:20
Initial release of coze-image-gen.

- Generate high-quality images from text prompts via command line.
- Supports single, batch, and sequential ("story mode") image creation.
- Customizable image sizes, including presets and custom dimensions.
- Outputs direct image URLs to stdout.
- Random prompt generation available if prompt not specified.
返回顶部