{"id":"f66d21ef-05b0-4fc7-a891-714ecd43907f","entityType":"agent","slug":"clawhub-etmnb-dola-seedream-gen","name":"Dola Seedream Gen","canonicalUrl":"https://www.xpersona.co/agent/clawhub-etmnb-dola-seedream-gen","canonicalPath":"/agent/clawhub-etmnb-dola-seedream-gen","generatedAt":"2026-10-11T08:43:18.146Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T05:57:23.899Z","emptyReason":null},"description":"这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。 触发词: /img 生成图片 画图... Skill: Dola Seedream Gen Owner: etmnb Summary: 这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。 触发词: /img 生成图片 画图... Tags: latest:999.999.999 Version history: v999.999.999 | 2026-05-21T12:51:52.845Z | user - Updated deprecation notice in SKILL.md to include a heart emoji for emphasis. - Clarified the message to direct users to t","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s17d5t69ggjwkkgy7xx496krnx83pg6h:dola-seedream-gen","sourceUrl":"https://clawhub.ai/etmnb/dola-seedream-gen","homepage":"https://clawhub.ai/etmnb/skills/dola-seedream-gen","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/etmnb/dola-seedream-gen","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/etmnb/skills/dola-seedream-gen","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。 触发词: /img 生成图片 画图... "},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T05:57:23.899Z","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-11T05:57:23.899Z","emptyReason":null},"stars":null,"forks":null,"downloads":1140,"packageName":null,"latestVersion":"999.999.999","tractionLabel":"1.1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T05:57:23.886Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T05:57:23.899Z","lastCrawledAt":"2026-10-11T05:57:23.886Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T05:57:23.886Z","lastVerifiedAt":null,"highlights":[{"version":"999.999.999","createdAt":"2026-05-21T12:51:52.845Z","changelog":"- Updated deprecation notice in SKILL.md to include a heart emoji for emphasis. - Clarified the message to direct users to the new link and request deletion of the current skill.","fileCount":3,"zipByteSize":1466},{"version":"1.1.4","createdAt":"2026-05-21T12:49:05.670Z","changelog":"- Skill has been deprecated and migrated to https://clawhub.ai/etmnb/bytedance-ai-image-gen - Please delete the current skill.","fileCount":2,"zipByteSize":456},{"version":"1.0.1","createdAt":"2026-05-21T01:14:07.228Z","changelog":"- Major update: simplified and improved documentation, rewritten usage rules, and added behavior guidelines. - Expanded trigger word list and clarified when to invoke the skill. - Now supports local file paths and base64 images for \"image-to-image\" and blending, in addition to URLs. - Strictly enforces silent parameter inference; user is never asked to confirm actions or quota use. - Added/updated image generation history storage (image_gen_history.json). - Improved environment variable documentation and example configurations.","fileCount":5,"zipByteSize":4299769},{"version":"1.1.3","createdAt":"2026-05-20T17:36:00.990Z","changelog":"优化SKILL.md适配小参数模型: 明确标注为豆包技能+触发词+图生图需公网URL","fileCount":3,"zipByteSize":19113},{"version":"1.1.2","createdAt":"2026-05-20T17:31:47.999Z","changelog":"1.1.2: .env自动加载+路径修复+全功能测试","fileCount":3,"zipByteSize":20411},{"version":"1.0.0","createdAt":"2026-05-20T17:05:48.282Z","changelog":"dola-seedream-gen 2.1.0 - 新增支持豆包 Seedream 多模型（4.5、5.0-Lite、4.0），自动智能调度与降级。 - 新增每日各模型 18 次限制，超额拒绝服务。 - 明确支持文生图和图生图输入，触发词丰富、精确匹配。 - 增强尺寸解析：2K/4K/自定义分辨率/宽高比智能转换。 - 接入火山方舟协作奖励计划，支持新用户免费生成图片。 - 增加用量计数与历史自动清理，配置更加清晰易用。","fileCount":3,"zipByteSize":20182}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17d5t69ggjwkkgy7xx496krnx83pg6h:dola-seedream-gen","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","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-dola-seedream-gen/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-seedream-gen/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-seedream-gen/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-seedream-gen/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-seedream-gen/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-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-11T08:43:18.145Z"}},"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-dola-seedream-gen/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-seedream-gen/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-seedream-gen/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-etmnb-dola-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-11T05:57:23.899Z","emptyReason":null},"readme":"Skill: Dola Seedream Gen\n\nOwner: etmnb\n\nSummary: 这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。 触发词: /img 生成图片 画图...\n\nTags: latest:999.999.999\n\nVersion history:\n\nv999.999.999 | 2026-05-21T12:51:52.845Z | user\n\n- Updated deprecation notice in SKILL.md to include a heart emoji for emphasis.\n- Clarified the message to direct users to the new link and request deletion of the current skill.\n\nv1.1.4 | 2026-05-21T12:49:05.670Z | user\n\n- Skill has been deprecated and migrated to https://clawhub.ai/etmnb/bytedance-ai-image-gen\n- Please delete the current skill.\n\nv1.0.1 | 2026-05-21T01:14:07.228Z | auto\n\n- Major update: simplified and improved documentation, rewritten usage rules, and added behavior guidelines.\n- Expanded trigger word list and clarified when to invoke the skill.\n- Now supports local file paths and base64 images for \"image-to-image\" and blending, in addition to URLs.\n- Strictly enforces silent parameter inference; user is never asked to confirm actions or quota use.\n- Added/updated image generation history storage (image_gen_history.json).\n- Improved environment variable documentation and example configurations.\n\nv1.1.3 | 2026-05-20T17:36:00.990Z | user\n\n优化SKILL.md适配小参数模型: 明确标注为豆包技能+触发词+图生图需公网URL\n\nv1.1.2 | 2026-05-20T17:31:47.999Z | user\n\n1.1.2: .env自动加载+路径修复+全功能测试\n\nv1.0.0 | 2026-05-20T17:05:48.282Z | auto\n\ndola-seedream-gen 2.1.0\n\n- 新增支持豆包 Seedream 多模型（4.5、5.0-Lite、4.0），自动智能调度与降级。\n- 新增每日各模型 18 次限制，超额拒绝服务。\n- 明确支持文生图和图生图输入，触发词丰富、精确匹配。\n- 增强尺寸解析：2K/4K/自定义分辨率/宽高比智能转换。\n- 接入火山方舟协作奖励计划，支持新用户免费生成图片。\n- 增加用量计数与历史自动清理，配置更加清晰易用。\n\nArchive index:\n\nArchive v999.999.999: 3 files, 1466 bytes\n\nFiles: skill-card.md (1825b), SKILL.MD (93b), _meta.json (142b)\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\": \"dola-seedream-gen\",\n  \"version\": \"999.999.999\",\n  \"publishedAt\": 1779367912845\n}\n\nFile v999.999.999:skill-card.md\n\n## Description:\n\nDola Seedream Gen is a deprecated image-generation skill whose current artifact redirects users to the publisher's 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\nDevelopers and agents use this release to identify that Dola Seedream Gen has been deprecated and to locate the publisher's replacement image-generation skill.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The artifact redirects users to another skill and asks the agent to delete the current skill.\n\nMitigation: Treat the migration and deletion request as informational; only remove or replace the skill after independently trusting the replacement package.\n\nRisk: ClawHub security evidence marks this release as suspicious even though it contains no executable code.\n\nMitigation: Review the artifact and security summary before installing or loading the skill.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/etmnb/skills/dola-seedream-gen)\n- [Replacement skill referenced by artifact](https://clawhub.ai/etmnb/bytedance-ai-image-gen)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Guidance]\n\n**Output Format:** [Plain text with an external link]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Contains a deprecation notice and replacement-skill link; no executable code.]\n\n## Skill Version(s):\n\n999.999.999 (source: server release evidence)\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.4: 2 files, 456 bytes\n\nFiles: SKILL.MD (91b), _meta.json (136b)\n\nFile v1.1.4:SKILL.MD\n\n已经弃用转移至https://clawhub.ai/etmnb/bytedance-ai-image-gen，请删除当前skill\n\nFile v1.1.4:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"dola-seedream-gen\",\n  \"version\": \"1.1.4\",\n  \"publishedAt\": 1779367745670\n}\n\nArchive v1.0.1: 5 files, 4299769 bytes\n\nFiles: _meta.json (136b), doubao_image_gen.py (67110b), image_gen_history.json (5591353b), openclaw.json (1453b), SKILL.md (6886b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: dola-seedream-gen\ndescription: >\n  ByteDance AI Image Gen — 调用豆包/ByteDance Seedream 模型生成图片。\n  支持文生图、图生图（本地路径/URL/base64）、多图融合、组图生成。\n  智能调度 4.5→5.0Lite→4.0，每模型每日18次。\n  Use when: 用户输入中含触发词（/img /draw /gen 生成图片 画图 搞个图 generate image\n  图生图 img2img 融合 合成 两张图片 blend 等），且意图是生成/编辑图片。\n  NOT for: 视频、3D、文字对话、代码、搜索、文件操作。勿在没有触发词时调用。\nversion: 1.0.1\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# ByteDance AI Image Gen — 豆包/ByteDance Seedream 图片生成\n\n调用火山方舟 Seedream API 生成/编辑图片，自动选择模型并限制用量。\n\n---\n\n## 🚫 行为规则（最高优先级 — 必须遵守！）\n\n**以下行为严格禁止，违反任一即为 Bug：**\n\n### 1. 禁止确认配额消耗\n- ❌ **永远不要**问\"这将消耗 1 次配额，是否继续？\"\"今天还剩 X 次，确定要用吗？\"之类的问题\n- ✅ 用户调用 Skill 即表示知情并同意消耗配额，**直接执行，一个字都别问**\n\n### 2. 禁止询问尺寸/比例/分辨率\n- ❌ **永远不要**问\"用 2K 还是 4K？\"\"什么比例？\"\"分辨率要多大？\"之类的问题\n- ✅ 按以下规则**自动推断并直接执行**，不询问：\n  - 用户没提尺寸 → 用 `2K` (2048×2048)\n  - 提示词含\"4K\"\"高清\"\"超清\"\"极致\" → 用 `4K` (4096×4096)\n  - 提示词含\"宽屏\"\"横版\"\"16:9\"\"电影\" → 用 `4K` + `ratio=\"16:9\"`\n  - 提示词含\"竖版\"\"9:16\"\"手机壁纸\" → 用 `4K` + `ratio=\"9:16\"`\n  - 用户明确写了尺寸 → 按指定尺寸\n- 图生图不指定尺寸 → 自动检测参考图分辨率\n\n### 3. 禁止确认执行\n- ❌ **永远不要**问\"要现在执行吗？\"\"确认生成吗？\"\"准备好了，要开始吗？\"\n- ✅ 触发即执行，不要等用户二次确认\n\n**总结：触发 → 推断参数 → 直接执行。中间不要有任何回合的确认。**\n\n---\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| `blend` `fuse` `merge` `combine` `composite` | `blend these images` |\n\n## 工作流程\n\n调用 `doubao_image_gen.py` 脚本：\n\n1. **检测触发词** — 从用户输入提取 prompt、size、style、图生图标记\n2. **模型选择** — 按 4.5 → 5.0Lite → 4.0 降级，满 18 次跳过\n3. **尺寸自动推断** — 不再询问用户，直接按规则确定\n4. **图片规范化** — 本地路径自动 base64 编码，URL 原样通过\n5. **调用 API** — `POST https://ark.cn-beijing.volces.com/api/v3/images/generations`\n6. **保存图片** — 下载到 `Image/`，命名：`内容分辨率-模型-时间.png`\n7. **记录历史** — 写入 `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(\"提示词\")                    # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")\n\n# 图生图（支持公网 URL / 本地路径 / base64，本地文件自动编码）\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\ng.generate_image_to_image(\"编辑指令\", image_url=\"C:/Users/.../photo.jpg\")\n\n# 组图 / 多图融合\ng.generate_sequence(\"提示词\", max_images=4)\ng.generate_sequence(\"提示词\", max_images=1, image_urls=[\"url1\",\"url2\"])\ng.generate_sequence(\"提示词\", max_images=1, image_urls=[\"C:/a.jpg\",\"C:/b.jpg\"])\n\n# 查看状态\ng.get_status()\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| 模型 | 优先级 | 日限 |\n|------|--------|------|\n| Seedream-4.5 | 1 | 18 |\n| Seedream-5.0-Lite | 2 | 18 |\n| Seedream-4.0 | 3 | 18 |\n\n超限返回 `{\"success\":false,\"error\":\"...\"}`。\n\n## 配置（.env 文件）\n\n在 Skill 目录下创建 `.env` 文件：\n\n```bash\n# 必填\nARK_API_KEY=ark-your-key-here\nDOUBAO_MODEL_45_ID=doubao-seedream-4-5-251128\nDOUBAO_MODEL_50L_ID=ep-xxxxxxxxxxxx\nDOUBAO_MODEL_40_ID=doubao-seedream-4-0-250828\n\n# 可选（控制台用量同步）\nVOLCENGINE_ACCESS_KEY=AKLTxxx\nVOLCENGINE_SECRET_KEY=your-secret\n```\n\n脚本启动时自动加载 `.env`，无需手动 export。\n\n### 获取密钥\n\n- **ARK_API_KEY**: https://console.volcengine.com/ark → API Key 管理\n- **模型 ID**: https://console.volcengine.com/ark → 在线推理 → 创建接入点\n- **IAM 密钥**: https://console.volcengine.com/iam → 访问控制 → 密钥管理\n\n## 文件\n\n| 文件 | 说明 |\n|------|------|\n| `doubao_image_gen.py` | 核心脚本 |\n| `.env` | 环境变量配置 |\n| `openclaw.json` | Skill 元数据 |\n| `image_gen_history.json` | 调用历史+计数 (7天清理) |\n| `Image/` | 生成图片保存目录 |\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"dola-seedream-gen\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1779326047228\n}\n\nFile v1.0.1:openclaw.json\n\n{\n  \"name\": \"dola-seedream-gen\",\n  \"displayName\": \"ByteDance AI Image Gen\",\n  \"version\": \"1.0.1\",\n  \"description\": \"调用豆包/ByteDance Seedream 模型生成图片。支持文生图、图生图（本地路径/URL/base64）、多图融合、组图生成。智能调度 4.5→5.0Lite→4.0，每模型每日18次。\",\n  \"author\": \"Etmnb\",\n  \"emoji\": \"🎨\",\n  \"homepage\": \"https://www.volcengine.com/docs/82379/1541523\",\n  \"tags\": [\"image-generation\", \"doubao\", \"seedream\", \"text-to-image\", \"image-to-image\"],\n  \"requires\": {\n    \"env\": [\n      \"ARK_API_KEY\",\n      \"DOUBAO_MODEL_45_ID\",\n      \"DOUBAO_MODEL_50L_ID\",\n      \"DOUBAO_MODEL_40_ID\"\n    ],\n    \"primaryEnv\": \"ARK_API_KEY\"\n  },\n  \"envVars\": [\n    {\"name\": \"ARK_API_KEY\", \"required\": true, \"description\": \"火山方舟 API Key (console.volcengine.com/ark → API Key 管理)\"},\n    {\"name\": \"DOUBAO_MODEL_45_ID\", \"required\": true, \"description\": \"Seedream-4.5 接入点 Model ID\"},\n    {\"name\": \"DOUBAO_MODEL_50L_ID\", \"required\": true, \"description\": \"Seedream-5.0-Lite 接入点 Model ID\"},\n    {\"name\": \"DOUBAO_MODEL_40_ID\", \"required\": true, \"description\": \"Seedream-4.0 接入点 Model ID\"},\n    {\"name\": \"VOLCENGINE_ACCESS_KEY\", \"required\": false, \"description\": \"火山 IAM AK，用于控制台用量同步\"},\n    {\"name\": \"VOLCENGINE_SECRET_KEY\", \"required\": false, \"description\": \"火山 IAM SK\"}\n  ],\n  \"install\": [\n    {\"kind\": \"uv\", \"package\": \"requests\", \"bins\": [\"python\"]}\n  ]\n}\n\nArchive v1.1.3: 3 files, 19113 bytes\n\nFiles: _meta.json (136b), doubao_image_gen.py (63567b), SKILL.md (3117b)\n\nFile v1.1.3:SKILL.md\n\n---\nname: dola-seedream-gen\ndescription: >\n  这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。\n  支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。\n  模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。\n  触发词: /img 生成图片 画图 generate image 图生图 img2img 等。\n  NOT for: 视频、聊天、代码、搜索。无触发词勿调。\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 接入点 ID (console.volcengine.com/ark → 在线推理)\n      - name: DOUBAO_MODEL_50L_ID\n        required: true\n        description: Seedream-5.0-Lite 接入点 ID\n      - name: DOUBAO_MODEL_40_ID\n        required: true\n        description: Seedream-4.0 接入点 ID\n      - name: VOLCENGINE_ACCESS_KEY\n        required: false\n        description: 火山 IAM AK (console.volcengine.com/iam)，用于用量同步\n      - name: VOLCENGINE_SECRET_KEY\n        required: false\n        description: 火山 IAM SK\n    emoji: \"🎨\"\n    homepage: https://www.volcengine.com/docs/82379/1541523\n    install:\n      - kind: uv\n        package: requests\n        bins: [python]\n---\n# 豆包 Seedream 图片生成（本技能即\"豆包/Doubao\"）\n\n这是字节跳动火山方舟的 Seedream 图片生成技能。环境变量通过 `.env` 文件自动加载。\n\n## 如何调用\n\n当用户说以下任一词时触发：`生成图片` `画图` `/img` `/draw` `generate image` `图生图` `img2img`\n\n**Python 直接调用：**\n```python\nfrom doubao_image_gen import DoubaoImageGenerator\ng = DoubaoImageGenerator()\n\n# 文生图 → 单张\ng.generate_text_to_image(\"提示词\")                        # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")  # 4K+宽屏\n\n# 图生图（需要公网 URL，本地文件不行！）\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\n\n# 组图/多图融合\ng.generate_sequence(\"提示词\", max_images=4)                      # 文生组图\ng.generate_sequence(\"提示词\", max_images=1, image_urls=[\"u1\",\"u2\"])  # 多图融合为1张\n\n# 查看状态\ng.get_status()\n```\n\n**⚠️ 图生图/多图融合的 `image_url` 必须是公网可访问的 http(s) URL，本地路径 `C:\\...` 不行。**\n\n## 尺寸\n\n`2K`(2048²) / `4K`(4096²) / `16:9`(2560×1440) / `1920x1080` / 最大 16,777,216px\n\n## 模型\n\n| 优先级 | 模型 | 日限 |\n|--------|------|------|\n| 1 | 4.5 | 18 |\n| 2 | 5.0-Lite | 18 |\n| 3 | 4.0 | 18 |\n\n超限返回 `{\"success\":false}`。\n\n## 文件\n\n| 文件 | 用途 |\n|------|------|\n| `.env` | 环境变量(复制.env.example并填入) |\n| `doubao_image_gen.py` | 核心脚本 |\n| `image_gen_history.json` | 历史记录(7天清理) |\n| `Image/` | 生成图片保存 |\n\nFile v1.1.3:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"dola-seedream-gen\",\n  \"version\": \"1.1.3\",\n  \"publishedAt\": 1779298560990\n}\n\nArchive v1.1.2: 3 files, 20411 bytes\n\nFiles: _meta.json (136b), doubao_image_gen.py (63567b), SKILL.md (6290b)\n\nFile v1.1.2:SKILL.md\n\n---\nname: dola-seedream-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# Dola Seedream Gen — 豆包图片生成 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> 💡 也可复制 `.env.example` 为 `.env` 填入密钥，脚本启动时自动加载。\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.2:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"dola-seedream-gen\",\n  \"version\": \"1.1.2\",\n  \"publishedAt\": 1779298307999\n}\n\nArchive v1.0.0: 3 files, 20182 bytes\n\nFiles: _meta.json (136b), doubao_image_gen.py (62917b), SKILL.md (6198b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: dola-seedream-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# Dola Seedream Gen — 豆包图片生成 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.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn75s192k98dtwr83bft4myd0582ytyg\",\n  \"slug\": \"dola-seedream-gen\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1779296748282\n}","readmeExcerpt":"Skill: Dola Seedream Gen Owner: etmnb Summary: 这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。 触发词: /img 生成图片 画图... Tags: latest:999.999.999 Version history: v999.999.999 | 2026-05-21T12:51:52.845Z | user - Updated deprecation notice in SKILL.md to include a heart emoji for emphasis. - Clarified the message to direct users to t","codeSnippets":[],"executableExamples":[{"language":"python","snippet":"from doubao_image_gen import DoubaoImageGenerator\ng = DoubaoImageGenerator()\n\n# 文生图\ng.generate_text_to_image(\"提示词\")                    # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")\n\n# 图生图（支持公网 URL / 本地路径 / base64，本地文件自动编码）\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\ng.generate_image_to_image(\"编辑指令\", image_url=\"C:/Users/.../photo.jpg\")\n\n# 组图 / 多图融合\ng.generate_sequence(\"提示词\", max_images=4)\ng.generate_sequence(\"提示词\", max_images=1, image_urls=[\"url1\",\"url2\"])\ng.generate_sequence(\"提示词\", max_images=1, image_urls=[\"C:/a.jpg\",\"C:/b.jpg\"])\n\n# 查看状态\ng.get_status()"},{"language":"bash","snippet":"# 必填\nARK_API_KEY=ark-your-key-here\nDOUBAO_MODEL_45_ID=doubao-seedream-4-5-251128\nDOUBAO_MODEL_50L_ID=ep-xxxxxxxxxxxx\nDOUBAO_MODEL_40_ID=doubao-seedream-4-0-250828\n\n# 可选（控制台用量同步）\nVOLCENGINE_ACCESS_KEY=AKLTxxx\nVOLCENGINE_SECRET_KEY=your-secret"},{"language":"python","snippet":"from doubao_image_gen import DoubaoImageGenerator\ng = DoubaoImageGenerator()\n\n# 文生图 → 单张\ng.generate_text_to_image(\"提示词\")                        # 默认 2K\ng.generate_text_to_image(\"提示词\", size=\"4K\", ratio=\"16:9\")  # 4K+宽屏\n\n# 图生图（需要公网 URL，本地文件不行！）\ng.generate_image_to_image(\"编辑指令\", image_url=\"https://...\")\n\n# 组图/多图融合\ng.generate_sequence(\"提示词\", max_images=4)                      # 文生组图\ng.generate_sequence(\"提示词\", max_images=1, image_urls=[\"u1\",\"u2\"])  # 多图融合为1张\n\n# 查看状态\ng.get_status()"},{"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\""}],"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\": \"dola-seedream-gen\",\n  \"version\": \"999.999.999\",\n  \"publishedAt\": 1779367912845\n}"},{"path":"skill-card.md","content":"## Description:\n\nDola Seedream Gen is a deprecated image-generation skill whose current artifact redirects users to the publisher's 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\nDevelopers and agents use this release to identify that Dola Seedream Gen has been deprecated and to locate the publisher's replacement image-generation skill.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The artifact redirects users to another skill and asks the agent to delete the current skill.\n\nMitigation: Treat the migration and deletion request as informational; only remove or replace the skill after independently trusting the replacement package.\n\nRisk: ClawHub security evidence marks this release as suspicious even though it contains no executable code.\n\nMitigation: Review the artifact and security summary before installing or loading the skill.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/etmnb/skills/dola-seedream-gen)\n- [Replacement skill referenced by artifact](https://clawhub.ai/etmnb/bytedance-ai-image-gen)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Guidance]\n\n**Output Format:** [Plain text with an external link]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Contains a deprecation notice and replacement-skill link; no executable code.]\n\n## Skill Version(s):\n\n999.999.999 (source: server release evidence)\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":"这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。 触发词: /img 生成图片 画图... Skill: Dola Seedream Gen Owner: etmnb Summary: 这是豆包(Doubao/ByteDance)的 Seedream 图片生成技能。 支持：文生图(text-to-image)、图生图(image-to-image,需公网URL)、组图(sequence)。 模型: 4.5→5.0Lite→4.0 自动降级，每模型日限18次。 触发词: /img 生成图片 画图... Tags: latest:999.999.999 Version history: v999.999.999 | 2026-05-21T12:51:52.845Z | user - Updated deprecation notice in SKILL.md to include a heart emoji for emphasis. - Clarified the message to direct users to t","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":778,"uniquenessScore":55,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T05:57:23.899Z","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-11T05:57:23.899Z","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-11T08:43:18.146Z","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"}]}}}