lumiverse-spindle-types 0.6.12 → 0.6.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumiverse-spindle-types",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "types": "./src/index.ts",
5
5
  "keywords": [
6
6
  "lumiverse",
package/src/api.ts CHANGED
@@ -779,6 +779,16 @@ export interface ImageGenRequestDTO {
779
779
  owner_character_id?: string;
780
780
  /** Optional chat ownership tag for the persisted result image. */
781
781
  owner_chat_id?: string;
782
+ /**
783
+ * Ask the host to omit the base64 `imageDataUrl` from the result.
784
+ *
785
+ * The host still needs the data URL to persist the image into the images
786
+ * table, so `imageId` / `imageUrl` remain populated. Only the
787
+ * extension-facing response drops the base64 field, which is the largest
788
+ * per-image RPC payload. The default (`includeDataUrl` omitted or `true`)
789
+ * keeps the data URL for backward compatibility.
790
+ */
791
+ includeDataUrl?: boolean;
782
792
  /** For operator-scoped extensions. */
783
793
  userId?: string;
784
794
  }
@@ -800,7 +800,9 @@ export interface SpindleAPI {
800
800
  /**
801
801
  * Generate an image using a connection profile.
802
802
  * If `connection_id` is omitted, uses the user's default image gen connection.
803
- * Returns the image as a base64 data URL.
803
+ * Returns the image as a base64 data URL, unless `includeDataUrl: false` is
804
+ * passed and the host supports omitting it (the image is still persisted
805
+ * and `imageId` / `imageUrl` remain populated).
804
806
  */
805
807
  generate(input: ImageGenRequestDTO): Promise<ImageGenResultDTO>;
806
808
  /**