Generate Image By Seedream logo

Generate Image By Seedream

Community
chunpu
generate-image-by-seedream

通过字节跳动火山引擎 Ark 的豆包 Seedream(即梦 / Dreamina)图像模型生成或编辑图片。

Overview

Publisherchunpu
Repositoryagent-skills
Skill namegenerate-image-by-seedream
Stars
40
Forks
9
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by chunpu on GitHub. Read the source before you install it.

Installation

Install the Generate Image By Seedream AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chunpu/agent-skills/tree/main/skills/generate-image-by-seedream
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chunpu/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/generate-image-by-seedream .claude/skills/generate-image-by-seedream
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Generate Image By Seedream in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Generate Image By Seedream on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Generate Image By Seedream is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

豆包 Seedream 图像生成

使用附带的脚本通过字节跳动图像生成模型生成或编辑图片:

  • 豆包 Seedream(即梦 / Dreamina) 系列生图模型
  • 支持文生图、图生图、多图参考编辑

默认版本:4.5 → 对应 doubao-seedream-4-5-251128。 默认尺寸:2K。

模型效果建议

  • 效果排序:4.5 > 5.0 > 4.0
  • 推荐优先使用 4.5 版本以获得最佳效果

画面比例

  • 必须在生图提示词(prompt)中明确指定画面比例,例如:“生成可爱小狗,9:16竖屏比例”

文生图

bash
uv run {baseDir}/scripts/generate_image.py --prompt "你的图片描述" --filename "可爱小狗.jpg"

使用 YAML 配置文件

可以将所有生图参数写入 YAML 配置文件,然后通过 --config 参数使用:

文生图配置示例 (text2image.yaml):

yaml
prompt: 一只可爱的小狗在草地上,9:16竖屏比例
filename: 可爱小狗.jpg
size: 2K
version: 4.5

图生图配置示例(带参考图列表,image2image.yaml):

yaml
prompt: 将图1的服装换为图2的服装
filename: 换装女孩.jpg
images:
  - https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimage_1.png
  - https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imagesToimage_2.png
size: 2K
version: 4.5

本地参考图配置示例 (local_images.yaml):

yaml
prompt: 多图融合成一张插画
filename: 多图融合插画.jpg
images:
  - /path/to/参考图1.jpg
  - /path/to/参考图2.png
size: 2K
version: 4.5

使用方法:

bash
uv run {baseDir}/scripts/generate_image.py --config image2image.yaml

混合使用配置文件和命令行参数(命令行参数优先级更高):

bash
uv run {baseDir}/scripts/generate_image.py --config prompt.yaml --filename "自定义文件名.jpg"

YAML 配置文件支持的所有参数:

  • prompt: 图片描述
  • filename: 输出文件名
  • images: 参考图像列表(可以是 URL 或本地文件路径)
  • size: 输出尺寸(如 "2K"、"4K")
  • version: Seedream 版本(如 "4.5")
  • model: 完整的模型名称(高级选项)
  • api_key: API 密钥

图生图 / 参考图像(多张图像:URL 或本地文件)

bash
uv run {baseDir}/scripts/generate_image.py \
  --prompt "将图1的服装换为图2的服装" \
  --filename "换装女孩.jpg" \
  -i "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimage_1.png" \
  -i "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imagesToimage_2.png" \
  --size 2K \
  --version 4.5

本地参考图像(多张本地文件)

bash
uv run {baseDir}/scripts/generate_image.py \
  --prompt "多图融合成一张插画" \
  --filename "多图融合插画.jpg" \
  -i "/path/to/参考图1.jpg" \
  -i "/path/to/参考图2.png" \
  --size 2K \
  --version 4.5

注意事项

API 密钥

  • 你要先自动检测是否有 ARK_API_KEY 环境变量,没有需要向用户要或者让用户在火山引擎申请

版本选项

  • 4.0 → doubao-seedream-4-0-250828
  • 4.5(默认)→ doubao-seedream-4-5-251128
  • 5.0 → doubao-seedream-5-0-260128
  • 高级选项:仍可通过 --model doubao-seedream-5-0-lite-260128 等参数覆盖默认映射。

尺寸选项(按版本)

  • 4.0: 1K, 2K, 4K
  • 4.5: 2K, 4K
  • 5.0: 2K, 3K

文件名建议(供调用方参考)

  • 不要在文件名里包含 "seedream" 之类的实现细节。
  • 文件名语言应与用户 Prompt 语言保持一致,例如中文 Prompt 就用简短中文文件名(如 可爱小狗.jpg)。
  • 名字要有语义但尽量简短,避免过长句子。

关键词提示(供搜索发现)

  • "doubao", "豆包", "即梦", "Seedream", "dreamina"
  • "ByteDance image model", "字节跳动生图模型"
  • "文生图", "图生图", "参考图", "图片生成", "图像生成", "换装", "图片编辑"

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Generate Image By Seedream AI skill do?

通过字节跳动火山引擎 Ark 的豆包 Seedream(即梦 / Dreamina)图像模型生成或编辑图片。

Why use Generate Image By Seedream on TypingMind?

Because you install it once and use it with any model. Generate Image By Seedream is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Generate Image By Seedream in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chunpu/agent-skills/tree/main/skills/generate-image-by-seedream. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Generate Image By Seedream?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Generate Image By Seedream?

As many as you like. As long as a model supports skills, you can use Generate Image By Seedream with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Generate Image By Seedream AI skill free?

It is published on GitHub by chunpu. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