Generate & queue a batch
“Turn these three notes into separate audio tracks and add them to my listening queue in order.”
Sonelune Hand your notes, articles or study material to an AI assistant and let it check credits, generate narrated audio, search past tracks and organize your listening queue using the Sonelune Skill and Personal API.
First, show me where to set SONELUNE_API_KEY in your environment. I’ll enter the key myself. Once it’s set, install the Sonelune skill from https://github.com/sonelune/skills and check my credit balance to confirm the connection.
Enter the key in the assistant’s environment or secret settings. Keep it out of the chat.
Create and copy a personal API key in your account. Set SONELUNE_API_KEY to that key in the environment where your assistant runs.
If you’re unsure where to set it, ask your AI assistant “Where should I set SONELUNE_API_KEY so you can access it?” Enter the key yourself.
The Sonelune Skill reads SONELUNE_API_KEY to access your account. Copy the full key when you create it. Keep it out of the chat.
For zsh, open ~/.zshrc (for example, run nano ~/.zshrc). For bash, macOS login terminals typically use ~/.bash_profile and Linux interactive terminals use ~/.bashrc. Add the line below, replacing YOUR_KEY with your full key. Save, open a new terminal, and launch your assistant there.
export SONELUNE_API_KEY='YOUR_KEY'Open “Edit environment variables for your account”. Under User variables, add SONELUNE_API_KEY with your full key as its value. Save, reopen your terminal, and launch your assistant.
Desktop and cloud assistants generally do not read your local shell configuration. If your assistant offers environment variable or secret settings, add SONELUNE_API_KEY there with your full key, save, and restart as directed.
Ask “How many Sonelune credits do I have?” to verify the connection for free.
Run this command in your project folder. If prompted, select the assistant you use.
npx skills add sonelune/skillsStart by asking “Use Sonelune to check my credit balance.” Once the balance comes back, attach your notes and ask it to quote or generate audio.
Your assistant must be able to call the Sonelune API with your personal API key. Send the key only to https://api.sonelune.com in the Authorization header using the Bearer scheme. If your assistant supports Agent Skills, load SKILL.md for step-by-step instructions.
Install the Skill once, then manage your personal audio library in plain language.
“Turn these three notes into separate audio tracks and add them to my listening queue in order.”
“Use Sonelune to check my credit balance and estimate how many credits these notes would take.”
“Find the Japanese audio tracks I generated last week and give me their player links.”
“Show what is in my Sonelune listening queue and remove the first track without deleting it from my library.”