slidemovie 0.3.0__tar.gz → 0.4.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: slidemovie
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Markdown and PowerPoint to narration video generator
5
5
  Author: Katsutoshi Seki
6
6
  License-Expression: MIT
@@ -51,7 +51,7 @@ Dynamic: license-file
51
51
  ## ✨ Features
52
52
 
53
53
  * **Markdown-Based**: Write your slide content and narration script in a single text file.
54
- * **AI Narration**: Automatically generates natural voiceovers using **Google Gemini** or **OpenAI** (via `multiai-tts`).
54
+ * **AI Narration**: Automatically generates natural voiceovers using **Google Gemini**, **OpenAI** or **Azure** (via `multiai-tts`).
55
55
  * **PowerPoint Integration**: Use PowerPoint's AI "Designer" to create professional visuals instantly.
56
56
  * **No Video Editing**: Audio and visuals are automatically synchronized.
57
57
  * **Incremental Builds**: Only regenerates changed slides to save time and API costs.
@@ -21,7 +21,7 @@
21
21
  ## ✨ Features
22
22
 
23
23
  * **Markdown-Based**: Write your slide content and narration script in a single text file.
24
- * **AI Narration**: Automatically generates natural voiceovers using **Google Gemini** or **OpenAI** (via `multiai-tts`).
24
+ * **AI Narration**: Automatically generates natural voiceovers using **Google Gemini**, **OpenAI** or **Azure** (via `multiai-tts`).
25
25
  * **PowerPoint Integration**: Use PowerPoint's AI "Designer" to create professional visuals instantly.
26
26
  * **No Video Editing**: Audio and visuals are automatically synchronized.
27
27
  * **Incremental Builds**: Only regenerates changed slides to save time and API costs.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "slidemovie"
7
- version = "0.3.0"
7
+ version = "0.4.0"
8
8
  description = "Markdown and PowerPoint to narration video generator"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -1307,17 +1307,21 @@ class Movie():
1307
1307
  additional_prompt (str): Additional prompt for specific slides.
1308
1308
  """
1309
1309
  client = multiai_tts.Prompt()
1310
- client.set_tts_model(self.tts_provider, self.tts_model)
1311
1310
  if self.tts_provider == 'openai':
1311
+ client.set_tts_model(self.tts_provider, self.tts_model)
1312
1312
  client.tts_voice_openai = self.tts_voice
1313
1313
  if self.tts_provider == 'google':
1314
+ client.set_tts_model(self.tts_provider, self.tts_model)
1314
1315
  client.tts_voice_google = self.tts_voice
1316
+ if self.tts_provider == 'azure':
1317
+ client.set_tts_provider(self.tts_provider)
1318
+ client.tts_voice_azure = self.tts_voice
1315
1319
 
1316
1320
  if self.tts_use_prompt:
1317
1321
  full_prompt_text = f'{self.prompt}{additional_prompt}\n{text}'
1318
1322
  else:
1319
1323
  full_prompt_text = text
1320
-
1324
+
1321
1325
  for attempt in range(self.max_retry):
1322
1326
  client.save_tts(full_prompt_text, wav_path)
1323
1327
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: slidemovie
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Markdown and PowerPoint to narration video generator
5
5
  Author: Katsutoshi Seki
6
6
  License-Expression: MIT
@@ -51,7 +51,7 @@ Dynamic: license-file
51
51
  ## ✨ Features
52
52
 
53
53
  * **Markdown-Based**: Write your slide content and narration script in a single text file.
54
- * **AI Narration**: Automatically generates natural voiceovers using **Google Gemini** or **OpenAI** (via `multiai-tts`).
54
+ * **AI Narration**: Automatically generates natural voiceovers using **Google Gemini**, **OpenAI** or **Azure** (via `multiai-tts`).
55
55
  * **PowerPoint Integration**: Use PowerPoint's AI "Designer" to create professional visuals instantly.
56
56
  * **No Video Editing**: Audio and visuals are automatically synchronized.
57
57
  * **Incremental Builds**: Only regenerates changed slides to save time and API costs.
File without changes
File without changes
File without changes
File without changes
File without changes