{"id":"a0c9e71f-3101-4df7-a39c-4907eda80b7a","entityType":"agent","slug":"clawhub-etmnb-doubao-seedream-gen","name":"Doubao Seedream Gen","canonicalUrl":"https://www.xpersona.co/agent/clawhub-etmnb-doubao-seedream-gen","canonicalPath":"/agent/clawhub-etmnb-doubao-seedream-gen","generatedAt":"2026-10-12T01:08:14.242Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T19:08:15.982Z","emptyReason":null},"description":"调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。 支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。 Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image tx... Skill: Doubao Seedream Gen Owner: etmnb Summary: 调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。 支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。 Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image tx... Tags: latest:999.999.999 Version history: v999.999.999 | 2026-05-21T12:53:35.573Z | user - Skill has been deprecated and moved to https://clawhub.ai/etmnb/bytedance-ai-image-gen - Please delete the current skil","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s17d5t69ggjwkkgy7xx496krnx83pg6h:doubao-seedream-gen","sourceUrl":"https://clawhub.ai/etmnb/doubao-seedream-gen","homepage":"https://clawhub.ai/etmnb/skills/doubao-seedream-gen","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/etmnb/doubao-seedream-gen","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/etmnb/skills/doubao-seedream-gen","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。 支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。 Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image tx..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T19:08:15.982Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T19:08:15.982Z","emptyReason":null},"stars":null,"forks":null,"downloads":1005,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"999.999.999","tractionLabel":"1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T19:08:15.916Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T19:08:15.982Z","lastCrawledAt":"2026-10-11T19:08:15.916Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T19:08:15.916Z","lastVerifiedAt":null,"highlights":[{"version":"999.999.999","createdAt":"2026-05-21T12:53:35.573Z","changelog":"- Skill has been deprecated and moved to https://clawhub.ai/etmnb/bytedance-ai-image-gen - Please delete the current skill.","fileCount":3,"zipByteSize":1418},{"version":"1.1.0","createdAt":"2026-05-20T16:11:12.081Z","changelog":"接入点必填，移除默认值","fileCount":3,"zipByteSize":20147},{"version":"1.0.0","createdAt":"2026-05-20T15:50:15.193Z","changelog":"doubao-seedream-gen v1.0.0 - Initial release of the doubao-seedream-gen skill. - Supports text-to-image and image-to-image generation via Volcano Seedream API. - Auto-selects between Seedream-4.5, 5.0-Lite, and 4.0 models with daily usage limits. - Includes detailed trigger words, usage instructions, and configuration in SKILL.md. - Free usage for new users through Volcano's \"Collaboration Reward Program.\"","fileCount":3,"zipByteSize":20026}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17d5t69ggjwkkgy7xx496krnx83pg6h:doubao-seedream-gen","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-12T01:08:14.242Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-doubao-seedream-gen/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T19:08:15.982Z","emptyReason":null},"readme":"Skill: Doubao Seedream Gen\n\nOwner: etmnb\n\nSummary: 调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。 支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。 Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image tx...\n\nTags: latest:999.999.999\n\nVersion history:\n\nv999.999.999 | 2026-05-21T12:53:35.573Z | user\n\n- Skill has been deprecated and moved to https://clawhub.ai/etmnb/bytedance-ai-image-gen\n- Please delete the current skill.\n\nv1.1.0 | 2026-05-20T16:11:12.081Z | user\n\n接入点必填，移除默认值\n\nv1.0.0 | 2026-05-20T15:50:15.193Z | auto\n\ndoubao-seedream-gen v1.0.0\n\n- Initial release of the doubao-seedream-gen skill.\n- Supports text-to-image and image-to-image generation via Volcano Seedream API.\n- Auto-selects between Seedream-4.5, 5.0-Lite, and 4.0 models with daily usage limits.\n- Includes detailed trigger words, usage instructions, and configuration in SKILL.md.\n- Free usage for new users through Volcano's \"Collaboration Reward Program.\"\n\nArchive index:\n\nArchive v999.999.999: 3 files, 1418 bytes\n\nFiles: skill-card.md (1706b), SKILL.MD (93b), _meta.json (144b)\n\nFile v999.999.999:SKILL.MD\n\n已经弃用转移至https://clawhub.ai/etmnb/bytedance-ai-image-gen 请删除当前skill💖\n\nFile v999.999.999:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"doubao-seedream-gen\",\n  \"version\": \"999.999.999\",\n  \"publishedAt\": 1779368015573\n}\n\nFile v999.999.999:skill-card.md\n\n## Description:\n\nDoubao Seedream Gen is a deprecated ClawHub skill notice that directs users to a replacement Bytedance AI image generation skill.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[etmnb](https://clawhub.ai/user/etmnb)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers encounter this skill as a deprecation notice and use it to identify the replacement package before uninstalling or migrating away from the old release.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The deprecation notice asks for deletion of the current skill, which could lead to unintended automated file removal.\n\nMitigation: Treat the notice as manual guidance only; verify the replacement package and publisher, then uninstall through a user-controlled step.\n\n## Reference(s):\n\n- [ClawHub release page](https://clawhub.ai/etmnb/skills/doubao-seedream-gen)\n- [Replacement skill referenced by deprecation notice](https://clawhub.ai/etmnb/bytedance-ai-image-gen)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, guidance]\n\n**Output Format:** [Plain text or Markdown deprecation guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [No automated uninstall output; users should verify the replacement package and publisher before removing the deprecated skill.]\n\n## Skill Version(s):\n\n999.999.999 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v1.1.0: 3 files, 20147 bytes\n\nFiles: _meta.json (138b), doubao_image_gen.py (62820b), SKILL.md (6175b)\n\nFile v1.1.0:SKILL.md\n\n---\nname: doubao_image_gen\ndescription: >\n  调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。\n  支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。\n  Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image txt2img\n  图生图 img2image 等），且意图是生成/编辑图片。\n  NOT for: 视频、3D、文字对话、代码、搜索、文件操作。勿在没有触发词时调用。\nversion: 2.1.0\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - ARK_API_KEY\n        - DOUBAO_MODEL_45_ID\n        - DOUBAO_MODEL_50L_ID\n        - DOUBAO_MODEL_40_ID\n    primaryEnv: ARK_API_KEY\n    envVars:\n      - name: ARK_API_KEY\n        required: true\n        description: 火山方舟 API Key，在 console.volcengine.com/ark → API Key 管理 创建\n      - name: DOUBAO_MODEL_45_ID\n        required: true\n        description: Seedream-4.5 接入点 Model ID，在 console.volcengine.com/ark → 在线推理 获取\n      - name: DOUBAO_MODEL_50L_ID\n        required: true\n        description: Seedream-5.0-Lite 接入点 Model ID\n      - name: DOUBAO_MODEL_40_ID\n        required: true\n        description: Seedream-4.0 接入点 Model ID\n      - name: VOLCENGINE_ACCESS_KEY\n        required: false\n        description: 火山 IAM Access Key，在 console.volcengine.com/iam 创建，用于自动同步用量\n      - name: VOLCENGINE_SECRET_KEY\n        required: false\n        description: 火山 IAM Secret Key，与 ACCESS_KEY 配套\n    emoji: \"🎨\"\n    homepage: https://www.volcengine.com/docs/82379/1541523\n    install:\n      - kind: uv\n        package: requests\n        bins: [python]\n---\n\n# 豆包图片生成 Skill\n\n调用火山方舟 Seedream API 生成/编辑图片，自动选择模型并限制用量。\n\n## 触发词（精确匹配，不触发不调用）\n\n| 触发词 | 例子 |\n|--------|------|\n| `/img` `/image` `/draw` `/gen` `/generate` `/pic` | `/img 一只猫` |\n| `生成图片` `画一张图` `创建图片` `制作图片` | `生成图片 海边落日 4K` |\n| `图生图` `img2img` `image to image` `edit this image` | `图生图 换背景 url` |\n| `极致生成:` `快速草稿:` `艺术风格:` | `极致生成: 赛博朋克城市` |\n| `generate image` `create image` `txt2img` | `generate image a cat 2K` |\n| `画图` `帮我画` `帮我生成` `我想生成` `搞个图` `来张图` | `帮我画一只柴犬` |\n| `please generate` `please draw` `I want to generate` | `please draw a sunset` |\n\n## 工作流程\n\n调用 `doubao_image_gen.py` 脚本：\n\n1. **检测触发词** — 从用户输入提取 prompt、size、style、图生图标记\n2. **模型选择** — 按 4.5 → 5.0Lite → 4.0 降级，满 18 次跳过\n3. **尺寸解析** — `2K`(2048²) / `4K`(4096²) / `16:9` / `1920x1080` / `4K+16:9→5461×3072`\n4. **调用 API** — `POST https://ark.cn-beijing.volces.com/api/v3/images/generations`\n5. **保存图片** — 下载到 `Image/`，命名：`内容分辨率-模型-时间.png`\n6. **记录历史** — 写入 `image_gen_history.json`，7 天自动清理\n\n## 调用方式\n\n```python\nfrom doubao_image_gen import DoubaoImageGenerator\ng = DoubaoImageGenerator()\n\n# 文生图\ng.generate_text_to_image(\"提示词\", size=\"2K\")           # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")  # 4K+宽屏\ng.generate_text_to_image(\"提示词\", size=\"1920x1080\")    # 精准分辨率\n\n# 图生图\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\n\n# 组图\ng.generate_sequence(\"提示词\", max_images=4)\n\n# 查看状态\ng.get_status()\n\n# 强制模型\ng.generate_text_to_image(\"提示词\", force_model=\"Doubao-Seedream-4.0\")\n```\n\n## 尺寸\n\n| 方式 | 写法 | 结果 |\n|------|------|------|\n| 预设 | `2K` / `4K` | 2048² / 4096² |\n| 预设+比例 | `4K` + `ratio=\"16:9\"` | 5461×3072 |\n| 比例 | `16:9` `1:1` `4:3` `21:9` | 推荐分辨率 |\n| 精准 | `1920x1080` | 最大 16,777,216 px |\n\n## 模型\n\n| 模型 | 优先级 | ID |\n|------|--------|-----|\n| Seedream-4.5 | 1 | `doubao-seedream-4-5-251128` |\n| Seedream-5.0-Lite | 2 | `doubao-seedream-5-0-260128` |\n| Seedream-4.0 | 3 | `doubao-seedream-4-0-250828` |\n\n每模型每日 18 次，全部超限返回 `{\"success\":false,\"error\":\"...\"}`。\n\n## 配置与获取密钥\n\n> 🎁 **火山「协作奖励计划」**：新用户注册火山方舟即可免费使用 Seedream-4.5/5.0-Lite/4.0 等顶级生图模型，无需预充值。详情见 [火山方舟控制台](https://console.volcengine.com/ark)。\n\n### 1. ARK_API_KEY（必填 — 用于生成图片）\n\n在火山方舟控制台创建 API Key：\n1. 打开 https://console.volcengine.com/ark → **API Key 管理**\n2. 点击「创建 API Key」，复制生成的 `ark-xxx` 字符串\n\n```bash\nexport ARK_API_KEY=\"ark-your-key-here\"\n```\n\n### 2. IAM 密钥（可选 — 用于自动同步用量）\n\n用量同步需要火山云 IAM 密钥（Access Key + Secret Key）：\n1. 打开 https://console.volcengine.com/iam → **访问控制 → 用户**\n2. 创建用户或选择已有用户 → **密钥管理**\n3. 生成 Access Key，保存 `AccessKeyId` 和 `SecretAccessKey`\n\n```bash\nexport VOLCENGINE_ACCESS_KEY=\"AKLTxxx\"\nexport VOLCENGINE_SECRET_KEY=\"your-secret\"\n```\n\n> 不配 IAM 密钥也能正常生成图片，只是无法从控制台自动同步已用量。\n\n### 3. 模型接入点 ID（必填 — 三个模型各需一个）\n\n在火山方舟控制台为三个 Seedream 模型分别创建接入点：\n\n1. 打开 https://console.volcengine.com/ark → **在线推理**\n2. 分别创建 Seedream-4.5、Seedream-5.0-Lite、Seedream-4.0 的接入点\n3. 复制各接入点的 **Model ID**（如 `doubao-seedream-4-5-251128`）\n\n```bash\nexport DOUBAO_MODEL_45_ID=\"doubao-seedream-4-5-251128\"   # 必填\nexport DOUBAO_MODEL_50L_ID=\"doubao-seedream-5-0-260128\"  # 必填\nexport DOUBAO_MODEL_40_ID=\"doubao-seedream-4-0-250828\"   # 必填\n```\n\n## 文件\n\n| 文件 | 说明 |\n|------|------|\n| `doubao_image_gen.py` | 核心脚本 |\n| `image_gen_history.json` | 调用历史+计数+端点缓存 |\n| `Image/` | 生成图片保存目录 |\n\nFile v1.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"doubao-seedream-gen\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1779293472081\n}\n\nArchive v1.0.0: 3 files, 20026 bytes\n\nFiles: _meta.json (138b), doubao_image_gen.py (62392b), SKILL.md (6126b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: doubao_image_gen\ndescription: >\n  调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。\n  支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。\n  Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image txt2img\n  图生图 img2image 等），且意图是生成/编辑图片。\n  NOT for: 视频、3D、文字对话、代码、搜索、文件操作。勿在没有触发词时调用。\nversion: 2.1.0\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - ARK_API_KEY\n    primaryEnv: ARK_API_KEY\n    envVars:\n      - name: ARK_API_KEY\n        required: true\n        description: 火山方舟 API Key，在 console.volcengine.com/ark → API Key 管理 创建\n      - name: DOUBAO_MODEL_45_ID\n        required: false\n        description: Seedream-4.5 接入点 Model ID，默认 doubao-seedream-4-5-251128\n      - name: DOUBAO_MODEL_50L_ID\n        required: false\n        description: Seedream-5.0-Lite 接入点，默认 doubao-seedream-5-0-260128\n      - name: DOUBAO_MODEL_40_ID\n        required: false\n        description: Seedream-4.0 接入点，默认 doubao-seedream-4-0-250828\n      - name: VOLCENGINE_ACCESS_KEY\n        required: false\n        description: 火山 IAM Access Key，在 console.volcengine.com/iam 创建，用于自动同步用量\n      - name: VOLCENGINE_SECRET_KEY\n        required: false\n        description: 火山 IAM Secret Key，与 ACCESS_KEY 配套\n    emoji: \"🎨\"\n    homepage: https://www.volcengine.com/docs/82379/1541523\n    install:\n      - kind: uv\n        package: requests\n        bins: [python]\n---\n\n# 豆包图片生成 Skill\n\n调用火山方舟 Seedream API 生成/编辑图片，自动选择模型并限制用量。\n\n## 触发词（精确匹配，不触发不调用）\n\n| 触发词 | 例子 |\n|--------|------|\n| `/img` `/image` `/draw` `/gen` `/generate` `/pic` | `/img 一只猫` |\n| `生成图片` `画一张图` `创建图片` `制作图片` | `生成图片 海边落日 4K` |\n| `图生图` `img2img` `image to image` `edit this image` | `图生图 换背景 url` |\n| `极致生成:` `快速草稿:` `艺术风格:` | `极致生成: 赛博朋克城市` |\n| `generate image` `create image` `txt2img` | `generate image a cat 2K` |\n| `画图` `帮我画` `帮我生成` `我想生成` `搞个图` `来张图` | `帮我画一只柴犬` |\n| `please generate` `please draw` `I want to generate` | `please draw a sunset` |\n\n## 工作流程\n\n调用 `doubao_image_gen.py` 脚本：\n\n1. **检测触发词** — 从用户输入提取 prompt、size、style、图生图标记\n2. **模型选择** — 按 4.5 → 5.0Lite → 4.0 降级，满 18 次跳过\n3. **尺寸解析** — `2K`(2048²) / `4K`(4096²) / `16:9` / `1920x1080` / `4K+16:9→5461×3072`\n4. **调用 API** — `POST https://ark.cn-beijing.volces.com/api/v3/images/generations`\n5. **保存图片** — 下载到 `Image/`，命名：`内容分辨率-模型-时间.png`\n6. **记录历史** — 写入 `image_gen_history.json`，7 天自动清理\n\n## 调用方式\n\n```python\nfrom doubao_image_gen import DoubaoImageGenerator\ng = DoubaoImageGenerator()\n\n# 文生图\ng.generate_text_to_image(\"提示词\", size=\"2K\")           # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")  # 4K+宽屏\ng.generate_text_to_image(\"提示词\", size=\"1920x1080\")    # 精准分辨率\n\n# 图生图\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\n\n# 组图\ng.generate_sequence(\"提示词\", max_images=4)\n\n# 查看状态\ng.get_status()\n\n# 强制模型\ng.generate_text_to_image(\"提示词\", force_model=\"Doubao-Seedream-4.0\")\n```\n\n## 尺寸\n\n| 方式 | 写法 | 结果 |\n|------|------|------|\n| 预设 | `2K` / `4K` | 2048² / 4096² |\n| 预设+比例 | `4K` + `ratio=\"16:9\"` | 5461×3072 |\n| 比例 | `16:9` `1:1` `4:3` `21:9` | 推荐分辨率 |\n| 精准 | `1920x1080` | 最大 16,777,216 px |\n\n## 模型\n\n| 模型 | 优先级 | ID |\n|------|--------|-----|\n| Seedream-4.5 | 1 | `doubao-seedream-4-5-251128` |\n| Seedream-5.0-Lite | 2 | `doubao-seedream-5-0-260128` |\n| Seedream-4.0 | 3 | `doubao-seedream-4-0-250828` |\n\n每模型每日 18 次，全部超限返回 `{\"success\":false,\"error\":\"...\"}`。\n\n## 配置与获取密钥\n\n> 🎁 **火山「协作奖励计划」**：新用户注册火山方舟即可免费使用 Seedream-4.5/5.0-Lite/4.0 等顶级生图模型，无需预充值。详情见 [火山方舟控制台](https://console.volcengine.com/ark)。\n\n### 1. ARK_API_KEY（必填 — 用于生成图片）\n\n在火山方舟控制台创建 API Key：\n1. 打开 https://console.volcengine.com/ark → **API Key 管理**\n2. 点击「创建 API Key」，复制生成的 `ark-xxx` 字符串\n\n```bash\nexport ARK_API_KEY=\"ark-your-key-here\"\n```\n\n### 2. IAM 密钥（可选 — 用于自动同步用量）\n\n用量同步需要火山云 IAM 密钥（Access Key + Secret Key）：\n1. 打开 https://console.volcengine.com/iam → **访问控制 → 用户**\n2. 创建用户或选择已有用户 → **密钥管理**\n3. 生成 Access Key，保存 `AccessKeyId` 和 `SecretAccessKey`\n\n```bash\nexport VOLCENGINE_ACCESS_KEY=\"AKLTxxx\"\nexport VOLCENGINE_SECRET_KEY=\"your-secret\"\n```\n\n> 不配 IAM 密钥也能正常生成图片，只是无法从控制台自动同步已用量。\n\n### 3. 模型接入点 ID（可选 — 默认已内置）\n\n三个生图模型已有默认接入点，无需配置。如需使用自定义接入点（如修改了推理配置）：\n\n1. 打开 https://console.volcengine.com/ark → **在线推理**\n2. 找到对应模型接入点，复制其 **Model ID**（如 `doubao-seedream-4-5-251128`）\n\n```bash\nexport DOUBAO_MODEL_45_ID=\"your-4.5-model-id\"     # 可选，默认内置\nexport DOUBAO_MODEL_50L_ID=\"your-5.0L-model-id\"   # 可选，默认内置\nexport DOUBAO_MODEL_40_ID=\"your-4.0-model-id\"     # 可选，默认内置\n```\n\n## 文件\n\n| 文件 | 说明 |\n|------|------|\n| `doubao_image_gen.py` | 核心脚本 |\n| `image_gen_history.json` | 调用历史+计数+端点缓存 |\n| `Image/` | 生成图片保存目录 |\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"doubao-seedream-gen\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1779292215193\n}","readmeExcerpt":"Skill: Doubao Seedream Gen Owner: etmnb Summary: 调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。 支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。 Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image tx... Tags: latest:999.999.999 Version history: v999.999.999 | 2026-05-21T12:53:35.573Z | user - Skill has been deprecated and moved to https://clawhub.ai/etmnb/bytedance-ai-image-gen - Please delete the current skil","codeSnippets":[],"executableExamples":[{"language":"python","snippet":"from doubao_image_gen import DoubaoImageGenerator\ng = DoubaoImageGenerator()\n\n# 文生图\ng.generate_text_to_image(\"提示词\", size=\"2K\")           # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")  # 4K+宽屏\ng.generate_text_to_image(\"提示词\", size=\"1920x1080\")    # 精准分辨率\n\n# 图生图\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\n\n# 组图\ng.generate_sequence(\"提示词\", max_images=4)\n\n# 查看状态\ng.get_status()\n\n# 强制模型\ng.generate_text_to_image(\"提示词\", force_model=\"Doubao-Seedream-4.0\")"},{"language":"bash","snippet":"export ARK_API_KEY=\"ark-your-key-here\""},{"language":"bash","snippet":"export VOLCENGINE_ACCESS_KEY=\"AKLTxxx\"\nexport VOLCENGINE_SECRET_KEY=\"your-secret\""},{"language":"bash","snippet":"export DOUBAO_MODEL_45_ID=\"doubao-seedream-4-5-251128\"   # 必填\nexport DOUBAO_MODEL_50L_ID=\"doubao-seedream-5-0-260128\"  # 必填\nexport DOUBAO_MODEL_40_ID=\"doubao-seedream-4-0-250828\"   # 必填"},{"language":"python","snippet":"from doubao_image_gen import DoubaoImageGenerator\ng = DoubaoImageGenerator()\n\n# 文生图\ng.generate_text_to_image(\"提示词\", size=\"2K\")           # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")  # 4K+宽屏\ng.generate_text_to_image(\"提示词\", size=\"1920x1080\")    # 精准分辨率\n\n# 图生图\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\n\n# 组图\ng.generate_sequence(\"提示词\", max_images=4)\n\n# 查看状态\ng.get_status()\n\n# 强制模型\ng.generate_text_to_image(\"提示词\", force_model=\"Doubao-Seedream-4.0\")"},{"language":"bash","snippet":"export ARK_API_KEY=\"ark-your-key-here\""}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.MD","content":"已经弃用转移至https://clawhub.ai/etmnb/bytedance-ai-image-gen 请删除当前skill💖"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"doubao-seedream-gen\",\n  \"version\": \"999.999.999\",\n  \"publishedAt\": 1779368015573\n}"},{"path":"skill-card.md","content":"## Description:\n\nDoubao Seedream Gen is a deprecated ClawHub skill notice that directs users to a replacement Bytedance AI image generation skill.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[etmnb](https://clawhub.ai/user/etmnb)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers encounter this skill as a deprecation notice and use it to identify the replacement package before uninstalling or migrating away from the old release.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The deprecation notice asks for deletion of the current skill, which could lead to unintended automated file removal.\n\nMitigation: Treat the notice as manual guidance only; verify the replacement package and publisher, then uninstall through a user-controlled step.\n\n## Reference(s):\n\n- [ClawHub release page](https://clawhub.ai/etmnb/skills/doubao-seedream-gen)\n- [Replacement skill referenced by deprecation notice](https://clawhub.ai/etmnb/bytedance-ai-image-gen)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, guidance]\n\n**Output Format:** [Plain text or Markdown deprecation guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [No automated uninstall output; users should verify the replacement package and publisher before removing the deprecated skill.]\n\n## Skill Version(s):\n\n999.999.999 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。 支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。 Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image tx... Skill: Doubao Seedream Gen Owner: etmnb Summary: 调用豆包 Seedream 模型生成图片。新用户通过火山「协作奖励计划」免费使用顶级模型。 支持文生图+图生图，智能调度 4.5→5.0Lite→4.0，每模型每日18次，超限拒绝。 Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image tx... Tags: latest:999.999.999 Version history: v999.999.999 | 2026-05-21T12:53:35.573Z | user - Skill has been deprecated and moved to https://clawhub.ai/etmnb/bytedance-ai-image-gen - Please delete the current skil","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":687,"uniquenessScore":57,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T19:08:15.982Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T19:08:15.982Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:08:14.242Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}