Skip to content

Commit b1a026b

Browse files
committed
Prodia: remove for now as the API keeps changing and is not a good default for our users - may put this back anytime (#786)
1 parent 312fae5 commit b1a026b

15 files changed

Lines changed: 10 additions & 23 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ You can easily configure 100s of AI models in big-AGI:
180180
| Local Servers | [LM Studio](https://lmstudio.ai/) |
181181
| Multimodal services | [Azure](https://azure.microsoft.com/en-us/products/ai-services/openai-service) · [Anthropic](https://anthropic.com) · [Google Gemini](https://ai.google.dev/) · [OpenAI](https://platform.openai.com/docs/overview) |
182182
| Language services | [Alibaba](https://www.alibabacloud.com/en/product/modelstudio) · [DeepSeek](https://deepseek.com) · [Groq](https://wow.groq.com/) · [Mistral](https://mistral.ai/) · [OpenRouter](https://openrouter.ai/) · [Perplexity](https://www.perplexity.ai/) · [Together AI](https://www.together.ai/) |
183-
| Image services | [Prodia](https://prodia.com/) (SDXL) |
183+
| Image services | OpenAI, ... |
184184
| Speech services | [ElevenLabs](https://elevenlabs.io) (Voice synthesis / cloning) |
185185

186186
Add extra functionality with these integrations:

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ How to set up AI models and features in big-AGI.
4040
- **Enhanced AI Features**:
4141
- **[Web Browsing](config-feature-browse.md)**: Enable web page download through third-party services or your own cloud
4242
- **Web Search**: Google Search API (see '[Environment Variables](environment-variables.md)')
43-
- **Image Generation**: GPT Image (gpt-image-1), DALL·E 3 and 2, or Prodia API for Stable Diffusion XL
43+
- **Image Generation**: GPT Image (gpt-image-1), DALL·E 3 and 2
4444
- **Voice Synthesis**: ElevenLabs API for voice generation
4545

4646
## Deployment & Customization

docs/environment-variables.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ GOOGLE_CSE_ID=
5656
ELEVENLABS_API_KEY=
5757
ELEVENLABS_API_HOST=
5858
ELEVENLABS_VOICE_ID=
59-
# Text-To-Image: Prodia
60-
PRODIA_API_KEY=
6159

6260
# Backend HTTP Basic Authentication (see `deploy-authentication.md` for turning on authentication)
6361
HTTP_BASIC_AUTH_USERNAME=
@@ -133,8 +131,6 @@ Enable the app to Talk, Draw, and Google things up.
133131
| `ELEVENLABS_API_KEY` | ElevenLabs API Key - used for calls, etc. |
134132
| `ELEVENLABS_API_HOST` | Custom host for ElevenLabs |
135133
| `ELEVENLABS_VOICE_ID` | Default voice ID for ElevenLabs |
136-
| **Text-To-Image** | [Prodia](https://prodia.com/) is a reliable image generation service |
137-
| `PRODIA_API_KEY` | Prodia API Key - used with '/imagine ...' |
138134
| **Google Custom Search** | [Google Programmable Search Engine](https://programmablesearchengine.google.com/about/) produces links to pages |
139135
| `GOOGLE_CLOUD_API_KEY` | Google Cloud API Key, used with the '/react' command - [Link to GCP](https://console.cloud.google.com/apis/credentials) |
140136
| `GOOGLE_CSE_ID` | Google Custom/Programmable Search Engine ID - [Link to PSE](https://programmablesearchengine.google.com/) |

docs/k8s/env-secret.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,3 @@ stringData:
4646
ELEVENLABS_API_KEY: ""
4747
ELEVENLABS_API_HOST: ""
4848
ELEVENLABS_VOICE_ID: ""
49-
50-
# Text-To-Image: Prodia
51-
PRODIA_API_KEY: ""

src/apps/chat/components/message/ChatMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export function ChatMessage(props: {
226226
const handleHighlightSelText = useSelHighlighterMemo(messageId, selText, contentFragments, fromAssistant, props.onMessageFragmentReplace);
227227

228228
const textSubject = selText ? selText : fragmentFlattenedText;
229-
const isSpecialT2I = textSubject.startsWith('https://images.prodia.xyz/') || textSubject.startsWith('/draw ') || textSubject.startsWith('/imagine ') || textSubject.startsWith('/img ');
229+
const isSpecialT2I = textSubject.startsWith('/draw ') || textSubject.startsWith('/imagine ') || textSubject.startsWith('/img ');
230230
const couldDiagram = textSubject.length >= 100 && !isSpecialT2I;
231231
const couldImagine = textSubject.length >= 3 && !isSpecialT2I;
232232
const couldSpeak = couldImagine;

src/apps/draw/create/ZeroDrawConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function ZeroDrawConfig() {
2020
<CardContent>
2121
<Typography>
2222
<strong>AI Text-to-Image</strong> does not seem available.<br />
23-
Please configure one service, such as an OpenAI LLM service, or the Prodia service.
23+
Please configure one service, such as an OpenAI LLM service.
2424
</Typography>
2525
</CardContent>
2626
<CardActions buttonFlex='0'>

src/apps/news/news.data.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ export const NewsItems: NewsItem[] = [
278278
{ text: <><B issue={194}>Text Tools</B> including highlight differences</> },
279279
{ text: <><B href='https://mermaid.js.org/'>Mermaid</B> Diagramming Rendering</> },
280280
{ text: <><B>OpenAI 1106</B> Chat Models</> },
281-
{ text: <><B>SDXL</B> support with Prodia</> },
282281
{ text: <>Cloudflare OpenAI API Gateway</> },
283282
{ text: <>Helicone for Anthropic</> },
284283
],

src/common/chat-overlay/ConversationHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class ConversationHandler {
138138

139139
/**
140140
* @param text assistant text
141-
* @param generatorName LlmId or string, such as 'DALL·E' | 'Prodia' | 'react-...' | 'web'
141+
* @param generatorName LlmId or string, such as 'GPT Image' | 'DALL·E' | 'react-...' | 'web'
142142
*/
143143
messageAppendAssistantText(text: string, generatorName: Extract<DMessageGenerator, { mgt: 'named' }>['name']): void {
144144
const message = createDMessageTextContent('assistant', text);

src/common/components/useCapabilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface TextToImageProvider {
4040
vendor: TextToImageVendor;
4141
// UI attributes
4242
label: string; // e.g. 'OpenAI #2'
43-
painter: string; // e.g. 'GPT Image', 'DALL·E' or 'Prodia'
43+
painter: string; // e.g. 'GPT Image', 'DALL·E', 'Grok', ...
4444
description: string;
4545
configured: boolean;
4646
}

src/modules/backend/backend.router.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export const backendRouter = createTRPCRouter({
6868
hasDB: (!!env.MDB_URI) || (!!env.POSTGRES_PRISMA_URL && !!env.POSTGRES_URL_NON_POOLING),
6969
hasBrowsing: !!env.PUPPETEER_WSS_ENDPOINT,
7070
hasGoogleCustomSearch: !!env.GOOGLE_CSE_ID && !!env.GOOGLE_CLOUD_API_KEY,
71-
hasImagingProdia: !!env.PRODIA_API_KEY,
7271
hasVoiceElevenLabs: !!env.ELEVENLABS_API_KEY,
7372
// hashes
7473
hashLlmReconfig: generateLlmEnvConfigHash(env),

0 commit comments

Comments
 (0)