ShareShortcuts

Dictate Text via Speechmatics API

twilsonco
Создать форк «Dictate Text via Speechmatics API»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы twilsonco получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
26K
Сохранено
0
Действия
61
Категория
API
Версия
1.0
Язык
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).

Что нового

Версия 1.0

First release

История версий
1.0 9 фев 2024 г.

First release

Что делает

Действий: 61
  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

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от twilsonco

См. все

Вам также может понравиться

См. все
Реклама