This document provides compliance information for organizations that need to meet GDPR (General Data Protection Regulation) and DSGVO (Datenschutz-Grundverordnung) requirements.
Important: This information is provided for reference only. The middleware does NOT programmatically return compliance data to avoid any implied warranties or liability. Always verify compliance information directly with the provider before making business decisions.
The middleware follows a clear architectural principle:
One Provider = One Backend = One Data Processing Agreement (DPA)
This means:
- Each provider represents a single contract partner
- Each provider has its own DPA that covers all models/features
- Compliance should be verified per provider through their official documentation
| Provider | DPA | GDPR | EU Residency | DPA Document |
|---|---|---|---|---|
| Google Cloud | Yes | Yes | Yes | CDPA |
| Eden AI | Yes | Varies* | Varies* | Privacy Policy |
| IONOS | Yes | Yes | Yes | AGB |
*Eden AI is an aggregator - compliance depends on the underlying provider you select.
The middleware provides helper methods to check if you're using an EU region:
const googleProvider = new GoogleCloudTTIProvider({
region: 'europe-west4',
});
// Check if using EU region
console.log(googleProvider.isEURegion()); // true
// Get the configured region
console.log(googleProvider.getRegion()); // 'europe-west4'For DPA and GDPR compliance verification, refer to the official provider documentation linked in the table above.
Google Cloud offers a Cloud Data Processing Addendum (CDPA) that covers:
- Data processing terms under GDPR
- Security measures
- Data deletion procedures
- Subprocessor management
Document: https://cloud.google.com/terms/data-processing-addendum
Google Cloud Vertex AI:
- Customer data is NOT used for training AI models
- Data stays in the configured region
- Zero data retention option available
Reference: Vertex AI Privacy Whitepaper
| Region | Location | Recommendation |
|---|---|---|
europe-west4 |
Netherlands | Recommended (full model support) |
europe-west1 |
Belgium | Good |
europe-north1 |
Finland | Good |
europe-west3 |
Frankfurt | Limited (no Gemini) |
europe-west9 |
Paris | Limited (no Gemini) |
const provider = new GoogleCloudTTIProvider({
projectId: process.env.GOOGLE_CLOUD_PROJECT,
region: 'europe-west4', // EU region
});
// Verify EU region is configured
console.log(provider.isEURegion()); // true
console.log(provider.getRegion()); // 'europe-west4'Eden AI is an aggregator that routes requests to underlying providers (OpenAI, Stability AI, etc.). This means:
- Eden AI itself has a privacy policy
- BUT compliance depends on which sub-provider handles your request
- Each sub-provider has different compliance characteristics
Eden AI provides DPA on request for enterprise customers.
Contact: https://www.edenai.co/contact
For strict GDPR compliance, consider:
- Contacting Eden AI for specific provider compliance
- Using Google Cloud or IONOS directly
IONOS is a German cloud provider with:
- German headquarters
- EU data centers
- German legal framework
IONOS includes data processing terms in their general terms and conditions.
Document: https://cloud.ionos.de/agb
For audits, document:
- Which provider you use
- Which region
- Link to the DPA (see table above)
- Date of DPA acceptance
import { GoogleCloudTTIProvider } from '@loonylabs/tti-middleware';
const provider = new GoogleCloudTTIProvider({
region: 'europe-west4', // EU region
});
// Verify EU region is configured
if (!provider.isEURegion()) {
throw new Error('Non-EU region configured');
}const provider = service.getProvider('google-cloud') as GoogleCloudTTIProvider;
logger.info('TTI Provider Configuration', {
provider: provider.getName(),
region: provider.getRegion(),
isEU: provider.isEURegion(),
timestamp: new Date().toISOString(),
});const result = await service.generate({ prompt: 'A sunset' });
// Log where the request was processed
logger.info('Image generated', {
provider: result.metadata.provider,
region: result.metadata.region, // e.g., 'europe-west4'
model: result.metadata.model,
});No. Google AI Studio uses API keys and does NOT have a DPA. Always use Google Cloud Vertex AI (Service Account) for GDPR compliance.
Technically yes, but it may not meet GDPR requirements. Use EU regions for compliance.
The provider automatically falls back to another EU region. Check result.metadata.region to see where the request was processed.
Contact Eden AI directly for enterprise DPA: https://www.edenai.co/contact