STTRequestResponseFormat
Output format. “json” (default) returns { text, usage }. “verbose_json” additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import (
"github.com/OpenRouterTeam/go-sdk/models/components"
)
value := components.STTRequestResponseFormatJSON
// Open enum: custom values can be created with a direct type cast
custom := components.STTRequestResponseFormat("custom_value")
| Name | Value |
|---|---|
STTRequestResponseFormatJSON | json |
STTRequestResponseFormatVerboseJSON | verbose_json |