lunara_subtitle_from_url
Start 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audioUrl": "<audioUrl>"
},
"name": "lunara_subtitle_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audioUrl | Yes | Direct HTTP(S) URL to the audio or video file. Must be downloadable by our server. | |
| filename | No | Display name for the result. Defaults to the URL basename. | |
| spokenLang | No | What the speaker is speaking, e.g. yue-Hant-HK. Defaults to auto-detect. | |
| primaryLang | No | Language of the written track. Default yue-Hant. | |
| secondaryLang | No | Language of the translated track. Default en. | |
| secondaryLangs | No | Translation languages to produce in the same job (max 16). Merged with secondaryLang. Each one costs a separate translation pass; the speech is transcribed once. |