@kokimoki/app 2.0.1 → 2.0.2

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.
@@ -177,7 +177,7 @@ declare class KokimokiAiService {
177
177
  * @param tags Optional. Tags to associate with the image.
178
178
  * @returns A promise that resolves to the modified image upload information.
179
179
  */
180
- modifyImage(baseImageUrl: string, prompt: string, tags?: string[]): Promise<Upload>;
180
+ modifyImage(baseImageUrl: string, prompt: string, tags?: string[], model?: 'gemini-2.5-flash-image' | 'gemini-3-pro-image-preview'): Promise<Upload>;
181
181
  }
182
182
 
183
183
  /**
@@ -11411,11 +11411,11 @@ class KokimokiAiService {
11411
11411
  * @param tags Optional. Tags to associate with the image.
11412
11412
  * @returns A promise that resolves to the modified image upload information.
11413
11413
  */
11414
- async modifyImage(baseImageUrl, prompt, tags = []) {
11414
+ async modifyImage(baseImageUrl, prompt, tags = [], model = 'gemini-2.5-flash-image') {
11415
11415
  const res = await fetch(`${this.client.apiUrl}/ai/modify-image`, {
11416
11416
  method: "POST",
11417
11417
  headers: this.client.apiHeaders,
11418
- body: JSON.stringify({ baseImageUrl, prompt, tags }),
11418
+ body: JSON.stringify({ baseImageUrl, prompt, tags, model }),
11419
11419
  });
11420
11420
  if (!res.ok) {
11421
11421
  throw await res.json();
@@ -15958,7 +15958,7 @@ class KokimokiTransaction {
15958
15958
  }
15959
15959
 
15960
15960
  // Auto-generated file. Do not edit manually.
15961
- const KOKIMOKI_APP_VERSION = '2.0.1';
15961
+ const KOKIMOKI_APP_VERSION = '2.0.2';
15962
15962
 
15963
15963
  var RoomSubscriptionMode;
15964
15964
  (function (RoomSubscriptionMode) {