You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+26-3
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@
23
23
*[Set Up OpenAI Embeddings Language Processing](#set-up-classification-via-openai-embeddings)
24
24
*[Set Up OpenAI Whisper Language Processing](#set-up-audio-transcripts-generation-via-openai-whisper)
25
25
*[Set Up Azure AI Language Processing](#set-up-text-to-speech-via-microsoft-azure)
26
+
*[Set Up OpenAI Text to Speech Processing](#set-up-text-to-speech-via-openai)
26
27
*[Set Up AWS Language Processing](#set-up-text-to-speech-via-amazon-polly)
27
28
*[Set Up Azure AI Vision Image Processing](#set-up-image-processing-features-via-microsoft-azure)
28
29
*[Set Up OpenAI DALL·E Image Processing](#set-up-image-generation-via-openai)
@@ -46,7 +47,7 @@ Tap into leading cloud-based services like [OpenAI](https://openai.com/), [Micro
46
47
* Generate new images on demand to use in-content or as a featured image using [OpenAI's DALL·E 3 API](https://platform.openai.com/docs/guides/images)
47
48
* Generate transcripts of audio files using [OpenAI's Whisper API](https://platform.openai.com/docs/guides/speech-to-text)
48
49
* Moderate incoming comments for sensitive content using [OpenAI's Moderation API](https://platform.openai.com/docs/guides/moderation)
49
-
* Convert text content into audio and output a "read-to-me" feature on the front-end to play this audio using [Microsoft Azure's Text to Speech API](https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/text-to-speech) or [Amazon Polly](https://aws.amazon.com/polly/)
50
+
* Convert text content into audio and output a "read-to-me" feature on the front-end to play this audio using [Microsoft Azure's Text to Speech API](https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/text-to-speech), [Amazon Polly](https://aws.amazon.com/polly/) or [OpenAI's Text to Speech API](https://platform.openai.com/docs/guides/text-to-speech)
50
51
* Classify post content using [IBM Watson's Natural Language Understanding API](https://www.ibm.com/watson/services/natural-language-understanding/) and [OpenAI's Embedding API](https://platform.openai.com/docs/guides/embeddings)
51
52
* BETA: Recommend content based on overall site traffic via [Microsoft Azure's AI Personalizer API](https://azure.microsoft.com/en-us/services/cognitive-services/personalizer/)*(note that this service has been [deprecated by Microsoft](https://learn.microsoft.com/en-us/azure/ai-services/personalizer/) and as such, will no longer work. We are looking to replace this with a new provider to maintain the same functionality (see [issue#392](https://github.com/10up/classifai/issues/392))*
52
53
* Generate image alt text, image tags, and smartly crop images using [Microsoft Azure's AI Vision API](https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/)
@@ -74,7 +75,7 @@ Tap into leading cloud-based services like [OpenAI](https://openai.com/), [Micro
74
75
* PHP 7.4+
75
76
*[WordPress](http://wordpress.org) 6.1+
76
77
* To utilize the NLU Language Processing functionality, you will need an active [IBM Watson](https://cloud.ibm.com/registration) account.
77
-
* To utilize the ChatGPT, Embeddings, or Whisper Language Processing functionality or DALL·E Image Processing functionality, you will need an active [OpenAI](https://platform.openai.com/signup) account.
78
+
* To utilize the ChatGPT, Embeddings, Text to Speech or Whisper Language Processing functionality or DALL·E Image Processing functionality, you will need an active [OpenAI](https://platform.openai.com/signup) account.
78
79
* To utilize the Azure AI Vision Image Processing functionality or Text to Speech Language Processing functionality, you will need an active [Microsoft Azure](https://signup.azure.com/signup) account.
79
80
* To utilize the Azure OpenAI Language Processing functionality, you will need an active [Microsoft Azure](https://signup.azure.com/signup) account and you will need to [apply](https://aka.ms/oai/access) for OpenAI access.
80
81
* To utilize the Google Gemini Language Processing functionality, you will need an active [Google Gemini](https://ai.google.dev/tutorials/setup) account.
@@ -86,7 +87,7 @@ Note that there is no cost to using ClassifAI itself. Both IBM Watson and Micros
86
87
87
88
IBM Watson's Natural Language Understanding ("NLU"), which is one of the providers that powers the classification feature, has a ["lite" pricing tier](https://www.ibm.com/cloud/watson-natural-language-understanding/pricing) that offers 30,000 free NLU items per month.
88
89
89
-
OpenAI, which is one of the providers that powers the classification, title generation, excerpt generation, content resizing, audio transcripts generation, moderation and image generation features, has a limited free trial and then requires a [pay per usage](https://openai.com/pricing) plan.
90
+
OpenAI, which is one of the providers that powers the classification, title generation, excerpt generation, content resizing, audio transcripts generation, text to speech, moderation and image generation features, has a limited free trial and then requires a [pay per usage](https://openai.com/pricing) plan.
90
91
91
92
Microsoft Azure AI Vision, which is one of the providers that powers the descriptive text generator, image tags generator, image cropping, image text extraction and PDF text extraction features, has a ["free" pricing tier](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/computer-vision/) that offers 20 transactions per minute and 5,000 transactions per month.
92
93
@@ -349,6 +350,7 @@ IBM Watson's [Categories](https://cloud.ibm.com/docs/natural-language-understand
349
350
## Set Up Audio Transcripts Generation (via OpenAI Whisper)
350
351
351
352
Note that [OpenAI](https://platform.openai.com/docs/guides/speech-to-text) can create a transcript for audio files that meet the following requirements:
353
+
352
354
* The file must be presented in mp3, mp4, mpeg, mpga, m4a, wav, or webm format
353
355
* The file size must be less than 25 megabytes (MB)
354
356
@@ -401,6 +403,27 @@ Note that [OpenAI](https://platform.openai.com/docs/guides/speech-to-text) can c
401
403
* Click the button to preview the generated speech audio for the post.
402
404
* View the post on the front-end and see a read-to-me feature has been added
403
405
406
+
## Set Up Text to Speech (via OpenAI)
407
+
408
+
### 1. Sign up for OpenAI
409
+
410
+
*[Sign up for an OpenAI account](https://platform.openai.com/signup) or sign into your existing one.
411
+
* If creating a new account, complete the verification process (requires confirming your email and phone number).
412
+
* Log into your account and go to the [API key page](https://platform.openai.com/account/api-keys).
413
+
* Click `Create new secret key` and copy the key that is shown.
414
+
415
+
### 2. Configure OpenAI API Keys under Tools > ClassifAI > Language Processing > Text to Speech
416
+
417
+
* Select **OpenAI Text to Speech** in the provider dropdown.
418
+
* Enter your API Key copied from the above step into the `API Key` field.
419
+
420
+
### 3. Using the Text to Speech service
421
+
422
+
* Assuming the post type selected is "post", create a new post and publish it.
423
+
* After a few seconds, a "Preview" button will appear under the ClassifAI settings panel.
424
+
* Click the button to preview the generated speech audio for the post.
425
+
* View the post on the front-end and see a read-to-me feature has been added
0 commit comments