makecindy / makecindy/cindy

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

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

Description

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

---

## 关键补充
用户确认:Claude Code / Codex agent(Cindy AI 内置)自己在别的场景**可以生成图片**(多模态能力正常)。

但 Art 插件的 `gen_image`(独立图像生成通道)失败。报错:`主机当前没有可用的图像模型(模型目录暂时取不到)` 或 `Codex 返回中没有图片,请重试或改用 OpenAI Platform API key`。

## 现象
ai-art 能力文档声称支持 gpt-image-2 / gemini 生图,但 Art 插件 gen_image 失败;而 agent 多模态生图正常。

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

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

## 本地诊断
- 模型目录缓存 `Cache/model-catalog/*.json` 中完全没有图像生成模型(gpt-image、dall-e、imagen、nano-banana 均 0 命中),仅有文本/编码模型
- `model-pricing.json` 也仅含文本模型
- 网络连通正常:api.laxa.com、model-access.cindy.com.cn 均可访问

## 期望行为
在 Cindy AI 套餐下,Art 插件 `gen_image` 应能直接出图(gpt-image-2 / gemini),无需额外配置 OpenAI Platform API key。请核查模型目录为何未包含图像模型,以及 Art 插件独立图像通道为何与 agent 多模态能力不一致。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start by tracing the cindy-art plugin's gen_image entry point and how it reads Cache/model-catalog/*.json and model-pricing.json. Compare the model selection and response handling with the agent image-generation path, using the reported Cindy AI and OpenAI reproduction steps. Done means image models are available to the independent channel and gen_image succeeds under Cindy AI without requiring an OpenAI Platform API key.

Written by the indexing model from the issue text.

Assessment

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