jimeng

Use Jimeng AI 4.0 (Volcengine) to generate images from text or image references, and optionally send results to Feishu.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "jimeng" with this command: npx skills add tangc/jimeng-t2i-i2i-image-generator

Jimeng AI 4.0 图片生成 Skill

使用火山引擎即梦AI 4.0 生成图片。

环境变量

export VOLCENGINE_AK="你的AccessKeyID"
export VOLCENGINE_SK="你的SecretAccessKey"

使用方式

./jimeng.sh <mode> <prompt> [reference_url] [target] [options]

参数说明

参数必填说明
modet2i (文生图) 或 i2i (图生图)
prompt图片描述
reference_url图生图时可选参考图片URL,不填则使用默认图片
target可选飞书用户ID,如 user:ou_xxx,不填则只输出URL
options可选额外选项,如 force_single=true

示例

文生图 (t2i)

# 文生图 - 生成一只可爱的猫咪
./jimeng.sh t2i "一只可爱的猫咪"

# 文生图 - 发送给飞书用户
./jimeng.sh t2i "蓝天白云" "user:ou_5ab7e4d11d7f28bebff34796cc967e24"

# 文生图 + 参考风格图
./jimeng.sh t2i "变成油画风格" "https://example.com/style.jpg"

图生图 (i2i)

# 图生图 - 使用默认参考图(Clawra头像)
./jimeng.sh i2i "戴上墨镜"

# 图生图 - 使用默认参考图
./jimeng.sh i2i "变成卡通风格"

# 图生图 - 自定义参考图
./jimeng.sh i2i "把这张照片变成素描风格" "https://example.com/photo.jpg"

# 图生图 - 发送给飞书用户
./jimeng.sh i2i "戴上牛仔帽" "" "user:ou_xxx"

默认参考图

图生图模式默认使用 Clawra 头像作为参考:

https://cdn.jsdelivr.net/gh/SumeLabs/clawra@main/assets/clawra.png

输出说明

  • 直接运行:输出图片URL
  • 指定 target:自动发送到飞书

图片格式

  • 即梦AI 默认输出 PNG 格式
  • URL 后缀是 .image,飞书可以正常发送
  • 用户保存:复制链接后把 .image 改成 .png

文件结构

jimeng/
├── SKILL.md      # 本文件
└── scripts/
    ├── sign.py   # 火山引擎签名
    └── jimeng.sh # 主脚本

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

low-carbon-medicine

低碳生活方式医学咨询。当用户提到低碳饮食、生酮饮食、减肥控糖、糖尿病逆转、代谢综合征、胰岛素抵抗时触发。

Registry SourceRecently Updated
General

x0x-api-smoketest-1777556197822

Scratch skill used to validate CI API publish flow before merge.

Registry SourceRecently Updated
General

java-circular-dependency-breaker

Break circular dependencies in Java multi-module Gradle/Maven projects using interface extraction and business service separation. Triggers: 'circular depend...

Registry SourceRecently Updated
General

Options Trading Brain

Professional options trading intelligence system. Monitors whale flow (Unusual Whales), counts Elliott Waves, analyzes Bollinger Bands, multi-timeframe trend...

Registry SourceRecently Updated