Skip to content

Update Youtube Settings

PUT
/api/settings/youtube

Update YouTube transcription settings.

YouTubeSettingsUpdate
object
whisperModelSize
Any of:
string
Allowed values: tiny base small medium large-v3
whisperDevice
Any of:
string
Allowed values: cuda cpu auto
preferredCaptionLanguage
Any of:
string
autoAnalyze
Any of:
boolean
chunkSizeTokens
Any of:
integer
>= 100 <= 2000
chunkOverlapTokens
Any of:
integer
<= 200
maxVideoDurationMinutes
Any of:
integer
<= 600
keepAudioAfterTranscription
Any of:
boolean

Successful Response

SettingsUpdateResponse

Shared response envelope for every settings update endpoint.

status is "success" when at least one field changed, "noop" when the request carried no updatable fields. updated_fields lists the snake_case keys that were actually persisted so the caller can display exactly what changed.

object
status
required
Status
string
message
required
Message
string
updatedFields
required
Updatedfields
Array<string>

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object