ShareShortcuts

Dictate Text via Speechmatics API

twilsonco
Fork “Dictate Text via Speechmatics API”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so twilsonco gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
26K
Saved
0
Actions
61
Category
API
Version
1.0
Language
EN

This simple shortcut demonstrates using Speechmatics API for speech-to-text (STT)

It’s slower than the built in STT but much better quality. You get 4 hours per month free with their free plan, too 😎 (plus another 4 hours of realtime STT that can’t be used via shortcuts in this way).

Can modify the shortcut to change the transcription language or to have Speechmatics perform translation, sentiment analysis, and other things. See the API documentation for more information (linked in the shortcut).

What's New

Version 1.0

First release

Version History
1.0 Feb 9, 2024

First release

What it does

61 actions
  1. Comment
    Speechmatics API Tim Wilson, January 2024 A simple Shortcut demonstrating the use of the Speechmatics API to transcribe an audio file. Meant to be called from other shortcuts to perform STT, but works standalone for demonstration purposes. Input: an…
  2. Comment
    Enter Speechmatics API key. Get one here: https://portal.speechmatics.com
  3. Text
  4. Comment
    How many seconds should the shortcut wait for the transcription job to finish?
  5. Number
  6. Comment
    Check for Shortcut updates
  7. Nothing
  8. Comment
    【Auto-Update Routine】 Checks For Latest Shortcut Version ↳ https://routinehub.co/shortcut/16590/
  9. Dictionary
  10. Get Dictionary Value
  11. If
  12. Get IP Address
  13. If
  14. Get Contents of URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  15. If
  16. Split Text
  17. Repeat with Each
  18. Calculate Expression
  19. Set Variable
    Latest Version
  20. Split Text
  21. Repeat with Each
  22. Calculate Expression
  23. Set Variable
    Current Version
  24. If
  25. Choose from Menu
    New Version: … Release: … Whats New: "…"
  26. Choose from Menu
    Update → Result (Version)
  27. Expand URL
  28. Replace Text
  29. Open URLs
  30. Stop This Shortcut
  31. Choose from Menu
    Skip (Info (Version))
  32. Comment
    【Auto-Update Routine Ends Here】 Support → https://www.reddit.com/r/shortcuts/comments/18j4f9p/ 【⚙️】 Convert Semantic Number to Decimals ↳ https://routinehub.co/shortcut/16589/
  33. Nothing
  34. Set Variable
    Input
  35. If
  36. Record Audio
  37. Set Variable
    Input
  38. Comment
    First send the audio file to create the transcription job. API call returns the job ID.
  39. Text
  40. Get Contents of URL
    https://asr.api.speechmatics.com/v2/jobs/
  41. If
  42. Show Result
  43. Stop This Shortcut
  44. Comment
    Check job status. Loop until job is complete.
  45. Text
  46. Repeat
  47. Get Contents of URL
    https://asr.api.speechmatics.com/v2/jobs/…
  48. If
  49. Show Result
  50. Stop This Shortcut
  51. Get Dictionary Value
  52. Get Dictionary Value
  53. If
  54. If
  55. If
  56. Comment
    Get transcription
  57. Get Contents of URL
    https://asr.api.speechmatics.com/v2/jobs/…/transcript?format=txt
  58. If
  59. Show Result
  60. Stop and Output
  61. Wait

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by twilsonco

See All

You Might Also Like

See All
Advertisement