跳到正文
Skillpedia
图片与图标14k · #11253

krillinai-cover

它能做什么

这项技能使用在 KrillinAI 中设置好的图像模型,根据文字提示生成封面图。适合需要视频标题图的视频创作者。

适用场景

  • ✓当视频需要封面图,并且你已清楚描述了它应该展示的内容的时候。
  • ✓当你希望标题文字和风格直接包含在图片中的时候。
  • ✓当你想检查生成的图片以及用于生成它的确切提示词的时候。

技能链接

https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cover/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cover/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我为我的视频制作一张封面图,标题为“睡得更好的五个小贴士”,风格明亮简洁?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会把你完整的提示词发送给图像模型,保存生成的图片,并记录所用的确切提示词。它也可以先进行试运行检查,只验证设置而不调用模型。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

KrillinAI Cover

Use this skill for the implemented cover command. Read skills/krillinai-cli/references/cli-contract.md first for binary location, execution working directory, configuration, and JSON behavior.

Command

(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" cover \
  --workdir "$WORKDIR" \
  --prompt "$COVER_PROMPT" \
  --size 1536x1024)

The prompt must already contain the desired title text, language, composition, visual style, and any useful source-video context. The current CLI does not expose a reference-image argument and does not automatically send origin_cover.jpg to the image model.

Inputs

  • --workdir: an existing or new task directory.
  • --prompt: required final prompt sent to the configured image model.
  • --size: optional image size; the default is 1024x1024.
  • [image] configuration in <execution-cwd>/config/config.toml.

Outputs

  • generated_cover.png
  • cover_prompt.final.txt
  • krillinai_manifest.json

Dry Run

cover --dry-run validates the command and writes a manifest, but it does not call the image model or create generated_cover.png.

Verification

  • Require terminal JSON with "ok": true.
  • Read output paths from the terminal response or manifest.
  • Confirm generated_cover.png is non-empty and decodable as an image.
  • Confirm cover_prompt.final.txt exactly records the submitted prompt.
  • If provider configuration is missing or generation fails, report the returned error rather than treating the manifest alone as success.
常见问题

它会自动使用我的视频画面吗?

不会。源视频的封面不会发送给模型,因此提示词中要包含你想要的全部内容。

图片是什么尺寸?

默认是 1024 乘 1024 的正方形图片,你也可以选择其他尺寸。

图片保存在哪里?

保存在你的任务文件夹中,并附有提示词文本和清单文件。

详情

作者的原始描述

Use when generating a cover image with the KrillinAI CLI from a complete image prompt, including validating image-provider configuration and inspecting the generated image and saved prompt.

repo: krillinai/OpenCreator

热度

GitHub 星标
14k
排名
#11253
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能