Ayah Studio is a Quran video subtitle editor for creators who work with recitation clips. It helps you load a reciter video, choose ayahs, generate subtitle timing, refine the text, position the overlay visually, and export subtitle files for use in editors and publishing workflows.
- Browse all 114 surahs and load Arabic ayahs with translation from the Al-Quran Cloud API
- Select ayahs and generate timed subtitle tracks with configurable seconds per ayah
- Upload a local recitation clip and preview subtitles over the real video
- Switch between
16:9,9:16, and1:1canvas presets for YouTube, Reels, and feed formats - Drag subtitle placement directly inside the preview, with quick presets for upper-third, center, and lower-third layouts
- Edit subtitle timing, Arabic text, and translation inline
- Export subtitles as
SRT,ASS, orJSON
This repo is focused on the editing workflow, not final rendered video export yet.
Implemented now:
- Quran browsing and translation selection
- Subtitle generation and editing
- Timeline view
- Style presets for Arabic + translation overlays
- Local video preview
- Subtitle positioning
SRT/ASS/JSONexport
Not implemented yet:
- Burned-in final video rendering
- Audio waveform syncing
- Ayah auto-detection from uploaded audio/video
- Saved cloud projects
Ayah Studio currently expects Node 22.
nvm use 22
npm install
npm run devOpen http://localhost:3000.
If you do not use nvm, the repo includes .nvmrc and the package engine range in package.json.
- Upload a reciter clip in the workspace header, or start without a clip.
- Search and open a surah from the
Browsetab. - Choose the ayahs you want and click
Generate. - Review subtitles in the
Subtitlestab and edit text or timing. - Change subtitle style and position in the
Styletab. - Export
SRT,ASS, orJSON.
SRTis the most broadly compatible plain subtitle format.ASSkeeps styling and placement, including the current subtitle position inside the frame.JSONis useful for future integrations or custom rendering pipelines.
The intended direction is a Quran-aware editing workflow for short-form recitation content:
- reciter clip upload
- smart cropping for social formats
- ayah-aware subtitle alignment
- later, safer visual assist tools for backgrounds and supporting motion design
The app is intentionally not framed as unconstrained religious scene generation. The stronger product is accurate editing assistance around real recitation clips.
- Next.js 16
- React 19
- TypeScript
- Tailwind CSS v4
- Al-Quran Cloud API
- Main app entry:
src/app/page.tsx - Quran API client:
src/lib/quran-api.ts - Subtitle export utilities:
src/lib/export.ts - Project context and conventions:
CLAUDE.md