remove defaults

This commit is contained in:
Tobi 2025-03-23 22:24:08 +00:00 committed by GitHub
parent 176b33b0ce
commit 3910f2de56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,59 +42,47 @@ components:
videoQuality: videoQuality:
type: string type: string
enum: ["144", "240", "360", "480", "720", "1080", "1440", "2160", "4320", "max"] enum: ["144", "240", "360", "480", "720", "1080", "1440", "2160", "4320", "max"]
default: "1080"
description: "Video resolution quality (e.g., '144', '720', '1080', up to '4320' or 'max')." description: "Video resolution quality (e.g., '144', '720', '1080', up to '4320' or 'max')."
audioFormat: audioFormat:
type: string type: string
enum: ["best", "mp3", "ogg", "wav", "opus"] enum: ["best", "mp3", "ogg", "wav", "opus"]
default: "mp3"
description: "Audio format for extraction or conversion." description: "Audio format for extraction or conversion."
audioBitrate: audioBitrate:
type: string type: string
enum: ["320", "256", "128", "96", "64", "8"] enum: ["320", "256", "128", "96", "64", "8"]
default: "128"
description: "Audio bitrate in kbps for conversion; applies only when converting to audio." description: "Audio bitrate in kbps for conversion; applies only when converting to audio."
filenameStyle: filenameStyle:
type: string type: string
enum: ["classic", "pretty", "basic", "nerdy"] enum: ["classic", "pretty", "basic", "nerdy"]
default: "classic"
description: "File naming style for the output file." description: "File naming style for the output file."
downloadMode: downloadMode:
type: string type: string
enum: ["auto", "audio", "mute"] enum: ["auto", "audio", "mute"]
default: "auto"
description: "Download mode: 'auto' (video with audio), 'audio' (audio-only), or 'mute' (video without audio)." description: "Download mode: 'auto' (video with audio), 'audio' (audio-only), or 'mute' (video without audio)."
youtubeVideoCodec: youtubeVideoCodec:
type: string type: string
enum: ["h264", "av1", "vp9"] enum: ["h264", "av1", "vp9"]
default: "h264"
description: "Preferred video codec for YouTube downloads." description: "Preferred video codec for YouTube downloads."
youtubeDubLang: youtubeDubLang:
type: string type: string
description: "Language code for dubbed audio on YouTube (if applicable), e.g. 'en', 'ru', 'ja', 'es-US'." description: "Language code for dubbed audio on YouTube (if applicable), e.g. 'en', 'ru', 'ja', 'es-US'."
alwaysProxy: alwaysProxy:
type: boolean type: boolean
default: false
description: "If true, forces all downloads to proxy through the server." description: "If true, forces all downloads to proxy through the server."
disableMetadata: disableMetadata:
type: boolean type: boolean
default: false
description: "If true, do not embed metadata (like title or artist tags) in the output file." description: "If true, do not embed metadata (like title or artist tags) in the output file."
tiktokFullAudio: tiktokFullAudio:
type: boolean type: boolean
default: false
description: "If true, download the original sound for a TikTok video when available." description: "If true, download the original sound for a TikTok video when available."
tiktokH265: tiktokH265:
type: boolean type: boolean
default: false
description: "If true, allow H.265/HEVC video for TikTok (and Xiaohongshu) if available." description: "If true, allow H.265/HEVC video for TikTok (and Xiaohongshu) if available."
twitterGif: twitterGif:
type: boolean type: boolean
default: true
description: "If true, convert Twitter 'GIFs' (video format) into actual .gif files." description: "If true, convert Twitter 'GIFs' (video format) into actual .gif files."
youtubeHLS: youtubeHLS:
type: boolean type: boolean
default: false
description: "If true, use HLS streaming for YouTube video/audio downloads when available." description: "If true, use HLS streaming for YouTube video/audio downloads when available."
RedirectResponse: RedirectResponse:
type: object type: object