← Back to Skills Marketplace
laozhangai

AI大图生成器-by Digilifeform

by blair · GitHub ↗ · v1.1.5 · MIT-0
cross-platform ✓ Security Clean
175
Downloads
0
Stars
0
Active Installs
11
Versions
Install in OpenClaw
/install datu-ai-poster-generator
Description
根据用户文案或上传文件,生成16:9或21:9比例的4K或8K高清信息海报,并支持AI智能修图优化。
README (SKILL.md)

Digilifeform AI 大图生成器

触发词

当用户提到以下任一意图时,应优先使用本技能:

  • “生成大图”
  • “大图生成”
  • “海报生成”
  • “信息海报”
  • “文档转海报”
  • “继续修图”
  • “AI 修图”
  • “datu”
  • “datu-ai”

技能用途

把文本、文档或已有图片转换为高质量信息海报,并支持继续修图。

当前能力包括:

  • 文本生成大图
  • 文件上传生成大图
  • 深度研究生成:先进行全网深度抓取与分析,再生成大图
  • AI 修图 / 继续修图
  • 比例支持:16:921:99:169:21
  • 清晰度支持:4k

调用原则

  1. 先确认用户是要“生成大图”还是“修图”。
  2. 只确认必要参数:比例、清晰度、magic_wanddeep_researchmagic_think
  3. 使用本技能提供的 Datu API,不要替换成其他图像工具。
  4. 先执行上传前安全检查;敏感信息检查通过后,再保真提交用户资料,不要用摘要替代原文。

强约束

对于大图生成,外层代理必须遵守以下规则:

  • magic_wand=true 时,敏感信息检查通过后,不要先做摘要、提炼、压缩、重写或“整理版 Prompt”
  • deep_research=true 只能在用户明确选择或确认后启用;深度研究会全网深度抓取并分析,通常需要额外 5-15 分钟,并额外消耗 5 积分
  • 如果用户选择深度研究,最终结果不仅要给出图片,还要在任务返回 research_report_download_url 时下载或提供深度研究报告文件
  • 对普通业务资料,完成上传前安全检查后,应把用户给的原始信息直接交给大图技能
  • 不要把风险控制理解为默认摘要;风险控制是发现敏感或受限内容时先提醒并取得明确授权
  • 不要先把文件内容总结成几条要点后,再替代原文件或原文提交
  • 如果比例、清晰度、magic_wand 都已明确,就直接创建任务,不要额外输出“整理后的执行方案”让用户确认
  • 本技能内部已经负责信息提炼、结构整理和设计化 Prompt 生成,外层代理不要重复处理
  • magic_wand=false 时也不要改写用户输入,应直接传递用户给出的原始信息

上传前安全检查

所有文本、文件、图片 URL 或参考图在提交到 https://datu.digilifeform.com 前,都应先做一次轻量敏感信息检查。以下内容如果明显出现,不应跳过确认上传到外部服务,而应先提醒并获得用户明确授权:

  • API Key、密码、访问令牌、私钥、Cookie、数据库连接串
  • 身份证号、银行卡号、医疗记录、精确住址等高敏个人信息
  • 受监管、受合同限制或公司内部禁止外发的数据

说明:

  • 这不是要求先把内容摘要后再传
  • 对普通业务资料,敏感信息检查通过后仍应按本技能规则直接传用户给出的原始信息
  • 对高风险资料,正确做法是“先提示风险,再让用户决定”
  • 如果用户不确认,应停止上传,或请用户提供脱敏版本

大图生成

文本生成

接口:

POST /api/datu/create

请求体:

{
  "text": "用户提供的完整信息",
  "aspect_ratio": "16:9",
  "resolution": "4k",
  "magic_wand": true,
  "deep_research": false
}

字段说明:

  • text: 必填,最短支持 2 个字符
  • aspect_ratio: 16:9 / 21:9 / 9:16 / 9:21
  • resolution: 4k
  • magic_wand: 默认 true
  • deep_research: 默认 false。只能在用户明确选择或确认后设为 true。设为 true 时,Datu 会先进行全网深度抓取与分析,再生成大图;这会额外增加约 5-15 分钟,并额外消耗 5 积分

注意:

  • magic_wand=true 不等于外层代理先提炼资料
  • 应保留用户给出的原始信息,让 Datu 内部流程自己做信息提炼
  • deep_research=true 会强制使用 magic_wand=true
  • deep_research=true 只能在用户明确选择或确认后启用
  • 规则摘要:deep_research=true 只能在用户明确选择或确认后启用
  • 如果用户选择深度研究,任务完成后除图片外,还应检查并返回深度研究报告文件

深度研究请求示例:

