Sonix MCP by usefulapi

v1.2.1
io.usefulapi/sonix Checked 3 days ago Published 2 days ago

Upload media, read transcripts and captions, and start summaries in Sonix.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

sonix_list_media List media files

List media files in the account, newest first, 100 per page. Filter by status, folder or name. Each item has id, name, duration, language, status and created_at. Sonix API: GET /v1/media.

ParameterTypeDescription
folder_idstringOnly files in this folder id (from sonix_list_folders).
pageintegerPage number (default 1).
searchstringSearch files by name.
statusstringFilter by status, for example completed, transcribing, aligning or failed.

sonix_get_media Get a media file

Get one media file: name, duration, language, video flag, status (preparing, transcribing, aligning, completed, blocked, failed, duplicate), folder and public_url. Check status is completed before reading transcripts. Sonix API: GET /v1/media/{id}.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).

sonix_list_shares List shares of a media file

List the users a media file is shared with, and whether each can edit it. Sonix API: GET /v1/media/{id}/shares.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).

sonix_get_transcript_text Get transcript text

Get the plain-text transcript of a completed media file, with speaker names and timestamps. Pass language to read a translation. Sonix API: GET /v1/media/{id}/transcript.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).
languagestringTranslation language code (for example es), from sonix_list_translations. Omit for the original transcript.

sonix_get_captions Get captions (SRT or VTT)

Get a completed media file as SRT or VTT subtitles. Limit line length with limit_captions, max_characters and max_duration (limit_captions must be true for these). Sonix API: GET /v1/media/{id}/transcript.srt or .vtt.

ParameterTypeDescription
format *stringSubtitle format.
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).
languagestringTranslation language code (for example es), from sonix_list_translations. Omit for the original transcript.
limit_captionsbooleanSplit subtitles by duration or characters (default false).
max_charactersintegerMaximum characters per subtitle (default 90).
max_durationnumberMaximum seconds per subtitle (default 10).
speaker_displaystringHow speaker names show: none, as_typed, or uppercase (default none).
subtitle_linesintegerLines per subtitle, 1 or 2 (default 1).

sonix_get_transcript_json Get transcript as JSON

Get a completed transcript as JSON: speakers, and start and end times for each word. Pass language to read a translation. Sonix API: GET /v1/media/{id}/transcript.json.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).
languagestringTranslation language code (for example es), from sonix_list_translations. Omit for the original transcript.

sonix_list_translations List translations

List the languages a media file was translated into, newest request first, with each status. Sonix API: GET /v1/media/{id}/translations.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).

sonix_get_translation Get translation status

Get the status of one translation (queued, translating, completed or failed). Sonix API: GET /v1/media/{id}/translations/{language}.

ParameterTypeDescription
language *stringTranslation language code, for example es.
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).

sonix_get_export Get an audio or video export

Get the status of a media export (processing or completed) and, when completed, its file_url. Sonix API: GET /v1/media_exports/{id}.

ParameterTypeDescription
export_id *stringThe export id (from sonix_create_export).

sonix_get_burn_in Get a video burn-in status

Get the status (processing, completed or failed) and download url of a subtitled video. Sonix API: GET /v1/video_burn_ins/{id}.

ParameterTypeDescription
burn_in_id *stringThe video export id from the burn-in request.

sonix_get_summarization Get a summary or answer

Get an AI summarization by id: status (processing or completed), subtype, and the summary text. Sonix API: GET /v1/summarizations/{id}.

ParameterTypeDescription
summarization_id *stringThe id from sonix_create_summarization.

sonix_list_folders List folders

List the folders of the account with their access control and restricted users. Use a folder id with sonix_list_media or sonix_upload_media. Sonix API: GET /v1/folders.

sonix_list_batch_summarizations List batch summarizations of a folder

List the batch summarizations run on a folder, with status and created time. Sonix API: GET /v1/folders/{id}/batch_summarizations.

ParameterTypeDescription
folder_id *stringThe folder id (from sonix_list_folders).

sonix_get_batch_summarization Get a batch summarization

Get one batch summarization: status (processing, completed or failed), the prompt, and the summaries. Sonix API: GET /v1/batch_summarizations/{id}.

ParameterTypeDescription
batch_summarization_id *stringThe id from sonix_list_batch_summarizations.

sonix_upload_media Upload media for transcription

Start transcription of an audio or video file at a public URL (file_url). Uses transcription minutes of the account. For several spoken languages, set language to multi and list them in language_hints. Sonix API: POST /v1/media.

ParameterTypeDescription
file_url *stringPublic URL of the audio or video file. Sonix downloads it.
custom_dataobjectYour own key-value tags stored with the file.
folder_idstringFolder id to place the file in (default: Home).
keywordsstringComma-separated words to help recognition. Replaces the account keywords for this file.
languagestringLanguage code, for example en (default: the account default). Use multi for mixed languages.
language_hintsstringComma-separated language codes, at least two, required when language is multi.
namestringName of the file in Sonix (default: the file name).

sonix_update_media Rename or move a media file

Change the name, custom label or folder of a media file. Only the given fields change. Sonix API: PUT /v1/media/{id}.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).
custom_labelstringNew custom label shown on the file.
folder_idstringFolder id to move the file to.
namestringNew name.

sonix_create_export Create an audio or video export

Export a completed media file as mp3, wav or mp4 (mp4 only for video). Highlights only by default; set remove_strikethrough to drop struck text. Returns an export id; read it with sonix_get_export. Sonix API: POST /v1/media/{id}/media_exports.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).
media_formatstringOutput format (default mp3).
remove_strikethroughbooleanRemove struck-through words from the export (default false).

sonix_create_translation Translate a transcript

Start a translation of a completed transcript into one language. Track it with sonix_get_translation. Sonix API: POST /v1/media/{id}/translations.

ParameterTypeDescription
language *stringTarget language code, for example es or de.
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).

sonix_create_summarization Summarize or ask about a transcript

Start an AI summary, chapter list, sentiment, topic or entity analysis, or a custom prompt on a completed media file. Subtype custom needs prompt. Track it with sonix_get_summarization. Sonix API: POST /v1/media/{id}/summarizations.

ParameterTypeDescription
media_id *stringThe media id (from sonix_list_media or sonix_upload_media).
promptstringYour instruction, for example 'Summarize in 10 sentences'. Required for custom.
sentence_countintegerNumber of sentences for a summary.
subtypestringKind of summary (default custom).