Lunara

io.github.DarkMatteros/lunara · v1.0.0 · ai-and-media

Lunara is healthy: it completed an MCP handshake in 1621 ms and exposes 18 tools.

Subtitle engine for AI agents: one upload gives a written track and a translation, timings exact.

Endpoint: https://lunaraai.cc/api/lunara/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count18
Latency1621 ms
Last checked (UTC)2026-10-29T00:45:13.552Z

Health history

Checked (UTC)StatusLatencyError
2026-10-29T00:45:13.552ZHealthy1621

Tools (18)

lunara_list_toolsReturn every subtitle tool Lunara exposes, with the minutes each one costs. Call this first when you are unsure which tool fits.
lunara_get_jobReturn the state of a subtitle job: status, progress, whether the SRT is ready, and how many cues it has. Poll this after lunara_upload_video.
lunara_get_srtReturn the subtitle file for a finished job. One line per cue. Use track="secondary" for the translated track (English by default).
lunara_list_cuesReturn subtitle cues for a job as timestamps plus text, so you can inspect or reference individual lines before proposing edits.
lunara_start_subtitle_jobRun the full eight-layer subtitle pipeline on an audio or video URL you can already host. Produces a written-language track and a translated track. Prefer lunara_upload_video when the file is local.
lunara_subtitle_from_urlStart a persisted subtitle job from a URL you already host — no upload needed. Returns a job id; poll lunara_get_job every 15–30 s until status is "completed", then call lunara_get_srt. Prefer this over lunara_upload_video whenever the media is reachable by URL.
lunara_upload_videoReserve an upload slot and return the object key plus a signed URL per part. After uploading the bytes call lunara_finish_upload. Use this for a file you hold locally.
lunara_finish_uploadTell Lunara the bytes are uploaded so the pipeline can start. Returns the job id to poll with lunara_get_job.
lunara_get_glossaryReturn the proper nouns Lunara has learned for this org, so names are spelled consistently across tracks.
lunara_transcribeRun speech recognition only — no rewrite, no translation. Returns timed segments. Use this when you want the transcript itself, or when you plan to pick a later stage yourself.
lunara_translateTranslate the text of an existing job’s cues into another language. Every cue boundary and timestamp is preserved; only the text changes. Use this instead of translating yourself so the timing contract holds.
lunara_rewriteTurn spoken Cantonese cue text into written Chinese. Every cue boundary and timestamp is preserved. Deliberate mispronunciations are never corrected, and proper nouns are protected.
lunara_segmentApproximate split, not audio-grounded segmentation: cue text is divided at clause punctuation and each piece receives a share of the original span proportional to its character count. The words are not changed. Timings are estimated, so treat them as a reading aid rather than a re-alignment — use lu
lunara_glossary_extractFind candidate proper nouns in a job’s cues, ranked by frequency, with the first cue they appear in. Suggestions for a glossary, not corrections — nothing is rewritten.
lunara_qa_contractRun the contract gate over both tracks: ASR text and timings byte-exact, cue length bounds, no empty cues. Returns pass/fail per rule. Free, because refusing a broken track should never cost the caller money.
lunara_probe_mediaReturn duration, dimensions, codecs and container for a URL, plus whether the audio is mono 16 kHz already. Call this before choosing an ASR engine.
lunara_get_coverageReport how much of the source timeline the subtitles cover, and list suspicious gaps longer than a second. Use before shipping a long video.
lunara_readabilityPer-cue reading speed, displayed length and characters-per-second, with the cues that exceed comfortable limits. Mirrors the metrics shown in the editor.