OpenParable
Skip to content
← Back to skills

Interactive Image

Documents
interactive-image

Interactive Image is an Agent Skill for documents published in the alfredxw/denova repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

为互动故事已发生的回合生成一张互动图像。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/alfredxw/denova/blob/HEAD/skills/interactive-image/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/interactive-image, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

互动图像

当调用方的 purpose 是 interactive_image 时使用这个 Skill。

工作流程

  1. 只基于 source_context 中已经发生的互动故事内容生成图像提示词。
  2. 选择当前回合里最有画面感、最能代表当前局面的瞬间;不要透露未来剧情、隐藏身份或未揭示设定。
  3. 如果调用方提供了图像方案预设,把它作为视觉倾向整合进图像提示词。
  4. 用中文写完整图像提示词,包含主体、场景、构图、光线、情绪和视觉风格,并明确避免文字、水印和 logo。
  5. 调用 generate_image,参数要求:
    • purpose 填 interactive_image。
    • story_id、branch_id、turn_id 必须原样填写调用方提供的值。
    • prompt 填完整中文图像提示词。
    • alt_text 使用调用方提供的值;没有时写一条简短中文描述。
    • size 可按画面需要从工具支持的 2K/3K/4K 尺寸中选择;不确定时留空。
    • output_format 只能填 png 或 jpeg;不确定时留空。
  6. 工具返回后,只简要说明生成结果,不要继续推进剧情。

约束

  • 每次只生成一张互动图像。
  • 不要生成批量候选。
  • 不要修改故事正文、章节、资料库或任何配置。
  • 不要把图像 Markdown 插入叙事文本。