Use with an AI agent
Generate Arabic voiceovers with Claude Code, Codex, and the official Sawtak Arabi skill.
The official arabic-voiceover skill finds voices and saves a finalized WAV in your workspace. Installation is free; generation uses your Sawtak Arabi balance.
To connect an assistant through OAuth instead of configuring an API key, use Hosted MCP.
1. Install the skill
Ask Claude Code or Codex to install SawtakArabi/skill, or run:
npx skills add SawtakArabi/skill --skill arabic-voiceover -g -a claude-code -a codexInstallation needs Node.js/npm. Generation needs Python 3.10+ and the skill's dependencies. Your agent can complete the setup using the bundled instructions.
2. Connect your API key
Create a key in API Keys and configure SAWTAK_API_KEY in your agent's environment. Follow Authentication for terminal setup. Launch the agent from that terminal, or use its supported secret settings. Keep the key out of chat.
3. Ask for a voiceover
Use Sawtak Arabi to generate a Saudi Najdi Arabic voiceover for my coffee shop. Save it as narration.wav.
You can also invoke /arabic-voiceover in Claude Code or $arabic-voiceover in Codex. Supply your script, preferred dialect, and voice when you have one. The skill selects a ready voice and returns the audio file and duration. It enables pronunciation enhancement unless you ask to disable it.
Run the helper directly
Set SKILL_DIR to the installed skill directory and VOICE_ID to a ready voice returned by the helper. Put your script in a UTF-8 file named narration.txt.
SKILL_DIR="/path/to/arabic-voiceover"
python3 "$SKILL_DIR/scripts/generate.py" doctor
python3 "$SKILL_DIR/scripts/generate.py" dialects --search Najdi
python3 "$SKILL_DIR/scripts/generate.py" voices --dialect saudi-najdi --limit 5
VOICE_ID="<returned-voice-id>"
python3 "$SKILL_DIR/scripts/generate.py" generate \
--voice "$VOICE_ID" --text-file narration.txt \
--output narration.wav --enhance-pronunciationdoctor checks setup without generating paid audio. voices --details includes descriptions and previews.
Verify the recording
Before using a generated recording, read its operation ID from narration.json and run the helper's inspect command below. Confirm outcome: "completed" and that completion_bytes matches the WAV's PCM payload, excluding its header. A finalized WAV alone does not confirm generation completed. See Streaming audio for completion and retry guidance.
python3 "$SKILL_DIR/scripts/generate.py" inspect "<operation-id>"Create a video
Give your coding agent the public Arabic video starter, your brief, dialect and brand assets:
Use https://github.com/SawtakArabi/arabic-video-starter to create a vertical product advertisement with Saudi Najdi narration from Sawtak Arabi. Read its agent instructions and dialect guide. Keep one voice across scenes and return the MP4 and editable project.
The agent clones the repository, uses the skill to generate scene narration, and runs its Remotion renderer. It measures the recordings to set scene lengths and reuses unchanged takes during revisions. An existing video project can keep its own renderer. See the video walkthrough for the manual steps.
Interrupted generation
The helper keeps request details in narration.json and received audio in narration.partial.wav. A partial file is incomplete. Inspect its saved operation ID before generating again:
python3 "$SKILL_DIR/scripts/generate.py" inspect "<operation-id>"Inspection checks status and billing; it cannot recover audio. The helper never automatically regenerates interrupted work.
See the skill instructions for the full workflow, or Quickstart to use the API directly.
Sawtak Arabi documentation
Generate Arabic speech for your app or voice agent. Choose a voice, connect to the API, and work with streamed audio.
Arabic TTS integrations
Add Arabic text to speech to LiveKit voice agents, applications and assistants using the OpenAI-compatible API, hosted MCP or coding-agent skill.