Skip to content

Commit 8603665

Browse files
committed
podcast generation
1 parent 8920097 commit 8603665

File tree

17 files changed

+124
-0
lines changed

17 files changed

+124
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Copyright (c) 2024 Oracle and/or its affiliates.
2+
3+
The Universal Permissive License (UPL), Version 1.0
4+
5+
Subject to the condition set forth below, permission is hereby granted to any
6+
person obtaining a copy of this software, associated documentation and/or data
7+
(collectively the "Software"), free of charge and under any and all copyright
8+
rights in the Software, and any and all patent rights owned or freely
9+
licensable by each licensor hereunder covering either (i) the unmodified
10+
Software as contributed to or provided by such licensor, or (ii) the Larger
11+
Works (as defined below), to deal in both
12+
13+
(a) the Software, and
14+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
15+
one is included with the Software (each a "Larger Work" to which the Software
16+
is contributed by such licensors),
17+
18+
without restriction, including without limitation the rights to copy, create
19+
derivative works of, display, perform, and distribute the Software and make,
20+
use, sell, offer for sale, import, export, have made, and have sold the
21+
Software and the Larger Work(s), and to sublicense the foregoing rights on
22+
either these or other terms.
23+
24+
This license is subject to the following condition:
25+
The above copyright notice and either this complete permission notice or at
26+
a minimum a reference to the UPL must be included in all copies or
27+
substantial portions of the Software.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35+
SOFTWARE.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Podcast generator using OCI Generative AI, Oracle Speech & Visual Builder
2+
3+
Welcome to this guide on building a groundbreaking application that uses Oracle's AI-powered tools to generate high-quality podcasts effortlessly. Leveraging the Oracle Cloud Infrastructure (OCI) GenAI and AI Speech (Text-to-Speech) services, this solution transforms written content into engaging, natural-sounding audio.
4+
The application is designed to streamline podcast production through advanced AI capabilities. Starting from a simple text input, the app uses GenAI to generate a structured podcast script. It then enhances the speech output with SSML (Speech Synthesis Markup Language), which gives the audio a natural flow, making it sound like a professional recording. The result is a high-quality audio experience that can cater to a wide range of content needs and audiences.
5+
This application is built using Oracle Visual Builder Cloud Service (VBCS), a powerful low-code platform that simplifies development and accelerates the creation of robust applications without extensive coding. With this low-code approach, even complex workflows are straightforward to set up, allowing developers to focus on leveraging AI's potential for high-quality audio synthesis.
6+
This AI-powered solution not only automates and optimizes the podcast creation process but also allows content creators to deliver professional audio content at scale efficiently.
7+
8+
Reviewed: 12.11.2024
9+
10+
# When to use this asset?
11+
12+
See the README document in the /files folder.
13+
14+
# How to use this asset?
15+
16+
See the README document in the /files folder.
17+
18+
# License
19+
20+
Copyright (c) 2024 Oracle and/or its affiliates.
21+
22+
Licensed under the Universal Permissive License (UPL), Version 1.0.
23+
24+
See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Podcast Generator with Oracle AI and Low-Code
2+
Welcome to this guide on building a groundbreaking application that uses Oracle's AI-powered tools to generate high-quality podcasts effortlessly. Leveraging the Oracle Cloud Infrastructure (OCI) GenAI and AI Speech (Text-to-Speech) services, this solution transforms written content into engaging, natural-sounding audio.
3+
The application is designed to streamline podcast production through advanced AI capabilities. Starting from a simple text input, the app uses GenAI to generate a structured podcast script. It then enhances the speech output with SSML (Speech Synthesis Markup Language), which gives the audio a natural flow, making it sound like a professional recording. The result is a high-quality audio experience that can cater to a wide range of content needs and audiences.
4+
This application is built using Oracle Visual Builder Cloud Service (VBCS), a powerful low-code platform that simplifies development and accelerates the creation of robust applications without extensive coding. With this low-code approach, even complex workflows are straightforward to set up, allowing developers to focus on leveraging AI's potential for high-quality audio synthesis.
5+
This AI-powered solution not only automates and optimizes the podcast creation process but also allows content creators to deliver professional audio content at scale efficiently.
6+
# **1. Prepare your user**
7+
8+
In Oracle Cloud Infrastructure (OCI), API keys are used for secure authentication when accessing OCI resources through REST APIs. OCI API keys consist of two parts: a Public key and a Private key. You use the OCI console to generate the Private/Public key pair.
9+
Generate API Keys using OCI Console
10+
To Generate the API Keys using OCI Console:
11+
12+
- Login into your OCI Account.
13+
![alt text](ak1.png)
14+
- Click on the Profile icon at the top-right corner and select your Profile hyperlink.
15+
![alt text](ak2.png)
16+
- Under Resources section at the bottom-left, select API Keys and then click Add API Key.
17+
![alt text](ak3.png)
18+
- The Add API Key dialog is displayed. Select Generate API Key Pair to create a new key pair.
19+
![alt text](ak4.png)
20+
- Click Download Private Key. A .pem file is saved to your local device. You do not need to download the public key and click Add button.
21+
![alt text](ak5.png)
22+
23+
24+
25+
# **2.Pick you compartment**
26+
Identify the compartment you're currently working within. Navigate to 'Identity' -> 'Compartments'. Locate your compartment and make a note of its OCID (Oracle Cloud Identifier)
27+
28+
# **3.Open Visual Builder**
29+
## Import Visual Builder project
30+
* Open Visual Builder and click on the "Import" button. Choose "Application from file".
31+
* Drop the zip project file
32+
* Provide a name and an ID, for example "Podcast_Generator". Click on Import button.
33+
![alt text](import_project.jpg)
34+
35+
## Configure REST APIs authentication
36+
* Open the recently created project.
37+
38+
* Click on Services button (left side) and click on "Backends"
39+
![alt text](services.jpg)
40+
41+
* Now, click on TTS, and Servers to edit server authentication.
42+
![alt text](edit_tts.jpg)
43+
44+
* Click the pencil to provide the OCI Crendentials
45+
![alt text](edit_tts_2.jpg)
46+
47+
* Provide the crendentials you got during the step 1.
48+
![alt text](signature.jpg)
49+
50+
* Repeat the same process with the GenAI backend.
51+
52+
## Provide your compartmentId
53+
* Provide compartmentId default value in the project variable named "comparmentid" that you got during the step 2.
54+
![alt text](compartmentid.jpg)
55+
56+
# **4.Preview the application**
57+
* Now can provide a topic in the text area and click "generate" button.
58+
![alt text](preview.jpg)
59+
60+
* Automatically a podcast script will be created and will generate the audio podcast using the Cindy and Bob voices
61+
![alt text](generated.jpg)
62+
63+
64+
## I hope you liked it.
65+
Author: Jesús Brasero
1.87 MB
Loading
316 KB
Loading
440 KB
Loading
185 KB
Loading
335 KB
Loading
170 KB
Loading
102 KB
Loading

0 commit comments

Comments
 (0)