github / github/copilot-cli

Support image generation for developer assets (icons, favicons, logos, OG images)

未关闭
#4,581 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

triage
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Describe the feature or problem you'd like to solve

Copilot CLI can read images but cannot produce them. Building any web page, desktop app,
or mobile app needs visual assets that aren't code — app icons at every required size,
favicon.ico, Open Graph preview images, splash screens, placeholder art.

Copilot CLI can scaffold the whole project and write the manifest that references
icon-512.png, but it can't create that file. The developer has to leave the terminal,
generate the asset elsewhere, and come back. That happens on nearly every new project.

To be clear on direction: the deliverable is a file written into the project
directory
, not an image displayed in the terminal.

Why now — billing is usage-based. Since 1 June 2026 Copilot meters usage through AI
Credits (1 credit = $0.01). Image generation is a paid capability and I'd expect to pay
for it per use, charged at its own rate rather than the one designed for text.

Additional context

OpenAI's Codex CLI already ships this as a bundled first-party skill (imagegen) backed
by a built-in image_gen tool, scoped to "website assets, game assets, UI mockups,
product mockups, wireframes, logo design," with a policy that project-bound assets get
written into the workspace rather than left in the tool's default directory.

Also requested for VS Code:
microsoft/vscode#266055.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

该 issue 未指明实现文件、测试或入口点;请先定位 CLI 现有的图像读取能力以及基于用量的计费集成。明确图像生成请求的调用、计费和写入项目目录的方式,然后验证图标、favicon、logo 和 OG 图像等开发者资源是否会生成到请求的路径。

由索引模型根据 Issue 内容生成。

评估

领域
ai, cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。