@golpoai/sdk 0.1.0 → 0.1.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.
package/dist/index.cjs CHANGED
@@ -67,14 +67,16 @@ var Golpo = class {
67
67
  ttsModel = "accurate",
68
68
  language,
69
69
  style = "conversational",
70
- bgMusic
70
+ bgMusic,
71
+ outputVolume = 1
71
72
  } = opts;
72
73
  const fields = [
73
74
  ["prompt", prompt],
74
75
  ["add_music", String(addMusic)],
75
76
  ["do_research", String(doResearch)],
76
77
  ["tts_model", ttsModel],
77
- ["style", style]
78
+ ["style", style],
79
+ ["output_volume", String(outputVolume)]
78
80
  ];
79
81
  if (voiceInstructions) fields.push(["voice_instructions", voiceInstructions]);
80
82
  if (personality1) fields.push(["personality_1", personality1]);
@@ -106,6 +108,7 @@ var Golpo = class {
106
108
  style = "solo-female",
107
109
  bgMusic = "engaging",
108
110
  bgVolume = 1.4,
111
+ outputVolume = 1,
109
112
  videoType = "long",
110
113
  includeWatermark = true,
111
114
  logo,
@@ -116,6 +119,7 @@ var Golpo = class {
116
119
  ["do_research", String(doResearch)],
117
120
  ["tts_model", ttsModel],
118
121
  ["bg_volume", String(bgVolume)],
122
+ ["output_volume", String(outputVolume)],
119
123
  ["style", style],
120
124
  ["video_type", videoType],
121
125
  ["include_watermark", String(includeWatermark)],
package/dist/index.d.cts CHANGED
@@ -9,6 +9,7 @@ interface CreatePodcastOptions {
9
9
  language?: string;
10
10
  style?: 'conversational' | 'solo-male' | 'solo-female';
11
11
  bgMusic?: 'jazz' | 'lofi' | 'dramatic' | null;
12
+ outputVolume?: number;
12
13
  pollIntervalMs?: number;
13
14
  concurrency?: number;
14
15
  }
@@ -22,6 +23,7 @@ interface CreateVideoOptions {
22
23
  style?: 'solo-male' | 'solo-female';
23
24
  bgMusic?: 'engaging' | 'lofi' | null;
24
25
  bgVolume?: number;
26
+ outputVolume?: number;
25
27
  videoType?: 'short' | 'long';
26
28
  includeWatermark?: boolean;
27
29
  logo?: string;
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ interface CreatePodcastOptions {
9
9
  language?: string;
10
10
  style?: 'conversational' | 'solo-male' | 'solo-female';
11
11
  bgMusic?: 'jazz' | 'lofi' | 'dramatic' | null;
12
+ outputVolume?: number;
12
13
  pollIntervalMs?: number;
13
14
  concurrency?: number;
14
15
  }
@@ -22,6 +23,7 @@ interface CreateVideoOptions {
22
23
  style?: 'solo-male' | 'solo-female';
23
24
  bgMusic?: 'engaging' | 'lofi' | null;
24
25
  bgVolume?: number;
26
+ outputVolume?: number;
25
27
  videoType?: 'short' | 'long';
26
28
  includeWatermark?: boolean;
27
29
  logo?: string;
package/dist/index.js CHANGED
@@ -30,14 +30,16 @@ var Golpo = class {
30
30
  ttsModel = "accurate",
31
31
  language,
32
32
  style = "conversational",
33
- bgMusic
33
+ bgMusic,
34
+ outputVolume = 1
34
35
  } = opts;
35
36
  const fields = [
36
37
  ["prompt", prompt],
37
38
  ["add_music", String(addMusic)],
38
39
  ["do_research", String(doResearch)],
39
40
  ["tts_model", ttsModel],
40
- ["style", style]
41
+ ["style", style],
42
+ ["output_volume", String(outputVolume)]
41
43
  ];
42
44
  if (voiceInstructions) fields.push(["voice_instructions", voiceInstructions]);
43
45
  if (personality1) fields.push(["personality_1", personality1]);
@@ -69,6 +71,7 @@ var Golpo = class {
69
71
  style = "solo-female",
70
72
  bgMusic = "engaging",
71
73
  bgVolume = 1.4,
74
+ outputVolume = 1,
72
75
  videoType = "long",
73
76
  includeWatermark = true,
74
77
  logo,
@@ -79,6 +82,7 @@ var Golpo = class {
79
82
  ["do_research", String(doResearch)],
80
83
  ["tts_model", ttsModel],
81
84
  ["bg_volume", String(bgVolume)],
85
+ ["output_volume", String(outputVolume)],
82
86
  ["style", style],
83
87
  ["video_type", videoType],
84
88
  ["include_watermark", String(includeWatermark)],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golpoai/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "exports": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -16,7 +16,6 @@
16
16
  "node": ">=18.17"
17
17
  },
18
18
  "dependencies": {
19
- "@golpoai/sdk": "file:golpoai-sdk-0.1.0.tgz",
20
19
  "axios": "^1.6.8",
21
20
  "dotenv": "^17.2.1",
22
21
  "mime-types": "^2.1.35",