Download input-schema.json from flashdata-dev/youtube-cloud-media-delivery-flashdata: direct link, hf CLI and curl.
- Browser
- Download file 2.97 kB
-
https://huggingface.co/spaces/flashdata-dev/youtube-cloud-media-delivery-flashdata/resolve/main/input-schema.json
- Command line
-
hf download hf://spaces/flashdata-dev/youtube-cloud-media-delivery-flashdata/input-schema.json
-
curl -L -o input-schema.json https://huggingface.co/spaces/flashdata-dev/youtube-cloud-media-delivery-flashdata/resolve/main/input-schema.json
2.97 kB
| { | |
| "additionalProperties": false, | |
| "description": "Media options only. Storage credentials are injected by the application.", | |
| "properties": { | |
| "video_id": { | |
| "description": "11-character YouTube video ID or a YouTube video URL.", | |
| "title": "Video Id", | |
| "type": "string" | |
| }, | |
| "download_type": { | |
| "default": "audio_video", | |
| "enum": [ | |
| "audio_video", | |
| "video", | |
| "audio" | |
| ], | |
| "title": "Download Type", | |
| "type": "string" | |
| }, | |
| "video_quality": { | |
| "anyOf": [ | |
| { | |
| "pattern": "^(best|worst|(?:<=|==|>=)(?:144|360|480|720|1080|1440|2160|4320))$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Video Quality" | |
| }, | |
| "fps": { | |
| "anyOf": [ | |
| { | |
| "pattern": "^(?:>=|<=|==)(?:[1-9]\\d?|1\\d\\d|2[0-3]\\d|240)$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Fps" | |
| }, | |
| "audio_language": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "default", | |
| "original" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Audio Language" | |
| }, | |
| "audio_quality": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "best", | |
| "320", | |
| "256", | |
| "192", | |
| "128" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Audio Quality" | |
| }, | |
| "yt_dlp_format": { | |
| "anyOf": [ | |
| { | |
| "maxLength": 1024, | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Yt Dlp Format" | |
| }, | |
| "upload_metadata": { | |
| "default": false, | |
| "title": "Upload Metadata", | |
| "type": "boolean" | |
| }, | |
| "output_format": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "mp4", | |
| "webm", | |
| "mkv", | |
| "m4a", | |
| "mp3", | |
| "opus" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Output Format" | |
| }, | |
| "start_at": { | |
| "anyOf": [ | |
| { | |
| "pattern": "^\\d{1,2}:[0-5]\\d:[0-5]\\d$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Start At" | |
| }, | |
| "end_at": { | |
| "anyOf": [ | |
| { | |
| "pattern": "^\\d{1,2}:[0-5]\\d:[0-5]\\d$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "End At" | |
| } | |
| }, | |
| "required": [ | |
| "video_id" | |
| ], | |
| "title": "YouTubeDownloadInput", | |
| "type": "object" | |
| } | |