makecindy / makecindy/cindy

[产品需求] Art 生成图片下方显示实际供应商与额度来源

Open
#1,838 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

## Context

Art 生成图片后,目前图片下方只显示模型展示名,例如「GPT Image 2」。但不同执行通道可能使用相同的展示名:

- `gpt-image-2`:XD / Cindy 积分通道
- `openai/gpt-image-2`:OpenAI 通道,可能使用 Codex / ChatGPT 订阅或 OpenAI Platform API Key

用户无法从结果卡片判断本次生成实际使用了哪个供应商、消耗哪一侧额度。例如 Cindy 积分为 0 时仍能通过本地 Codex 订阅生成图片,会让用户误以为积分校验失效。

Host 的生成结果已经返回实际 `model` 和 `modelLabel`,但 Art 图片卡片目前只展示 `modelLabel`。

## Expected behavior

在 Art 生成图片的下方标注区域,展示本次实际执行的模型来源和额度来源,而不只是模型展示名。

示例:

- `GPT Image 2 · Cindy AI 积分`
- `GPT Image 2 · OpenAI / Codex 订阅`
- `GPT Image 2 · OpenAI API`

文案应以 Host 实际执行结果为准,不由插件根据默认配置猜测。

## Acceptance criteria

- [ ] 图片结果下方能够区分 XD `gpt-image-2` 与 OpenAI `openai/gpt-image-2`
- [ ] 展示内容来自实际执行通道,切换模型或供应商后同步变化
- [ ] OpenAI 通道能够在可判断时区分 Codex / ChatGPT 订阅与 Platform API Key
- [ ] 不改变现有模型选择、计费和失败回退逻辑
- [ ] 不影响图片预览、下载和画廊交互

## Project state

- Status: 待评估
- Owner: 待认领
- Priority: TBD
- Next: 确认展示文案,并补充 Host 返回的执行来源字段与 Art 卡片展示

Contributor guide

Open the contributing guide

Research direction

Start at the Art image result card and trace the Host generation-result payload, which already exposes model and modelLabel; identify where execution-source data is absent or discarded. Confirm the source and credit labels for XD, OpenAI subscription, and Platform API cases, then verify the acceptance criteria without changing selection, billing, fallback, preview, download, or gallery behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.