# External Services Used by Elyssa AI

Elyssa AI is a WordPress plugin that uses various AI services to generate content, images, and provide other AI-powered features. Below is detailed information about all external services that the plugin might connect to, depending on your configuration.

## OpenAI Services

**What it is used for:** Content generation, text completion, and image generation (DALL-E).

**Data sent and when:**
- For text generation: Your prompts, context, and content are sent to OpenAI's API when you use any text generation feature.
- For image generation: Your image prompts are sent to OpenAI's API when generating images.
- API key: Your OpenAI API key is included in requests for authentication.

**API Endpoints:**
- Text completion: https://api.openai.com/v1/chat/completions
- Image generation: https://api.openai.com/v1/images/generations

**Legal Documents:**
- Terms of Service: https://openai.com/policies/terms-of-use
- Privacy Policy: https://openai.com/policies/privacy-policy

## Anthropic Services

**What it is used for:** Advanced text generation and content creation using Claude models.

**Data sent and when:**
- Your prompts, context, and content are sent to Anthropic's API when you use text generation features with Claude selected.
- API key: Your Anthropic API key is included in requests for authentication.

**API Endpoints:**
- Text generation: https://api.anthropic.com/v1/messages

**Legal Documents:**
- Terms of Service: https://www.anthropic.com/terms
- Privacy Policy: https://www.anthropic.com/privacy

## Google AI Services

**What it is used for:** Text generation and content creation using Google's generative AI models.

**Data sent and when:**
- Your prompts, context, and content are sent to Google's Generative Language API when you use text generation features with Google models selected.
- API key: Your Google API key is included in requests for authentication.

**API Endpoints:**
- Text generation: https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent

**Legal Documents:**
- Terms of Service: https://developers.generativeai.google/terms
- Privacy Policy: https://policies.google.com/privacy

## Leonardo AI Services

**What it is used for:** AI image generation.

**Data sent and when:**
- Your image prompts are sent to Leonardo AI's API when generating images using this service.
- API key: Your Leonardo AI API key is included in requests for authentication.

**API Endpoints:**
- Image generation: https://cloud.leonardo.ai/api/rest/v1/generations
- Generation status: https://cloud.leonardo.ai/api/rest/v1/generations/{generation_id}

**Legal Documents:**
- Terms of Service: https://leonardo.ai/terms-of-service
- Privacy Policy: https://leonardo.ai/privacy-policy

## Mistral AI Services

**What it is used for:** Text generation and content creation using Mistral's language models.

**Data sent and when:**
- Your prompts, context, and content are sent to Mistral AI's API when you use text generation features with Mistral models selected.
- API key: Your Mistral AI API key is included in requests for authentication.

**API Endpoints:**
- Text generation: https://api.mistral.ai/v1/chat/completions

**Legal Documents:**
- Terms of Service: https://mistral.ai/terms/
- Privacy Policy: https://mistral.ai/privacy/

## Stability AI Services

**What it is used for:** AI image generation using Stable Diffusion.

**Data sent and when:**
- Your image prompts are sent to Stability AI's API when generating images using this service.
- API key: Your Stability AI API key is included in requests for authentication.

**API Endpoints:**
- Image generation: https://api.stability.ai/v1/generation/{engine_id}/text-to-image

**Legal Documents:**
- Terms of Service: https://stability.ai/terms-of-use
- Privacy Policy: https://stability.ai/privacy-policy

## Groq AI Services

**What it is used for:** Fast text generation and content creation.

**Data sent and when:**
- Your prompts, context, and content are sent to Groq's API when you use text generation features with Groq models selected.
- API key: Your Groq API key is included in requests for authentication.

**API Endpoints:**
- Text generation: https://api.groq.com/openai/v1/chat/completions

**Legal Documents:**
- Terms of Service: https://wow.groq.com/legal/tos/
- Privacy Policy: https://wow.groq.com/legal/privacy/

## DeepSeek AI Services

**What it is used for:** Text generation and content creation.

**Data sent and when:**
- Your prompts, context, and content are sent to DeepSeek's API when you use text generation features with DeepSeek models selected.
- API key: Your DeepSeek API key is included in requests for authentication.

**API Endpoints:**
- Text generation: https://api.deepseek.com/v1/chat/completions

**Legal Documents:**
- Terms of Service: https://platform.deepseek.com/terms
- Privacy Policy: https://platform.deepseek.com/privacy

## FLUX AI Services

**What it is used for:** AI image generation.

**Data sent and when:**
- Your image prompts are sent to FLUX AI's API when generating images using this service.
- API key: Your FLUX AI API key is included in requests for authentication.

**API Endpoints:**
- Image generation: https://api.flux.app/imagination/v2/texture-new

**Legal Documents:**
- Terms of Service: https://flux.app/terms-of-service
- Privacy Policy: https://flux.app/privacy-policy

## Data Storage and Processing

Your API keys are stored in your WordPress database using WordPress's built-in options system. No API keys or credentials are stored or transmitted to the plugin authors' servers.

The content, prompts, and responses are processed temporarily during generation, and the plugin may save generated content to your WordPress site (posts, pages, media library, etc.) based on your actions, but this data remains on your WordPress installation.

## Opt-Out Information

You can opt out of using any of these services by:
1. Not configuring the API keys for services you don't want to use
2. Selecting only the services you wish to use in the plugin settings
