diff --git a/.env.example b/.env.example index a16d275f..977f7ad7 100644 --- a/.env.example +++ b/.env.example @@ -45,4 +45,5 @@ ALLOWED_TELEGRAM_USER_IDS=USER_ID_1,USER_ID_2 # IGNORE_GROUP_TRANSCRIPTIONS=true # TTS_MODEL="tts-1" # TTS_VOICE="alloy" +# TTS_PRICES=0.015,0.030 # BOT_LANGUAGE=en \ No newline at end of file diff --git a/README.md b/README.md index e6ce2e9d..c1479b2f 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ The following parameters are optional and can be set in the `.env` file: | `TOKEN_PRICE` | $-price per 1000 tokens used to compute cost information in usage statistics. Source: https://openai.com/pricing | `0.002` | | `IMAGE_PRICES` | A comma-separated list with 3 elements of prices for the different image sizes: `256x256`, `512x512` and `1024x1024`. Source: https://openai.com/pricing | `0.016,0.018,0.02` | | `TRANSCRIPTION_PRICE` | USD-price for one minute of audio transcription. Source: https://openai.com/pricing | `0.006` | +| `TTS_PRICES` | A comma-separated list with prices for the tts models: `tts-1`, `tts-1-hd`. Source: https://openai.com/pricing | `0.015,0.030` | Check out the [Budget Manual](https://github.com/n3d1117/chatgpt-telegram-bot/discussions/184) for possible budget configurations.