@loonylabs/tti-middleware 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.example CHANGED
@@ -1,45 +1,45 @@
1
- # ============================================================
2
- # TTI Middleware Configuration
3
- # ============================================================
4
-
5
- # Default TTI Provider (optional)
6
- # Options: google-cloud, edenai, ionos
7
- TTI_DEFAULT_PROVIDER=google-cloud
8
-
9
- # ============================================================
10
- # Testing
11
- # ============================================================
12
- # Enable integration tests (makes real API calls, costs money)
13
- # TTI_INTEGRATION_TESTS=true
14
-
15
- # ============================================================
16
- # Google Cloud (Vertex AI) - RECOMMENDED FOR EU/GDPR
17
- # ============================================================
18
- # DPA: https://cloud.google.com/terms/data-processing-addendum
19
- # Models: imagen-3, imagen-4 (+ fast/ultra), gemini-flash-image, gemini-pro-image
20
-
21
- # Project ID (required)
22
- GOOGLE_CLOUD_PROJECT=your-google-cloud-project-id
23
-
24
- # Service Account JSON file (required)
25
- GOOGLE_APPLICATION_CREDENTIALS=./service-account.json
26
-
27
- # Region (optional, default: europe-west4)
28
- # EU regions: europe-west1, europe-west4 (recommended), europe-north1
29
- # Note: gemini-flash-image is NOT available in europe-west3 (Frankfurt)!
30
- GOOGLE_CLOUD_REGION=europe-west4
31
-
32
- # ============================================================
33
- # Eden AI
34
- # ============================================================
35
- # Aggregator with multiple underlying providers (OpenAI, Stability AI, etc.)
36
-
37
- EDENAI_API_KEY=your_edenai_key_here
38
-
39
- # ============================================================
40
- # IONOS Cloud
41
- # ============================================================
42
- # German cloud provider with EU data centers
43
-
44
- IONOS_API_KEY=your_ionos_key_here
45
- IONOS_API_URL=https://api.ionos.cloud/ai/v1
1
+ # ============================================================
2
+ # TTI Middleware Configuration
3
+ # ============================================================
4
+
5
+ # Default TTI Provider (optional)
6
+ # Options: google-cloud, edenai, ionos
7
+ TTI_DEFAULT_PROVIDER=google-cloud
8
+
9
+ # ============================================================
10
+ # Testing
11
+ # ============================================================
12
+ # Enable integration tests (makes real API calls, costs money)
13
+ # TTI_INTEGRATION_TESTS=true
14
+
15
+ # ============================================================
16
+ # Google Cloud (Vertex AI) - RECOMMENDED FOR EU/GDPR
17
+ # ============================================================
18
+ # DPA: https://cloud.google.com/terms/data-processing-addendum
19
+ # Models: imagen-3, imagen-4 (+ fast/ultra), gemini-flash-image, gemini-pro-image
20
+
21
+ # Project ID (required)
22
+ GOOGLE_CLOUD_PROJECT=your-google-cloud-project-id
23
+
24
+ # Service Account JSON file (required)
25
+ GOOGLE_APPLICATION_CREDENTIALS=./service-account.json
26
+
27
+ # Region (optional, default: europe-west4)
28
+ # EU regions: europe-west1, europe-west4 (recommended), europe-north1
29
+ # Note: gemini-flash-image is NOT available in europe-west3 (Frankfurt)!
30
+ GOOGLE_CLOUD_REGION=europe-west4
31
+
32
+ # ============================================================
33
+ # Eden AI
34
+ # ============================================================
35
+ # Aggregator with multiple underlying providers (OpenAI, Stability AI, etc.)
36
+
37
+ EDENAI_API_KEY=your_edenai_key_here
38
+
39
+ # ============================================================
40
+ # IONOS Cloud
41
+ # ============================================================
42
+ # German cloud provider with EU data centers
43
+
44
+ IONOS_API_KEY=your_ionos_key_here
45
+ IONOS_API_URL=https://api.ionos.cloud/ai/v1
@@ -155,7 +155,7 @@ const GOOGLE_CLOUD_MODELS = [
155
155
  displayName: 'Gemini 3 Pro Image',
156
156
  capabilities: {
157
157
  textToImage: true,
158
- characterConsistency: false, // Not documented for this model
158
+ characterConsistency: true, // Supports up to 14 ref images (5 humans + 6 objects + 3 style)
159
159
  imageEditing: false,
160
160
  maxImagesPerRequest: 1,
161
161
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loonylabs/tti-middleware",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Provider-agnostic Text-to-Image middleware with GDPR compliance. Supports Google Cloud (Imagen, Gemini), Eden AI, and IONOS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",