-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfast-sub-go.example.toml
More file actions
27 lines (22 loc) · 1.11 KB
/
Copy pathfast-sub-go.example.toml
File metadata and controls
27 lines (22 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Fast Sub Go example configuration.
# Keep raw API keys out of this file. Store secrets in environment variables.
#
# To use this as the default config from the project root:
# Copy or rename it to fast-sub-go.toml
# Or pass it explicitly:
# fast-sub-go transcribe input.mp4 --config fast-sub-go.example.toml ...
[providers.api-openai-transcription]
# Transcription model. This keeps API provider model selection explicit even when
# you do not pass --model on the command line.
model = "gpt-4o-transcribe"
# Read the API key from this environment variable.
# FAST_SUB_OPENAI_API_KEY is also recognized by `providers test`.
api_key_env = "OPENAI_API_KEY"
# OpenAI-compatible base URL. Use a local or self-hosted compatible endpoint here if needed.
base_url = "https://api.openai.com/v1"
# Upload format for API STT audio preparation: auto, wav, m4a, or mp3.
# auto currently chooses a compressed m4a upload for the official OpenAI endpoint.
api_upload_format = "auto"
# Request word timestamps when the selected model supports them.
# The current OpenAI runtime only sends word timestamp parameters for whisper-1.
words = false