raju014 commited on
Commit
249f6c1
·
verified ·
1 Parent(s): 0bed483

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +15 -0
  2. README.md +31 -11
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/imputnet/cobalt:latest
2
+
3
+ # HuggingFace uses port 7860
4
+ ENV API_PORT=7860
5
+ ENV API_LISTEN_ADDRESS=0.0.0.0
6
+
7
+ # Disable authentication (this makes it public - no API key needed)
8
+ ENV API_AUTH_REQUIRED=0
9
+
10
+ # Enable CORS for external access
11
+ ENV CORS_WILDCARD=1
12
+ ENV CORS_URL=*
13
+
14
+ # Expose the port HuggingFace expects
15
+ EXPOSE 7860
README.md CHANGED
@@ -1,11 +1,31 @@
1
- ---
2
- title: Cobalt Api
3
- emoji: 🌍
4
- colorFrom: pink
5
- colorTo: yellow
6
- sdk: docker
7
- pinned: false
8
- license: mit
9
- ---
10
-
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Cobalt API
3
+ emoji: 🎬
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ license: mit
9
+ ---
10
+
11
+ # Cobalt API - YouTube Video Downloader
12
+
13
+ This is a self-hosted Cobalt API instance for downloading YouTube videos with Hindi audio.
14
+
15
+ ## API Endpoint
16
+
17
+ POST to `/` with JSON body:
18
+
19
+ ```json
20
+ {
21
+ "url": "https://youtube.com/watch?v=VIDEO_ID",
22
+ "youtubeDubLang": "hi"
23
+ }
24
+ ```
25
+
26
+ ## Features
27
+
28
+ - Free to use
29
+ - No authentication required
30
+ - Hindi dubbed audio support
31
+ - 1080p video quality