yukee1992 commited on
Commit
0ffd9d8
Β·
verified Β·
1 Parent(s): 2c4ebcb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -6
README.md CHANGED
@@ -1,12 +1,49 @@
1
  ---
2
- title: Text Styling
3
- emoji: πŸ‘
4
- colorFrom: blue
5
- colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 6.9.0
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Text Styling Space
3
+ emoji: 🎨
4
+ colorFrom: purple
5
+ colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 4.19.2
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
+ # 🎨 Text Styling Space
13
+
14
+ Add beautiful text overlays and captions to your videos using fonts from your HF Dataset.
15
+
16
+ ## Features
17
+
18
+ - ✨ **Title Overlays** - Add styled titles with custom fonts
19
+ - πŸ“ **Subtitles** - Burn subtitles into videos
20
+ - πŸ’§ **Watermarks** - Add watermark text
21
+ - 🎯 **Multiple Positions** - Place text anywhere
22
+ - 🎨 **Custom Colors** - Choose text and background colors
23
+ - 🌏 **Multi-language** - Supports Chinese, English, Japanese fonts
24
+
25
+ ## API Endpoints
26
+
27
+ ### POST /api/style
28
+ Add text overlays to a video
29
+
30
+ ```json
31
+ {
32
+ "project_id": "your-project-id",
33
+ "video_url": "https://.../base_video.mp4",
34
+ "title_overlay": {
35
+ "text": "My Awesome Video",
36
+ "font_family": "source-han-sans",
37
+ "font_size": 60,
38
+ "color": "gold",
39
+ "bg_color": "black@0.5",
40
+ "position": "center"
41
+ },
42
+ "subtitles": {
43
+ "font_family": "noto-cjk",
44
+ "font_size": 32,
45
+ "color": "white",
46
+ "bg_color": "black@0.7",
47
+ "position": "bottom"
48
+ }
49
+ }