Skip to content

[Feature]: Support for Custom AI API Endpoints (Reverse Proxy / Third-Party Gateways) #2515

Description

@ju4147

Is your feature request related to a problem?

I'm always frustrated when using the AI features in PixelPlayer because the integrated AI provider is either inaccessible in my region (due to network restrictions) or does not support the specific model I want to use. It forces me to rely on the built-in endpoints, which often results in connection failures or slow responses. I cannot use local third-party API gateways or reverse proxy services that I have already set up.

Describe the solution you'd like

I would like to see a setting option that allows users to customize the AI API Base URL (Endpoint URL) and optionally modify the header parameters. By adding a "Custom Endpoint" field, users can switch to their own reverse proxy servers, self-hosted instances, or third-party gateways (e.g., OpenRouter, OneAPI, etc.). This should support standard OpenAI-compatible formats so that users can freely choose their preferred model and ensure stable network connectivity.

Describe alternatives you've considered

I have tried using local system-wide proxy tools (e.g., Clash, v2ray, TUN mode) to route the app's traffic, but that doesn't work for everyone and sometimes interferes with other network activities. I've also tried looking for config files to manually modify the endpoint, but I couldn't find any. A native, built-in "Custom API URL" option is the most direct and user-friendly solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions