Skip to content

功能请求:让 image_generate 工具可以接收已有图片作为参考,支持 GPT(Codex)和 Grok 订阅的图片编辑请求。 #72

Description

@pan17

动机
现在只能文生图,无法迭代式编辑一张已经生成的图。
不能基于上传图片或 read_image 的结果进行编辑。
用户因此只能反复手动调整提示词,成本高。

建议设计
在 image_generate 工具上增加可选参数 referenceImages,数组里放完整的图片引用,可参考dsh-codex-subscription插件

Image

行为:
不传引用 → 保持现在的文生图行为。
传1–5 张引用 → 走编辑请求。
编辑端点协议可参考:codex images.rsxAI Imagine Image Editing
具体行为可参考插件https://github.com/WSL043/dsh-codex-subscription#readme

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions