Agent skill · Backend & API

seedream-imagegen

用 ByteDance Seedream 4.0 API(经 Segmind)生成 AI 图像。当用户要从文字描述生成营销素材、海报、产品图、概念图、社交媒体配图等高质量图像,且环境配有 SEGMIND_API_KEY 时使用。支持 2K/4K、多比例、单次最多 15 张批量、最多 3 张参考图控风格。不用于:修改/编辑已有图片(用图像编辑类 skill)、视频生成、无 API 环境下的快速配图需求。

staruhubgithub.com/staruhubGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add staruhub/ClaudeSkills --skill Geek-skills-seedream-imagegen --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 3 KB
Bundled scripts: yes
Version: 1.1.0
Path: lab/Geek-skills-seedream-imagegen/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 659
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Seedream 4.0 图像生成 通过 `scripts/generate_image.py` 调用 Seedream 4.0 生成专业级图像。 ## 验收标准(每次生成任务完成前自查) - [ ] 提示词经过结构化优化([主题]+[风格]+[细节]+[质量词]),不是用户原话直接透传 - [ ] size / aspect_ratio 与用途匹配(见参数对照表),不是默认值裸跑 - [ ] 图像已落盘并把**实际文件路径**回报给用户 - [ ] 重要用途(海报/品牌)生成 ≥3 张供选择 - [ ] 告知了本次消耗(张数×分辨率),4K 提前说明更耗时耗额度 ## 不做什么 - 不编辑、重绘、扩展已有图片——只做文生图(参考图仅用于风格指导) - 无 `SEGMIND_API_KEY` 时不硬试:告知用户去 segmind.com 获取,或改用环境内其他生图 skill - 不对生成内容的版权归属下结论 - 用户只要一张随手配图时,不展开完整需求问卷,合理默认直接出 ## 工作流程 ### 1. 收集需求(缺什么问什么,不逐项走问卷) 必需:图像内容描述。推荐确认:尺寸(默认 2K)、比例(默认 1:1)、数量(默认 1)。 **用途 → 参数对照表** | 用途 | size | aspect_ratio | max_images | |------|------|--------------|------------| | 社交媒体 | 2K | 1:1 或 9:16 | 1-3 | | 网页横幅 | 2K | 16:9 或 21:9 | 1 | | 打印海报 | 4K | 4:3 或自定义 | 1-2 | | 产品图 | 2K | 3:2 或 4:3 | 3-5 | | 概念设计 | 2K | 16:9 | 5-10 | ### 2. 优化提示词 结构:[主题] + [风格] + [细节] + [质量修饰词],补光照与氛围;需要图内文字时明确指定文字内容与字体风格;建议 200-300 词内。 示例:"一只猫" → "A fluffy orange tabby cat on a wooden windowsill, golden hour lighting, cozy interior, warm palette, professional photography, detailed fur texture"。 风格关键词库与更多范式:`references/prompt_engineering.md`。 ### 3. 执行 ```bash python scripts/generate_image.py \ --prompt "优化后的提示词" \ --size 2K --aspect-ratio 16:9 --max-images 1 \

What's inside
Steps it walks through
  1. 验收标准(每次生成任务完成前自查)
  2. 不做什么
  3. 工作流程
  4. 1. 收集需求(缺什么问什么,不逐项走问卷)
  5. 2. 优化提示词
  6. 3. 执行
  7. 4. 迭代
  8. 已知陷阱
  9. 参考文档(按需加载)
Ships with 5 files
  • evals/routing-evals.json
  • references/api_reference.md
  • references/prompt_engineering.md
  • references/quick_start.md
  • scripts/generate_image.py
Commands it runs
python scripts/generate_image.py \
API key 从环境变量 SEGMIND_API_KEY 读取,或用 --api-key 传入
More from ClaudeSkills
All skills →
About this skill
What does the seedream-imagegen skill do?

用 ByteDance Seedream 4.0 API(经 Segmind)生成 AI 图像。当用户要从文字描述生成营销素材、海报、产品图、概念图、社交媒体配图等高质量图像,且环境配有 SEGMIND_API_KEY 时使用。支持 2K/4K、多比例、单次最多 15 张批量、最多 3 张参考图控风格。不用于:修改/编辑已有图片(用图像编辑类 skill)、视频生成、无 API 环境下的快速配图需求。

How do I install it?

Run `npx skills add staruhub/ClaudeSkills --skill Geek-skills-seedream-imagegen --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From staruhub/ClaudeSkills, a repository with 659 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going