iGSTT(Gemini STT)
iGSTT(Gemini STT) 开源免费的语音转文本(STT)的命令行工具。
iGSTT(Gemini STT) 是通过调用 Gemini STT 的接口,实现语音转文本(STT)的命令行工具。
添加 API key
# 编辑 .zshrc:
vim ~/.zshrc
# 添加信息(导入环境变量):
export GEMINI_API_KEY=<YOUR_API_KEY_HERE>
# 保存后应用更改:
source ~/.zshrc
安装 iGSTT
pip install igstt
运行 iGSTT
usage: igstt [-h] [-i INPUT] [-o OUTPUT] [text]
🎧 Gemini 语音转文本(STT)工具
positional arguments:
text 提示信息
options:
-h, --help show this help message and exit
-i, --input INPUT 音频文件路径
-o, --output OUTPUT 输出文件路径(默认与输入同名 .lrc)
实例
# 指定语音文本的内容
igstt "Describe this audio clip"
# 指定语音文本的文件 -i "input.mp3"
igstt -i "input.mp3"
# 指定语音文本的文件 -i "input.mp3"
# 指定语音保存的文件 -o "output.lrc"
igstt -i "input.mp3" -o "output.lrc"
实例转LRC
igstt -i input.wav
提示信息: Generate LRC, LRC content format: [minutes:seconds.milliseconds] English | Simplified Chinese
音频文件: input.wav
输出文件: input.lrc
🤖 Gemini 返回:
[00:00.060] Hello, |
[00:00.550] | 这是一个 Gemini TTS CLI 工具。
[00:04.650] | 记得关注哦。
####################
✅ 已写入到 input.lrc
模型
gemini-2.5-flash
获取 API key
API key:https://aistudio.google.com/apikey
额度参数:
每分钟请求数 (RPM)
每分钟 token 数(输入)(TPM)
每日请求数 (RPD)
免费额度:
RPM:10
TPM:250000
RPD:250
额度详情:https://ai.google.dev/gemini-api/docs/rate-limits?hl=zh-cn
接口详情:https://ai.google.dev/gemini-api/docs/files?hl=zh-cn
软件信息
网站
GitHub
https://github.com/ichochy/igstt
PyPI
Metadata
Release files for iGSTT 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| igstt-0.1.1.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| igstt-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / igstt-0.1.1.tar.gz
| Download URL | igstt-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c671cbaf99b5f12931999511440b7d44c52f0fdd2ede3202990c18737baf3a3f
|
|
BLAKE2b-256 checksum How to use checksums |
35f615665ecf37ffc632ab7df827de2f5d6c350e1460cda737803db41dba5020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.8 Darwin/25.0.0
|
Release files / igstt-0.1.1-py3-none-any.whl
| Download URL | igstt-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
248c001c84a5c71b228346f42318aab870ea8b942850ef23046660297061ce08
|
|
BLAKE2b-256 checksum How to use checksums |
0d8b050ce18826a0156f679a7c6038c7ed67043146634f7104544be512a66584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.8 Darwin/25.0.0
|
Security for iGSTT 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.