{
  "text": "请基于以下完整资料先做全网深度研究,再生成一张行业趋势信息海报:......",
  "aspect_ratio": "16:9",
  "resolution": "4k",
  "magic_wand": true,
  "deep_research": true
}

文件生成

接口:

POST /api/datu/create-from-file

请求格式:multipart/form-data

字段:

  • file
  • aspect_ratio
  • resolution
  • magic_wand
  • deep_research

支持上传:

  • pdf
  • doc
  • docx
  • txt
  • md
  • markdown
  • png
  • jpg
  • jpeg
  • webp
  • gif

限制:

  • 单文件最大 20MB
  • 不要由外层代理先读取后压缩、整理或摘要用户信息再提交
  • deep_research=true 时同样提交原始文件,由 Datu 内部解析、研究、整理和生成

AI 修图

接口:

POST /api/edit/create

请求体:

{
  "image": "https://cdn.example.com/original.png",
  "annotated_image": "",
  "ref_images": [],
  "prompt": "把顶部主标题做得更醒目,整体改成深蓝金科技风",
  "magic_think": true,
  "aspect_ratio": "9:16",
  "resolution": "4k",
  "parent_task_id": null
}

字段说明:

  • image: 必填,原图 URL
  • annotated_image: 可选,标注图 URL
  • ref_images: 可选,最多 4 张
  • prompt: 必填,最短 2 个字符
  • magic_think: 默认 true
  • aspect_ratio: 16:9 / 21:9 / 9:16 / 9:21
  • resolution: 4k

说明:当前版本已取消新建 8K 任务,不要再传 resolution=8k

状态查询

大图状态:

GET /api/datu/status/{task_id}

如果用户选择深度研究,状态或任务详情中可能包含:

{
  "image_url": "https://cdn.example.com/datu/final.png",
  "download_url": "/api/tasks/DT1234567890/download",
  "research_report_download_url": "/api/tasks/DT1234567890/research-report-link"
}

遇到 research_report_download_url 时,应再请求:

GET /api/tasks/{task_id}/research-report-link

返回值中的 download_url 是短期有效的 Word .docx 报告下载地址。执行时应下载深度研究报告。最终回复用户时,如果用户选择深度研究,应同时给出图片结果和研究报告文件;报告文件建议命名为 research-report-{task_id}.docx

修图状态:

GET /api/edit/status/{task_id}

认证方式

本技能需要一个用户自行创建并控制的 Datu API Key。推荐在运行环境中配置:

DATU_API_KEY=your_api_key_here

所有请求都使用:

X-API-Key: your_api_key_here

基础地址:

https://datu.digilifeform.com

隐私提示:

  • 本技能会把文本、文件或图片发送到 https://datu.digilifeform.com 外部服务
  • 使用前应确认用户接受该外发行为

关键行为说明

  • 大图生成支持 magic_wand 主流程开关,默认开启
  • 大图生成支持 deep_research 深度研究开关;开启后结果应包含图片和 Word .docx 深度研究报告文件
  • 修图保留 magic_think,与大图主开关分离
  • 9:169:21 已作为正式比例支持
  • 系统会统一为最终图像 Prompt 补充 4K 高清质量要求
  • 4k 生图 / 改图默认优先走新的高质量链路,失败时自动回退

新版本提醒

  • 用户正常使用大图技能后,可以顺手检查 GET /api/skill/version
  • 版本检查应低频进行,同一会话或同一用户 24 小时最多检查一次
  • 如果发现当前技能版本低于最新版本,只在回复末尾顺手提醒一句,不打断主流程
  • 如果版本接口失败,静默跳过,不影响本次任务

推荐提醒文案:

检测到 Datu 大图技能有新版本 vX.Y.Z,建议在 ClawHub 更新后继续使用。

推荐用法

适合开启 magic_wand

  • 用户给的是长文、政策、方案、介绍材料
  • 需要系统自动梳理信息结构
  • 需要更强的版式设计感
  • 这类场景尤其不要提前替用户总结,应该把用户给出的原始信息交给系统

适合开启 deep_research

  • 用户明确要求“深度研究”“全网研究”“先调研再生成”
  • 用户给的是行业分析、政策解读、产品发布、市场洞察、趋势报告等需要补充背景资料的内容
  • 用户可以接受额外 5-15 分钟等待时间和额外 5 积分成本
  • 开启后,除了图片结果,还要返回深度研究报告文件

适合关闭 magic_wand

  • 用户已经写好了完整 Prompt
  • 用户明确要求“不要改写,只按我的 Prompt 生成”
  • 需要快速验证一个简短创意方向

常见错误

错误 1:用其他图像工具替代

错误:

用户要 Datu 大图,却改用其他生图工具直接生成

正确:

