makecindy / makecindy/cindy

Cindy AI 图像生成不可用:模型目录缺少图像模型(gpt-image/gemini)

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

Description

**提交人**: 彭乙峰
**客户端版本**: 0.1.38

---

## 现象
ai-art 能力文档声称支持 gpt-image-2 / gemini 生图,但调用 Art 插件 gen_image 时失败。

## 实际行为
- 未指定模型:`主机当前没有可用的图像模型(模型目录暂时取不到,不是本插件缺图像能力)`
- 指定 openai/gpt-image-2:`出图失败:Codex 返回中没有图片,请重试或改用 OpenAI Platform API key`

## 复现步骤
1. Cindy 模型供应商开启 Cindy AI(xd) + OpenAI
2. 调用 cindy-art 插件 gen_image(prompt: 像素游戏角色)
3. 返回上述错误

## 本地诊断
- 模型目录缓存 `Cache/model-catalog/*.json` 中完全没有任何图像生成模型:gpt-image、dall-e、imagen、nano-banana 均 0 命中,仅有文本/编码模型(gpt、claude、grok、qwen、deepseek、kimi、glm、gemini-3.x 文本版)
- `model-pricing.json` 也仅含文本模型
- 网络连通正常:api.laxa.com、model-access.cindy.com.cn 均可访问
- provider-order-prefs 含 xd 和 openai,但 openai 无 API key

## 期望行为
在 Cindy AI 套餐下,`gen_image` 应能直接出图(gpt-image-2 / gemini),无需额外配置 OpenAI Platform API key。请核查模型目录为何未包含图像模型,以及套餐是否应覆盖图像生成能力。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start with the model-catalog cache under Cache/model-catalog/*.json and model-pricing.json, then trace how the cindy-art gen_image entry point selects models for Cindy AI and OpenAI. Check whether the provider catalog exposes image models and how plan coverage is represented. Done means the expected image models are discoverable and gen_image works with Cindy AI without an OpenAI Platform API key, or the limitation is clearly reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, api, backend
Issue type
Bug
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.