Skills aimlapi-voice
Transcribe audio files (ogg, mp3, wav, etc.) using AIMLAPI. Use when the user provides audio messages or local audio files. Provides a reliable Python script with retries and polling.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aimlapihello/aiml-voice" ~/.claude/skills/openclaw-skills-aimlapi-voice && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/aimlapihello/aiml-voice" ~/.openclaw/skills/openclaw-skills-aimlapi-voice && rm -rf "$T"
manifest:
skills/aimlapihello/aiml-voice/SKILL.mdsource content
AIMLAPI Voice Transcription
Overview
A robust skill for transcribing audio via AIMLAPI's specialized speech-to-text endpoints. It handles queuing, polling for results, and automatic MIME-type detection.
Quick Start
# Set your API key first (if not in env) # export AIMLAPI_API_KEY="your-key-here" # Transcribe a file python {baseDir}/scripts/transcribe.py path/to/audio.ogg
Tasks
Process Voice Messages
When an audio file is received, use this script to extract the text.
python {baseDir}/scripts/transcribe.py <file_path> \ --model "#g1_whisper-medium" \ --verbose
Arguments
: (Required) Path to the audio file.file
: Model ID (default:--model
).#g1_whisper-medium
: Path to save the transcript text.--out
: Seconds between status checks (default: 5).--poll-interval
: Stop waiting after N seconds (default: 300).--max-wait
Dependencies
- Python 3
set in environment or provided viaAIMLAPI_API_KEY
.--apikey-file