Login About Gallery
Transcribe With Whisper AI
Accepts
Media
COMMENT
Created by @fredy_mederos https://routinehub.co/shortcut/14413
COMMENT
Add your OpenAI API-KEY here https://platform.openai.com/account/api-keys
TEXT
Text
VARIABLES
Add
Text
to
API_KEY
COMMENT
Questions and prompts: You can edit here the titles and prompts as you like.
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
VARIABLES
Set variable
PROMPTS
to
Dictionary
COMMENT
[Auto-Update]
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
NETWORK
Get contents of
https://routinehub.co/api/v1/shortcuts/
RoutineHubID
/versions/latest
Options Under Construction
SCRIPTING
If
Result
contains
Version
VARIABLES
Set variable
LastVersion
to
Result
SCRIPTING
If
LastVersion
is greater than
CurrentVersion
SCRIPTING
Choose from Menu
Update to the latest version →
SAFARI
SCRIPTING
Exit shortcut with
Result
Skip Update
End Menu
End If
End If
COMMENT
End of [Auto-Update]
COMMENT
[File Size Validations]
DOCUMENTS
Get
File Size
from
Shortcut Input
SCRIPTING
If
File Size
is greater than
<value>
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
SCRIPTING
Exit shortcut with
Result
Otherwise
SCRIPTING
If
File Size
is greater than
<value>
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
End If
End If
COMMENT
End of [File Size Validations]
COMMENT
[Whisper AI]
NETWORK
Get contents of
https://api.openai.com/v1/audio/transcriptions
Options Under Construction
SCRIPTING
Get
Value
for
error
in
Contents of URL
SCRIPTING
If
Dictionary Value
has any value
SCRIPTING
Get
Value
for
message
in
Dictionary Value
SCRIPTING
SCRIPTING
Exit shortcut with
Result
End If
SCRIPTING
Get
Value
for
text
in
Contents of URL
VARIABLES
Set variable
TRANSCRIPTION
to
Dictionary Value
COMMENT
End of [Whisper AI]
SCRIPTING
Repeat
20 times
COMMENT
[GPT Menu]
SCRIPTING
Choose from Menu
Show Original Text
TEXT
ORIGINAL
VARIABLES
Set variable
MENU
to
Text
PROMPTS (q1_title)
VARIABLES
Set variable
MENU
to
PROMPTS
PROMPTS (q2_title)
VARIABLES
Set variable
MENU
to
PROMPTS
PROMPTS (q3_title)
VARIABLES
Set variable
MENU
to
PROMPTS
End Menu
SCRIPTING
If
MENU
is
ORIGINAL
SCRIPTING
Show
TRANSCRIPTION
Otherwise
COMMENT
End of [GPT Menu]
COMMENT
[GPT-3.5-turbo]
TEXT
TRANSCRIPTION
MENU
NETWORK
Get contents of
https://api.openai.com/v1/chat/completions
Options Under Construction
SCRIPTING
Get
Value
for
choices
in
Contents of URL
SCRIPTING
Get
Value
for
message
in
Dictionary Value
SCRIPTING
Get
Value
for
content
in
Dictionary Value
SCRIPTING
COMMENT
End of [GPT-3.5-turbo]
End If
End Repeat

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 4 months ago

This is an old shortcut, so some variables might be missing!

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0