使用 /api/datu/create 或 /api/datu/create-from-file

错误 2:把 magic_think 当成大图生成开关

错误:

大图生成时发送 magic_think

正确:

大图生成用 magic_wand,修图才用 magic_think

错误 3:忽略竖版比例

错误:

把所有非 21:9 的请求都当成 16:9,或忽略用户明确选择的 9:16 / 9:21

正确:

保留用户明确选择的 9:16 / 9:21

错误 4:先替用户做摘要再交给大图技能

错误:

用户给了一整段资料或一个文件,外层代理先整理成几条 bullet,再把这个缩写版发给 Datu

正确:

magic_wand=true 时,先做上传前安全检查;通过后不要压缩整理摘要总结用户信息,而是保真提交给大图技能

错误 5:看到敏感数据仍绕过确认上传

错误:

识别到文档中有密钥、身份证号或受限信息,但未提醒用户确认就提交到外部 API

正确:

先提醒风险并取得明确授权;用户不确认时停止上传或请用户提供脱敏版本

错误 6:深度研究后只给图片不给报告

错误:

用户选择了 deep_research=true,但最终只返回图片链接,忽略 research_report_download_url

正确:

如果用户选择深度研究,任务完成后同时提供图片和 Word `.docx` 深度研究报告文件

\r

Usage Guidance
This skill appears to do what it says: it will send user text/files/images to https://datu.digilifeform.com and requires a DATU_API_KEY to authenticate. Before installing/using: 1) Confirm whether your environment or the registry will actually require you to supply DATU_API_KEY (manifest says yes; the top registry summary was inconsistent). 2) Understand that using deep_research triggers full-web crawling/analysis and will upload the user's original content to an external service and consume extra credits/time—only enable it with explicit user consent. 3) Never send secrets: follow the SKILL.md advice to detect API keys, passwords, private keys, cookies, DB connection strings, sensitive PII, or contract-restricted materials and obtain explicit user authorization or a redacted version before uploading. 4) Test the workflow with non-sensitive data first, review the provider privacy policy (https://datu.digilifeform.com/privacy), and make sure the DATU_API_KEY is stored securely (not in public code). If you need higher assurance, ask for proof of the vendor/service identity (e.g., official docs or a corporate homepage) because the skill's 'Source: unknown' / homepage/registry metadata should be validated.
Capability Analysis
Type: OpenClaw Skill Name: datu-ai-poster-generator Version: 1.1.5 The skill bundle facilitates poster generation by calling the Datu AI API (datu.digilifeform.com). It includes explicit instructions in SKILL.md for the agent to perform 'pre-upload security checks' to detect sensitive information (PII, API keys) and seek user consent before transmission. While it mandates sending original, un-summarized content to the external service for quality purposes, this behavior is transparently documented and aligned with the stated functionality. No malicious code, obfuscation, or unauthorized exfiltration was found.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The name, description, manifest.json, README.md and SKILL.md all consistently describe sending user text/files/images to https://datu.digilifeform.com for 4K/8K poster generation, optional deep research (web crawling) and AI retouching. The required API key (DATU_API_KEY) and X-API-Key header are consistent with an external API integration and are proportionate to the stated functionality.
Instruction Scope
SKILL.md gives concrete HTTP endpoints and fields and explicitly instructs the agent to: perform an upload-pre safety check, then submit the user's original content (no pre-summary) to the external API, and if deep_research is used, to download a .docx research report. These instructions stay within the skill's purpose but have two important implications: 1) user data (potentially large or sensitive) will be uploaded to an external service; 2) deep_research triggers '全网深度抓取' (full-web crawling/analysis) which is a higher-risk network action and should only run with clear user consent (the doc instructs this).
Install Mechanism
This is an instruction-only skill with no install spec and no code files to execute; nothing is written to disk or fetched at install-time. That lowers install-time risk.
Credentials
manifest.json and SECURITY.md state that DATU_API_KEY is required and is the primary credential; that is proportionate. However, the registry summary at the top of the package metadata (provided to the evaluator) lists 'Required env vars: none' which contradicts the manifest and SKILL.md. Verify whether the platform will require configuring DATU_API_KEY before use. No other unrelated credentials or config paths are requested.
Persistence & Privilege
The skill does not request elevated or persistent platform privileges (always:false). It does instruct the agent to download report files and to call external endpoints, which is normal for this integration and limited in scope to the skill's purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install datu-ai-poster-generator
  3. After installation, invoke the skill by name or use /datu-ai-poster-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.5
