Generate commercially licensed music, sound effects, newly mixed videos, translated subtitles, and dubbed videos from text or video, directly in Codex — powered by Sonilo's hosted generation service.
Status: published. Sonilo 1.0.0 is available in the public Plugins Directory. This repository prepares version 1.1.0; changing this package does not publish a new directory release or deploy the hosted MCP service.
- A Sonilo Platform account at
platform.sonilo.com — this is the
developer/API account you sign in with during authorization. It is separate
from a consumer
sonilo.comaccount; if you only have the latter, create a Platform account first. - Codex with plugin support.
No API key is configured in this plugin. Access is per-user via OAuth — you sign in with your Sonilo Platform account, no key to copy or paste.
Open Sonilo in the Plugins Directory to install the published plugin and connect your Sonilo Platform account.
To install from this repository, clone it, add it as a Codex plugin marketplace,
then install sonilo.
git clone https://github.com/sonilo-ai/sonilo-codex-plugin.git
codex plugin marketplace add ./sonilo-codex-plugin
codex plugin add sonilo@soniloThe first time Codex calls a Sonilo tool, it opens your browser to sign in to
your Sonilo Platform account and approve access
(authorize → consent → callback). Codex stores the resulting token locally per
user; the plugin itself ships no key, secret, or token. Run
codex mcp login sonilo_platform anytime to review or refresh the connection.
The bundled connection is named sonilo_platform so an existing local Python
MCP named sonilo cannot override it. When upgrading a local installation,
reinstall the plugin and reconnect this hosted server. If the desktop app still
shows only the old tools, restart the app before starting a new conversation.
- Create music from a text prompt
- Match music to the pacing and edits of a public HTTPS video URL
- Generate sound effects from text or a public HTTPS video URL
- Return a new video with generated music while optionally preserving speech
- Return a new video with generated sound effects mixed in
- Generate music and sound effects together in one soundtrack or new video
- Generate multiple music versions and separate instrument stems
- Place sound effects at specified times
- Duck music under voice audio
- Review translated subtitles before dubbing into the requested languages
- Keep names and terms intact in translations, and set how the dub pronounces them, with a glossary
- Ask for a music brief, a sound-design brief, or both for a video
- Use a video, audio, or subtitle file from your computer by uploading it to Sonilo
- Use an eligible account's 15-second dubbing preview, then request a full video
- Check available account services and historical usage
- Retrieve an existing generation after waiting or a timeout without resubmission
Features depend on the connected hosted tool schemas and account access. The Sonilo MCP repository is a useful feature reference, but its file-path parameters and playback tools are not bundled here; local files go through the hosted upload tool instead.
- "Create 30 seconds of upbeat lo-fi music for a product demo."
- "Create a cinematic 3-second whoosh sound effect."
- "Add cinematic music to this public HTTPS video and return a new video while preserving speech:
<url>" - "Give me three music choices for this 30-second café ad:
<public HTTPS video URL>" - "Generate 30 seconds of jazz with separate drums and bass tracks."
- "Translate this video into English subtitles first. I will correct the product names before dubbing:
<public HTTPS video URL>" - "Translate this demo into Japanese subtitles and keep the name Sonilo as written:
<public HTTPS video URL>" - "Let me try English dubbing for free:
<public HTTPS video URL>" - "Add music to
~/Videos/launch.mp4and give me the finished video." - "Is the English dubbing task from earlier finished?"
Use real public HTTPS media URLs in place of the labels above. A local file
or attachment is not a hosted media URL: when the hosted create_upload_url
tool is available and Codex can run the upload, the plugin uploads a file you
name to temporary storage on your Sonilo Platform account and uses the link it
gets back; otherwise it asks for a public HTTPS URL. The plugin returns actual result
links for previews, subtitles, videos, variants, and stems.
The plugin checks available services and trial allowance with
get_account_services before new work, and reports the cash balance only when
you ask for it. Historical spending comes from get_usage and is not used as
a balance.
Credit errors are explained in plain terms, with no links, prices, or purchase steps, and generation is not retried automatically. Purchases are not available through the plugin.
After a preview or a rejected request, ask to continue with the same video. The plugin retrieves any existing task before submitting new work. A full video after a preview is a new generation of the original source, not a free extension of the preview task.
Generation, transcription, dubbing, and video-analysis tools can consume
existing account credits. Available free runs depend on the service and
account; dubbing previews require one target language and no supplied script.
Multiple music variants and multi-language dubbing can cost more. Account and usage
tools (get_account_services, get_usage, get_generation_task) are
read-only and never incur a charge. Uploading a file is also free. Paid tools run only after you explicitly
ask for them.
This plugin adds a single remote MCP server and connects only to Sonilo's hosted endpoint:
- Endpoint:
https://api.sonilo.com/mcp(HTTPS, Streamable HTTP MCP) - Authorization server: Sonilo's Clerk instance (OAuth 2.1 + PKCE; the plugin registers dynamically — no pre-shared client secret)
- Data sent: your prompts, any media URLs you provide to a tool, and any local file you ask the plugin to process, which is uploaded to Sonilo as a temporary working file
- Data stored: the OAuth token, kept locally per user by Codex
The plugin bundles no local command or binary. Uploading a local file uses an HTTP PUT that Codex runs in your environment when you ask for it.
- Platform / account: platform.sonilo.com
- Website: sonilo.com
- Contact: info@sonilo.com
Run the structural checks locally:
python3 scripts/check_release.pyInclude production endpoint, OAuth metadata, and public-link checks:
python3 scripts/check_release.py --liveMIT — see LICENSE.