@keystrokehq/gan_ai 0.1.0

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.
Files changed (98) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-avatar-video-inference-details.cjs +32 -0
  7. package/dist/actions/get-avatar-video-inference-details.cjs.map +1 -0
  8. package/dist/actions/get-avatar-video-inference-details.d.cts +9 -0
  9. package/dist/actions/get-avatar-video-inference-details.d.cts.map +1 -0
  10. package/dist/actions/get-avatar-video-inference-details.d.mts +9 -0
  11. package/dist/actions/get-avatar-video-inference-details.d.mts.map +1 -0
  12. package/dist/actions/get-avatar-video-inference-details.mjs +29 -0
  13. package/dist/actions/get-avatar-video-inference-details.mjs.map +1 -0
  14. package/dist/actions/get-photo-avatar-details.cjs +28 -0
  15. package/dist/actions/get-photo-avatar-details.cjs.map +1 -0
  16. package/dist/actions/get-photo-avatar-details.d.cts +9 -0
  17. package/dist/actions/get-photo-avatar-details.d.cts.map +1 -0
  18. package/dist/actions/get-photo-avatar-details.d.mts +9 -0
  19. package/dist/actions/get-photo-avatar-details.d.mts.map +1 -0
  20. package/dist/actions/get-photo-avatar-details.mjs +25 -0
  21. package/dist/actions/get-photo-avatar-details.mjs.map +1 -0
  22. package/dist/actions/get-photo-avatar-inference-details.cjs +39 -0
  23. package/dist/actions/get-photo-avatar-inference-details.cjs.map +1 -0
  24. package/dist/actions/get-photo-avatar-inference-details.d.cts +9 -0
  25. package/dist/actions/get-photo-avatar-inference-details.d.cts.map +1 -0
  26. package/dist/actions/get-photo-avatar-inference-details.d.mts +9 -0
  27. package/dist/actions/get-photo-avatar-inference-details.d.mts.map +1 -0
  28. package/dist/actions/get-photo-avatar-inference-details.mjs +38 -0
  29. package/dist/actions/get-photo-avatar-inference-details.mjs.map +1 -0
  30. package/dist/actions/index.cjs +17 -0
  31. package/dist/actions/index.d.cts +9 -0
  32. package/dist/actions/index.d.mts +9 -0
  33. package/dist/actions/index.mjs +9 -0
  34. package/dist/actions/list-avatar-videos.cjs +51 -0
  35. package/dist/actions/list-avatar-videos.cjs.map +1 -0
  36. package/dist/actions/list-avatar-videos.d.cts +9 -0
  37. package/dist/actions/list-avatar-videos.d.cts.map +1 -0
  38. package/dist/actions/list-avatar-videos.d.mts +9 -0
  39. package/dist/actions/list-avatar-videos.d.mts.map +1 -0
  40. package/dist/actions/list-avatar-videos.mjs +50 -0
  41. package/dist/actions/list-avatar-videos.mjs.map +1 -0
  42. package/dist/actions/list-photo-avatar-inferences.cjs +54 -0
  43. package/dist/actions/list-photo-avatar-inferences.cjs.map +1 -0
  44. package/dist/actions/list-photo-avatar-inferences.d.cts +9 -0
  45. package/dist/actions/list-photo-avatar-inferences.d.cts.map +1 -0
  46. package/dist/actions/list-photo-avatar-inferences.d.mts +9 -0
  47. package/dist/actions/list-photo-avatar-inferences.d.mts.map +1 -0
  48. package/dist/actions/list-photo-avatar-inferences.mjs +53 -0
  49. package/dist/actions/list-photo-avatar-inferences.mjs.map +1 -0
  50. package/dist/actions/list-photo-avatars.cjs +36 -0
  51. package/dist/actions/list-photo-avatars.cjs.map +1 -0
  52. package/dist/actions/list-photo-avatars.d.cts +9 -0
  53. package/dist/actions/list-photo-avatars.d.cts.map +1 -0
  54. package/dist/actions/list-photo-avatars.d.mts +9 -0
  55. package/dist/actions/list-photo-avatars.d.mts.map +1 -0
  56. package/dist/actions/list-photo-avatars.mjs +35 -0
  57. package/dist/actions/list-photo-avatars.mjs.map +1 -0
  58. package/dist/actions/login.cjs +22 -0
  59. package/dist/actions/login.cjs.map +1 -0
  60. package/dist/actions/login.d.cts +9 -0
  61. package/dist/actions/login.d.cts.map +1 -0
  62. package/dist/actions/login.d.mts +9 -0
  63. package/dist/actions/login.d.mts.map +1 -0
  64. package/dist/actions/login.mjs +19 -0
  65. package/dist/actions/login.mjs.map +1 -0
  66. package/dist/actions/tts.cjs +22 -0
  67. package/dist/actions/tts.cjs.map +1 -0
  68. package/dist/actions/tts.d.cts +9 -0
  69. package/dist/actions/tts.d.cts.map +1 -0
  70. package/dist/actions/tts.d.mts +9 -0
  71. package/dist/actions/tts.d.mts.map +1 -0
  72. package/dist/actions/tts.mjs +19 -0
  73. package/dist/actions/tts.mjs.map +1 -0
  74. package/dist/app.cjs +9 -0
  75. package/dist/app.cjs.map +1 -0
  76. package/dist/app.d.cts +5 -0
  77. package/dist/app.d.cts.map +1 -0
  78. package/dist/app.d.mts +5 -0
  79. package/dist/app.d.mts.map +1 -0
  80. package/dist/app.mjs +10 -0
  81. package/dist/app.mjs.map +1 -0
  82. package/dist/catalog.cjs +15 -0
  83. package/dist/catalog.cjs.map +1 -0
  84. package/dist/catalog.d.cts +14 -0
  85. package/dist/catalog.d.cts.map +1 -0
  86. package/dist/catalog.d.mts +14 -0
  87. package/dist/catalog.d.mts.map +1 -0
  88. package/dist/catalog.mjs +15 -0
  89. package/dist/catalog.mjs.map +1 -0
  90. package/dist/execute.cjs +18 -0
  91. package/dist/execute.cjs.map +1 -0
  92. package/dist/execute.mjs +18 -0
  93. package/dist/execute.mjs.map +1 -0
  94. package/dist/index.cjs +22 -0
  95. package/dist/index.d.cts +11 -0
  96. package/dist/index.d.mts +11 -0
  97. package/dist/index.mjs +12 -0
  98. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ganAiCatalog = {\n \"slug\": \"gan_ai\",\n \"name\": \"Gan.AI\",\n \"description\": \"Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gan_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const ganAiCatalog: {
4
+ readonly slug: "gan_ai";
5
+ readonly name: "Gan.AI";
6
+ readonly description: "Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.";
7
+ readonly category: "Artificial Intelligence";
8
+ readonly logo: "https://logos.composio.dev/api/gan_ai";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { ganAiCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const ganAiCatalog: {
4
+ readonly slug: "gan_ai";
5
+ readonly name: "Gan.AI";
6
+ readonly description: "Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.";
7
+ readonly category: "Artificial Intelligence";
8
+ readonly logo: "https://logos.composio.dev/api/gan_ai";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { ganAiCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const ganAiCatalog = {
4
+ "slug": "gan_ai",
5
+ "name": "Gan.AI",
6
+ "description": "Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.",
7
+ "category": "Artificial Intelligence",
8
+ "logo": "https://logos.composio.dev/api/gan_ai",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { ganAiCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ganAiCatalog = {\n \"slug\": \"gan_ai\",\n \"name\": \"Gan.AI\",\n \"description\": \"Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gan_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "gan_ai";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeGanAiTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeGanAiTool = executeGanAiTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gan_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeGanAiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "gan_ai";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeGanAiTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeGanAiTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gan_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeGanAiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/index.cjs ADDED
@@ -0,0 +1,22 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_get_avatar_video_inference_details = require("./actions/get-avatar-video-inference-details.cjs");
5
+ const require_get_photo_avatar_details = require("./actions/get-photo-avatar-details.cjs");
6
+ const require_get_photo_avatar_inference_details = require("./actions/get-photo-avatar-inference-details.cjs");
7
+ const require_list_avatar_videos = require("./actions/list-avatar-videos.cjs");
8
+ const require_list_photo_avatar_inferences = require("./actions/list-photo-avatar-inferences.cjs");
9
+ const require_list_photo_avatars = require("./actions/list-photo-avatars.cjs");
10
+ const require_login = require("./actions/login.cjs");
11
+ const require_tts = require("./actions/tts.cjs");
12
+ require("./actions/index.cjs");
13
+ exports.ganAi = require_app.ganAi;
14
+ exports.ganAiCatalog = require_catalog.ganAiCatalog;
15
+ exports.ganAiGetAvatarVideoInferenceDetails = require_get_avatar_video_inference_details.ganAiGetAvatarVideoInferenceDetails;
16
+ exports.ganAiGetPhotoAvatarDetails = require_get_photo_avatar_details.ganAiGetPhotoAvatarDetails;
17
+ exports.ganAiGetPhotoAvatarInferenceDetails = require_get_photo_avatar_inference_details.ganAiGetPhotoAvatarInferenceDetails;
18
+ exports.ganAiListAvatarVideos = require_list_avatar_videos.ganAiListAvatarVideos;
19
+ exports.ganAiListPhotoAvatarInferences = require_list_photo_avatar_inferences.ganAiListPhotoAvatarInferences;
20
+ exports.ganAiListPhotoAvatars = require_list_photo_avatars.ganAiListPhotoAvatars;
21
+ exports.ganAiLogin = require_login.ganAiLogin;
22
+ exports.ganAiTts = require_tts.ganAiTts;
@@ -0,0 +1,11 @@
1
+ import { ganAiGetAvatarVideoInferenceDetails } from "./actions/get-avatar-video-inference-details.cjs";
2
+ import { ganAiGetPhotoAvatarDetails } from "./actions/get-photo-avatar-details.cjs";
3
+ import { ganAiGetPhotoAvatarInferenceDetails } from "./actions/get-photo-avatar-inference-details.cjs";
4
+ import { ganAiListAvatarVideos } from "./actions/list-avatar-videos.cjs";
5
+ import { ganAiListPhotoAvatarInferences } from "./actions/list-photo-avatar-inferences.cjs";
6
+ import { ganAiListPhotoAvatars } from "./actions/list-photo-avatars.cjs";
7
+ import { ganAiLogin } from "./actions/login.cjs";
8
+ import { ganAiTts } from "./actions/tts.cjs";
9
+ import { ganAi } from "./app.cjs";
10
+ import { ganAiCatalog } from "./catalog.cjs";
11
+ export { ganAi, ganAiCatalog, ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
@@ -0,0 +1,11 @@
1
+ import { ganAiGetAvatarVideoInferenceDetails } from "./actions/get-avatar-video-inference-details.mjs";
2
+ import { ganAiGetPhotoAvatarDetails } from "./actions/get-photo-avatar-details.mjs";
3
+ import { ganAiGetPhotoAvatarInferenceDetails } from "./actions/get-photo-avatar-inference-details.mjs";
4
+ import { ganAiListAvatarVideos } from "./actions/list-avatar-videos.mjs";
5
+ import { ganAiListPhotoAvatarInferences } from "./actions/list-photo-avatar-inferences.mjs";
6
+ import { ganAiListPhotoAvatars } from "./actions/list-photo-avatars.mjs";
7
+ import { ganAiLogin } from "./actions/login.mjs";
8
+ import { ganAiTts } from "./actions/tts.mjs";
9
+ import { ganAi } from "./app.mjs";
10
+ import { ganAiCatalog } from "./catalog.mjs";
11
+ export { ganAi, ganAiCatalog, ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
package/dist/index.mjs ADDED
@@ -0,0 +1,12 @@
1
+ import { ganAi } from "./app.mjs";
2
+ import { ganAiCatalog } from "./catalog.mjs";
3
+ import { ganAiGetAvatarVideoInferenceDetails } from "./actions/get-avatar-video-inference-details.mjs";
4
+ import { ganAiGetPhotoAvatarDetails } from "./actions/get-photo-avatar-details.mjs";
5
+ import { ganAiGetPhotoAvatarInferenceDetails } from "./actions/get-photo-avatar-inference-details.mjs";
6
+ import { ganAiListAvatarVideos } from "./actions/list-avatar-videos.mjs";
7
+ import { ganAiListPhotoAvatarInferences } from "./actions/list-photo-avatar-inferences.mjs";
8
+ import { ganAiListPhotoAvatars } from "./actions/list-photo-avatars.mjs";
9
+ import { ganAiLogin } from "./actions/login.mjs";
10
+ import { ganAiTts } from "./actions/tts.mjs";
11
+ import "./actions/index.mjs";
12
+ export { ganAi, ganAiCatalog, ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/gan_ai",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/keystrokehq/keystroke.git",
11
+ "directory": "packages/integrations/gan_ai"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "sideEffects": false,
17
+ "type": "module",
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.mts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.mts",
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.cjs"
26
+ },
27
+ "./actions": {
28
+ "types": "./dist/actions/index.d.mts",
29
+ "import": "./dist/actions/index.mjs",
30
+ "require": "./dist/actions/index.cjs"
31
+ }
32
+ },
33
+ "peerDependencies": {
34
+ "@keystrokehq/keystroke": "^0.1.4",
35
+ "zod": "^4.4.3"
36
+ },
37
+ "devDependencies": {
38
+ "@keystrokehq/keystroke": "link:../../keystroke",
39
+ "@types/node": "^25.9.1",
40
+ "tsdown": "^0.22.0",
41
+ "typescript": "^6.0.3",
42
+ "zod": "^4.4.3"
43
+ },
44
+ "scripts": {
45
+ "build": "tsdown",
46
+ "dev": "tsdown --watch --no-clean",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }