[🤖 Feature Request] Configurable AI API Endpoint - Question | JoomShaper

[🤖 Feature Request] Configurable AI API Endpoint

Brad Thompson

Brad Thompson

SP Page Builder 2 days ago

I'd like to request the addition of a user-configurable API URL/base endpoint field alongside the existing OpenAI API Key and Model settings in SP Page Builder's AI configuration.

Requested Change

Add an openai_api_url field (defaulting to https://api.openai.com) to the AI settings, and replace the four hardcoded https://api.openai.com strings in the AI content generation controllers with this configurable value. This is a small change — a new settings field and a variable substitution where the base URL is currently hardcoded.

Benefits to Users

Many users rely on OpenAI-compatible API services such as Azure OpenAI, Groq, Together AI, OpenRouter, LM Studio, and self-hosted inference servers (vLLM, Ollama). These services implement the same /v1/chat/completions request/response format that SP Page Builder already uses, but the current hardcoded endpoints prevent users from connecting to them. A configurable base URL would unlock the entire OpenAI-compatible ecosystem for SP Page Builder users at virtually no development cost.

Value Proposition for SP Page Builder

SP Page Builder already demonstrates multi-provider awareness through its Gemini model routing — detecting gemini-* model names and redirecting to Google's Generative Language API. This proves the architecture can accommodate multiple AI backends. Taking the next step by making the OpenAI base URL configurable would position SP Page Builder as a truly flexible, vendor-agnostic page builder — attractive to enterprise users with Azure OpenAI commitments, privacy-conscious users running local models, and cost-sensitive users leveraging faster or cheaper inference providers. This broadens the product's appeal without abandoning the existing OpenAI-first workflow, since the default remains https://api.openai.com and the out-of-the-box experience is unchanged.

This would really differentiate and open SP Page Builder up to the AI crowd.

P.S. If you really want to go bananas, you could also create an SP Page Builder MCP server for AI to completely harness SP Page Builder for full AI control of Joomla and SP Page Builder.

0
1 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 12 hours ago #230190

Hi,

Thank you for taking the time to provide such a detailed and well-thought-out suggestion. We really appreciate the effort you've put into explaining both the implementation and the benefits.

I've forwarded your feature request to our development team for review. They will discuss the feasibility and possibility of implementing a configurable API base URL in a future release.

While I can't guarantee that it will be added, feedback like yours is extremely valuable and helps us prioritize future improvements. We also appreciate your additional suggestion regarding an MCP server for SP Page Builder—it's an interesting idea that we've noted as well.

Thank you for your patience, understanding, and continued support of SP Page Builder.

0