Skip to content

[Feature] Support image generation using custom APIs (Gemini, OpenAI, Azure, etc.) #2656

@gauravjalap

Description

@gauravjalap

Problem Description
Currently, Chatbox only supports image generation through its own subscription service. This tight binding prevents users from leveraging external or custom APIs (such as Gemini, OpenAI, Azure, etc.) for image generation, limiting flexibility and integration options.

Proposed Solution
Add support for image generation using custom APIs. Users should be able to configure and use external providers (e.g., Gemini, OpenAI, Azure) for generating images, rather than being restricted to the built-in subscription. This would involve allowing API key/configuration input and switching between providers within the app.

Additional Context
This feature would help users who already have access to other image generation services or want to experiment with multiple providers. It would also benefit organizations with existing API subscriptions.


问题描述
当前,Chatbox 仅支持通过自身订阅服务进行图像生成。这种紧密绑定阻止了用户使用外部或自定义 API(如 Gemini、OpenAI、Azure 等)进行图像生成,限制了灵活性和集成选项。

解决思路
增加对自定义 API 图像生成的支持。用户应能够配置并使用外部供应商(如 Gemini、OpenAI、Azure)进行图像生成,而不是仅限于内置订阅。这将涉及允许输入 API 密钥/配置,并在应用内切换供应商。

附加上下文
此功能将帮助那些已经拥有其他图像生成服务访问权限或希望尝试多个供应商的用户,也将惠及拥有现有 API 订阅的组织。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions