dreamina-canvas-cli-text2image
Skill4 starsChanged 58 days agoApache-2.0View on GitHub
当用户要求即梦画布文生图时使用;仅负责 t2i 模式的输入、参数校验、草稿与场景验收,公共画布素材、付费运行和恢复由 dreamina-canvas-cli 维护。
In this repository36 other files it gives its agents.
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- dreamina-3d-auto-seedanceSkill
- dreamina-3d-from-blenderSkill
- dreamina-3d-from-mayaSkill
- dreamina-3d-jimeng-webSkill
- dreamina-3d-resumeSkill
- dreamina-3d-useSkill
- dreamina-canvas-cli-authSkill
- dreamina-canvas-cli-image2imageSkill
- dreamina-canvas-cli-ref2videoSkill
- dreamina-canvas-cli-setupSkill
- dreamina-canvas-cliSkill
- dreamina-canvas-cli-text2audioSkill
- dreamina-canvas-cli-text2videoSkill
- dreamina-canvas-cli-text2voiceSkill
- dreamina-canvas-useSkill
- dreamina-cli-image2imageSkill
- dreamina-cli-image2videoSkill
- dreamina-cliSkill
- dreamina-cli-text2imageSkill
- dreamina-cli-text2videoSkill
- dreamina-design-useSkill
- dreamina-opencli-image2imageSkill
- dreamina-opencli-image2videoSkill
- dreamina-opencli-text2imageSkill
- dreamina-opencli-text2videoSkill
- dreamina-prompt-image2imageSkill
- dreamina-prompt-image2videoSkill
- dreamina-prompt-text2imageSkill
- dreamina-prompt-text2videoSkill
- dreamina-shot-annotatorSkill
- dreamina-video-evaluatorSkill
- dreamina-video-productionSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Never persist tokens, cookies or signed URLs;恢复只保留非敏感身份。
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
即梦画布文生图
When to use
仅处理 文生图。输入:文字提示词;不接受图像/Element/图片资源引用。
提示词尚未确定时交给 dreamina-prompt-text2image;不能未经用户要求改写最终提示词。
Sunset notice:本技能替代旧 dreamina CLI 的对应生成路径。
操作契约
| 项目 | 标准 |
| 输入与前置 | 用户确认的提示词、当前模型规格、projectId 及模式所需参考 |
| 副作用 | 不带 --run 的节点写入保存草稿;付费执行走公共 execution 操作 |
| 输出交接 | 返回的 nodeId 与 projectId;生成后另附 submitId 和校验后的资源 |
| 恢复规则 | 恢复使用原 submitId;只有明确 absent + resubmittable 才按原身份恢复提交 |
Workflow
Step 1:复用 dreamina-canvas-cli 的公共调用契约和已确认 projectId;缺少安装或登录时按名称交给 setup/auth 技能。
Step 2:从当前模型/音色查询结果校验模式参数,读取 参数规范。不套用旧 CLI 的 model_version、resolution_type 或 poll。
Step 3:保存草稿,记录返回的 nodeId;修改已有节点时先读取当前状态,完整替换生成参数和引用,元数据才是稀疏更新。
dreamina-canvas --format json node create image --project-id <projectId> \
--prompt "<prompt>" --mode t2i --model <model> --ratio <ratio> --resolution <resolution> --count <count>Step 4:需要生成时交给 dreamina-canvas-cli 的 execution 操作:node quote → node confirm → node run。提交前记录稳定 submitId;任务技能不自行批准预算。
Step 5:交给同一公共技能查询恢复与下载校验,核对本模式的实际产物。超时不换 submitId 重提。
Rules
- 占位参数必须替换为当前 CLI 返回或用户确认的值;草稿命令不加 --run。
- 不混用其他模式的必填项,批量上限从模型能力查询。
- Never persist tokens, cookies or signed URLs;恢复只保留非敏感身份。
- 缺少配套技能时安装:
npx skills add full-aigc-skills/dreamina-skills --skill <skill-name>。
Progressive disclosure(按需读取)
- 需要逐 flag 的必填/取值/冲突规则时,读取 参数规范。
- 需要从当前 discovery 结果选模型、比例、分辨率或时长时,读取 模型或音色选择。
- 需要批量、异步、多项目、迭代等成段工作流时,读取 常用场景组合。
- 遇到超时、部分成功或恢复场景时,读取 异常处理。
- 交付前自检时,读取 验收清单。
- 首次运行看 成功场景;批量/异步/多项目/拒绝越权/失败恢复样例见
examples/目录。
Validation checklist
- 输入与 t2i 模式一致,参数经过实时发现。
- 返回的 projectId、nodeId 与 submitId 正确交接,不能将受理视为完成。
- 输出终态成功,下载后校验媒体类型、字节数和 SHA-256。
Gotchas
- 节点生成编辑是 full replace,不能丢失原有引用。
- 登录状态、计费权限与生成成功是不同检查。
- 只生成用户要求的数量,不自动追加尝试。
不适用与边界
不适用于带图片参考的编辑,改用 image2image。只要求提示词时交给 dreamina-prompt-text2image;已有 submitId 时走公共恢复流程,不重建文生图任务。
只读取当前操作必要的账户与素材信息;不存储、记录或输出访问令牌、cookie 和临时签名链接。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

