github / github/copilot-cli

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

Đang mở
#4,581 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Issue không nêu tên các tệp triển khai, bài kiểm thử hoặc điểm vào nào; hãy bắt đầu bằng việc xác định khả năng đọc hình ảnh hiện có của CLI và phần tích hợp thanh toán dựa trên mức sử dụng. Xác định cách một yêu cầu tạo hình ảnh được gọi, tính phí và ghi vào thư mục dự án, sau đó xác minh rằng các tài sản dành cho nhà phát triển như biểu tượng, favicon, logo và hình ảnh OG được tạo tại các đường dẫn được yêu cầu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
ai, cli
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.