Skip to main content

Create viral-style one-word subtitles for Reels, Shorts & TikToks using AI. Perfect for content creators!

Project description

🎬 OneWord AI - Production Subtitle Generator

Enterprise-grade visual subtitle generator for Local & VPS Environments

PyPI Docker License

Generate viral-style subtitles locally or on your own server. No cloud notebooks, no timeouts.

InstallationWeb UICLIVPS Deployment


🚀 Installation

Local Setup (Windows/Mac/Linux)

  1. Install Python 3.9+ and FFmpeg.
  2. Install the package:
    pip install oneword-ai
    

📱 ARM / Android Support (Termux)

  1. Install Dependencies:

    pkg install python git clang make
    
  2. Install Package:

    pip install oneword-ai
    
  3. Setup Whisper.cpp (One-Time):

    onewordai-setup-arm
    

📱 Web Interface (Mobile)

To run the lightweight Web UI on your phone:

onewordai-web-arm

Open http://localhost:8000 in your mobile browser.


🖥️ Web Interface (Desktop)

Start the local web server to use the visual interface:

oneword-web
# OR
python -m onewordai.api.main

Open http://localhost:8000 in your browser.

Features:

  • Local Processing: No file size limits, 100% privacy.
  • 🎯 3 Modes: One Word, Two Word, Phrase.
  • 🌍 Multi-Language: Supports English, Hindi, Urdu, Spanish.
  • 🇮🇳 Special Hindi Model: Uses Oriserve/Whisper-Hindi2Hinglish-Prime.

⌨️ Command Line (CLI)

Perfect for batch processing or automation scripts:

# Process a single video
oneword-cli -i input_video.mp4

# Customize settings
oneword-cli -i input.mp4 -m medium -lang en --mode twoword

# Full help
# Full help
oneword-cli --help

ARM Devices (Termux)

Use the optimized ARM command:

# Process video
onewordai-process-arm -i video.mp4

# With settings
onewordai-process-arm -i video.mp4 -m base -lang hi

# Download other models
cd onewordai/arm/whisper.cpp
bash ./models/download-ggml-model.sh small

# Run Web UI
onewordai-web-arm

☁️ VPS / Server Deployment

Method 1: Docker (Recommended)

  1. Build the image:

    docker build -t oneword-ai .
    
  2. Run container:

    docker run -d -p 8000:8000 oneword-ai
    

Method 2: Systemd (Linux Servers)

Run as a background service on Ubuntu/Debian:

  1. Create service file: sudo nano /etc/systemd/system/oneword.service

    [Unit]
    Description=OneWord AI Web Server
    After=network.target
    
    [Service]
    User=root
    WorkingDirectory=/root/oneword-ai
    ExecStart=/usr/local/bin/oneword-web
    Restart=always
    
    [Install]
    WantedBy=multi-user.target
    
  2. Start service:

    sudo systemctl enable oneword
    sudo systemctl start oneword
    

📦 Models

Models are downloaded to ~/.cache/huggingface (or generic cache) on the first run.

Model Size Best For
medium ~1.5GB General Purpose (Default)
large ~3GB High Accuracy
Hindi2Hinglish ~1.5GB Hindi to Hinglish Transcription

📜 License

MIT License. Free for commercial use.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oneword_ai-0.2.4.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oneword_ai-0.2.4-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file oneword_ai-0.2.4.tar.gz.

File metadata

  • Download URL: oneword_ai-0.2.4.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for oneword_ai-0.2.4.tar.gz
Algorithm Hash digest
SHA256 c9262c75edc03b8bb19d683ae38a43b8f9204922d6437d87ebdafe4cdcb5a923
MD5 2a89cbbf561b3bca0c9792e4b55bc54d
BLAKE2b-256 7d268a69946676f95be32d9628fd19d8842e641232dcb253e03fb5a04a5d401f

See more details on using hashes here.

File details

Details for the file oneword_ai-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: oneword_ai-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for oneword_ai-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7d7f968a1aee4f238e473e290b8820f9b32b77c6ff83b042447cc89714ab618f
MD5 aaa0c39f7567a54517399ee7f21dac54
BLAKE2b-256 3c09de64adde78cd287b4c5efdc56da5cb434683fc8572d05e24c28112e26221

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page