Version 1.1.5 - 增加了上传前安全检查要求,所有文本、文件或图片需先检测敏感信息,通过后方可上传。 - 明确了风险控制流程:发现敏感内容时需先提醒用户,并明确获得授权后才可提交,不能当成默认摘要或跳过提醒。 - deep_research 模式现在只能在用户明确选择或确认后启用,非默认流程。 - 强化了业务资料上传规则:通过敏感信息检查后,仍必须保真传递原始内容,不可自动摘要或改写。 - 补充认证说明,要求用户自配 API Key 并在环境变量中配置。 - 修正部分术语表述,使敏感信息与摘要处理的区别更为清楚。
v1.1.4
- 深度研究报告格式由 Markdown `.md` 改为 Word `.docx`,相关接口说明和文件命名同步更新 - 文档中所有深度研究报告相关内容已调整为 `.docx` 格式 - 无其他功能和接口变动
v1.1.3
Version 1.1.3 - 新增 deep_research 深度研究能力:可先全网抓取和分析资料再生成大图,并返回 Markdown 研究报告文件。 - API 接口增加 deep_research 字段,相关参数和返回流程详细说明。 - 更新调用原则,明确深度研究流程和用户内容、报告处理要求。 - 增加深度研究正确/错误用法说明,常见错误类型新增 “深度研究后只给图片不给报告”。 - 文档说明同步更新,适用场景、限制及新行为说明。
v1.1.2
- 新增版本更新提醒:每次使用技能后可低频检查新版本,并在回复末尾提示用户(不打断主流程) - SKILL.md 更新,详细说明了新版本检查机制与推荐提示文案 - 其他文档(如 README、CHANGELOG、manifest)同步维护,无破坏性修改
v1.1.1
Version 1.1.1 - 增加了“敏感数据例外”说明,明确识别密钥、个人敏感信息等时需先获得用户同意,不应默认外发。 - 调整和简化部分流程描述,强调“直接交付原始内容”原则。 - 新增隐私提示:技能会将资料发送到外部服务,需用户接受。 - 补充常见错误示例,覆盖敏感数据处理场景。 - 文档结构略优化,提升可读性。
v1.1.0
**重大更新:严格限制调用方式,新增参数与大比例支持,修订外层代理行为规范。** - 明确“magic_wand”与“magic_think”参数用途,分别用于大图生成和修图流程。 - 正式支持 9:16 画面比例,新增比例选项说明。 - 强化外层代理约束:生成/修图时均需无损直传完整用户原文或文件,严禁先行摘要、整理或压缩用户输入。 - 更新并精简了技能触发词与调用流程,突出参数确认与流程指引。 - 明确高质量默认流程与失败时的自动回退机制。 - 调整和补充了常见错误警示及推荐用法说明。
v1.0.4
No user-facing changes in this version; documentation remains unchanged.
v1.0.3
- 修正“轮询查询状态”API请求示例中的请求头,从 "Authorization: Bearer YOUR_TOKEN" 改为 "X-API-Key: YOUR_API_KEY" - 其余内容无变化
v1.0.2
- 认证方式由 API Token 更名为 API Key,环境变量名称同步更新(DATU_API_KEY)。 - API 请求头要求由 Authorization: Bearer 改为 X-API-Key。 - 文档中所有示例和参数说明对应调整为新格式。 - 其余功能和使用流程未变。
v1.0.1
- Added SECURITY.md to provide security and privacy policy information. - Expanded documentation with dedicated sections on authentication, API token management, and user data privacy. - Clarified API usage requires obtaining and configuring a Digilifeform API token. - Included data handling practices and recommendations for handling sensitive information. - No changes to existing API endpoints or core functionality.
v1.0.0
Digilifeform AI大图生成器 1.0.0 初始版本发布 - 支持文案与多种文件格式(PDF、Word、图片等)一键生成4K/8K高清信息海报 - 提供多比例(16:9、21:9等)与多清晰度选择 - 内置AI修图和海报优化流程 - 指定唯一API端点,严格禁止调用其他图像生成工具 - 详细请求参数、API用法、场景说明与常见错误规避指引
Metadata
Slug datu-ai-poster-generator
Version 1.1.5
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 11
Frequently Asked Questions

What is AI大图生成器-by Digilifeform?

根据用户文案或上传文件,生成16:9或21:9比例的4K或8K高清信息海报,并支持AI智能修图优化。 It is an AI Agent Skill for Claude Code / OpenClaw, with 175 downloads so far.

How do I install AI大图生成器-by Digilifeform?

Run "/install datu-ai-poster-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AI大图生成器-by Digilifeform free?

Yes, AI大图生成器-by Digilifeform is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does AI大图生成器-by Digilifeform support?

AI大图生成器-by Digilifeform is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AI大图生成器-by Digilifeform?

It is built and maintained by blair (@laozhangai); the current version is v1.1.5.

💬 Comments