mcp

v1.3.0
@aisounds.cn/mcp Checked 4 days ago Published 1 month ago

AiSounds MCP server

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

get_audio_capabilities

List AiSounds audio creation capabilities.

get_account_balance

Get the API key bound workspace balance.

list_tts_voices

List available TTS voices.

ParameterTypeDescription
genderstring

draft_tts_task

Create a TTS draft without spending points.

ParameterTypeDescription
text *string
voiceIdstring

submit_tts_task

Submit a confirmed TTS task. This spends points.

ParameterTypeDescription
text *string
voiceId *string

upload_soundtrack_swap_source

上传智能换配乐源文件;仅支持 MP3、WAV、M4A、MP4,最大 100MB。上传失败时不会创建任务。

ParameterTypeDescription
filePath *string
workspaceIdstring

draft_soundtrack_swap

上传并完成智能换配乐媒体预检;只返回 preflightId,不会自动调用付费建议或创建生成任务。

ParameterTypeDescription
filePath *string
claimedDurationSecondsnumber
workspaceIdstring

preflight_soundtrack_swap

对已上传素材执行服务端媒体预检;不自动生成配乐。

ParameterTypeDescription
sourceContentType *string
sourceFileName *string
sourceKey *string
sourceSizeBytes *integer
claimedDurationSecondsnumber
workspaceIdstring

list_soundtrack_swap_providers

列出当前可用的智能换配乐生成方式;只查询。

ParameterTypeDescription
workspaceIdstring

get_soundtrack_swap_advice

获取智能换配乐建议。视频建议可能触发按需 AI 分析并产生费用,confirm 必须为 true。

ParameterTypeDescription
confirm *boolean
preflightId *string
workspaceIdstring

quote_soundtrack_swap

获取智能换配乐报价。视频报价可能触发按需 AI 分析并产生费用,confirm 必须为 true。

ParameterTypeDescription
confirm *boolean
enableVocalCleanup *boolean
preflightId *string
provider *string
mixStrengthstring
workspaceIdstring

submit_soundtrack_swap_job

提交已报价的智能换配乐任务并扣点。confirm 与 rightsConfirmed 都必须由调用方显式传入 true;重试必须重新报价后提交并带 retryOfJobId。

ParameterTypeDescription
confirm *boolean
enableVocalCleanup *boolean
preflightId *string
prompt *string
provider *string
quoteToken *string
rightsConfirmed *boolean
title *string
billingModestring
mixStrengthstring
retryOfJobIdstring
workspaceIdstring

list_soundtrack_swap_jobs

列出智能换配乐任务;只查询,不轮询。

ParameterTypeDescription
limitinteger
pageinteger
workspaceIdstring

get_soundtrack_swap_job

查询一次智能换配乐任务状态;不自动轮询。

ParameterTypeDescription
jobId *string
workspaceIdstring

cancel_soundtrack_swap_job

取消尚未提交供应商的智能换配乐任务;只执行一次。

ParameterTypeDescription
jobId *string
workspaceIdstring

download_soundtrack_swap

下载已完成的智能换配乐输出。只接受 completed 且存在 URL 的任务,不下载未完成输出。

ParameterTypeDescription
jobId *string
outPath *string
type *string
workspaceIdstring

upload_video_sfx_source

上传视频音效源文件;仅支持 MP4/MOV,最大 500MB。上传失败时不会创建任务。

ParameterTypeDescription
filePath *string
workspaceIdstring

submit_video_sfx_job

上传本地视频并提交视频音效任务。confirm 必须为 true,确认后服务端才会扣点;上传失败时不会提交。

ParameterTypeDescription
confirm *boolean
filePath *string
prompt *string
sourceDurationSeconds *number
title *string
cfgStrengthnumber
negativePromptstring
numStepsinteger
seedinteger
soundTypestring
workspaceIdstring

get_video_sfx_job

查询一次视频音效任务状态;不自动轮询。

ParameterTypeDescription
jobId *string

retry_video_sfx_job

重试失败的视频音效任务。confirm 必须为 true;已有输出或未失败任务不会重提。

ParameterTypeDescription
confirm *boolean
jobId *string

optimize_video_sfx_prompt

优化视频音效提示词;只返回建议,不创建任务。

ParameterTypeDescription
soundType *string
userPrompt *string
videoDuration *number

download_video_sfx

下载已完成的视频音效输出。只接受 completed 且存在 URL 的任务,不下载未完成输出。

ParameterTypeDescription
jobId *string
outPath *string
type *string

draft_sfx_task

Create a sound effect draft without spending points.

ParameterTypeDescription
prompt *string
durationSecondsnumber
isLoopboolean

submit_sfx_task

Submit a confirmed sound effect task. This spends points.

ParameterTypeDescription
prompt *string
durationSecondsnumber
isLoopboolean

list_sfx_pack_sessions

列出项目音效包会话;仅查询,不会产生积分扣除。

ParameterTypeDescription
cursorstring
includeArchivedboolean
limitinteger

create_sfx_pack_session

新建项目音效包会话;不会产生积分扣除。

ParameterTypeDescription
titlestring

draft_sfx_pack

创建会话并分析本地文档/图片或消息。附件分析免费;确认生成会按条目扣积分。所有附件会先在本地完整预检,失败时不会创建会话。

ParameterTypeDescription
documentPathsarray
imagePathsarray
messagestring
titlestring

send_sfx_pack_message

向项目音效包会话发送补充描述;附件分析免费,确认生成会按条目扣积分。

ParameterTypeDescription
content *string
sessionId *string

confirm_sfx_pack

确认项目音效包生成。确认生成会按条目扣积分,confirm 必须为 true。items 省略时使用会话当前 cueSheet。

ParameterTypeDescription
confirm *boolean
sessionId *string
itemsarray

get_sfx_pack_status

显式查询项目音效包生成状态;本工具不轮询、不等待。

ParameterTypeDescription
sessionId *string

retry_sfx_pack_item

重试失败条目;mode=regenerate 时会对已完成条目重新扣费生成。不会重试仍在处理中的条目。

ParameterTypeDescription
jobId *string
modestring

download_sfx_pack

下载 initial 版本项目音效包到 outDir 指定的父目录。全部文件校验成功后才会一次性提交目标目录。

ParameterTypeDescription
outDir *string
sessionId *string

draft_music_task

Create a music draft without spending points. provider=general is the general-purpose default; provider=quality selects high-quality music; provider=fast is kept for compatibility.

ParameterTypeDescription
prompt *string
durationSecondsnumber
genrestring
providerstringgeneral:通用生成(默认);quality:高品质配乐;fast:兼容模式

submit_music_task

Submit a confirmed music task and spend points. provider=general is the general-purpose default; provider=quality selects high-quality music; provider=fast is kept for compatibility.

ParameterTypeDescription
prompt *string
durationSecondsnumber
genrestring
providerstringgeneral:通用生成(默认);quality:高品质配乐;fast:兼容模式

draft_novel_voice_pack

Create a novel voice pack draft.

ParameterTypeDescription
narratorVoiceId *string
text *string

submit_novel_voice_pack

Submit a novel voice pack task. This spends points.

ParameterTypeDescription
narratorVoiceId *string
text *string

create_video_voice_task

Read a local video file, upload it, and create a video voice task.

ParameterTypeDescription
driverAudioDurationSeconds *number
filePath *string
script *string
ttsJobId *string
voiceId *string
promptstring
sourceVideoDurationSecondsnumber

create_video_bgm_task

Read a local video file, upload it, and create a video BGM task.

ParameterTypeDescription
filePath *string
durationSecondsnumber
promptstring
videoDurationSecondsnumber

create_audio_cleanup_task

Read a local audio file, upload it, and create an audio cleanup task.

ParameterTypeDescription
filePath *string
enableCleanupboolean
enableSeparationboolean
promptstring
replaceAudioInVideoboolean
sourceDurationSecondsnumber
strengthstring

get_task_status

Get a generation task status.

ParameterTypeDescription
jobId *string
type *string

get_recent_jobs

List recent jobs.

get_recent_assets

List recent generated assets.

ParameterTypeDescription
typestring

download_asset

Get a signed download URL for an asset.

ParameterTypeDescription
assetId *string

ai_song_generate_lyrics

生成 AI 歌曲歌词;免费准备步骤,不提交扣点任务。

ParameterTypeDescription
theme *string
moodstring
performancestring
speedstring
stylestring
timeoutMsintegerHTTP/上传超时毫秒
titlestring
vocalstring

ai_song_optimize_lyrics

优化已有歌词;免费准备步骤,不提交扣点任务。

ParameterTypeDescription
lyrics *string
moodstring
performancestring
speedstring
stylestring
timeoutMsintegerHTTP/上传超时毫秒
titlestring
vocalstring

ai_song_upload_reference_media

检查并上传本地歌曲/视频参考媒体;上传成功后再调用 ai_song_prepare_reference。支持音频和 MP4/MOV,最大 100 MB。

ParameterTypeDescription
filePath *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

ai_song_prepare_reference

准备已上传的歌曲参考片段。style_reference 需要起止秒数;preserve_original_bgm 必须提供 rightsConfirmed=true。

ParameterTypeDescription
confirm *boolean
conditionStrengthstring
endSecondsnumber
referenceIdstring
referenceModestring
rightsConfirmedboolean
sourceContentTypestring
sourceFileNamestring
sourceKeystring
sourceSizeBytesinteger
startSecondsnumber
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

ai_song_quote

为 AI 歌曲计算报价和 quoteToken;保留原 BGM 时需要 rightsConfirmed=true。参考 prepare 的服务成本与生成扣点以返回值为准。

ParameterTypeDescription
durationSeconds *integer
referenceMode *string
referenceAudioobject
rightsConfirmedboolean
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

ai_song_create

提交已报价的 AI 歌曲并扣点。必须传 quoteToken、幂等 idempotencyKey 和 confirm=true;服务异常或超时后只查询 ai_song_status,不自动重提。

ParameterTypeDescription
advanced *object
confirm *boolean
durationSeconds *integer
idempotencyKey *string
lyrics *string
quoteToken *string
billingModestring
moodsarray
performancestring
referenceModestring
rightsConfirmedboolean
speedstring
styleDescriptionstring自由风格描述,最多 5000 个字符;非空时接管结构化风格参数
stylesarray
timeoutMsintegerHTTP/上传超时毫秒
titlestring
vocalstring
workspaceIdstring

ai_song_list

列出当前工作区 AI 歌曲任务。

ParameterTypeDescription
limitinteger
pageinteger
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

ai_song_status

单次读取 AI 歌曲任务状态,不轮询、不重提。

ParameterTypeDescription
jobId *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

ai_song_package

为已完成 AI 歌曲创建交付 ZIP;不会重新生成歌曲。

ParameterTypeDescription
jobId *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

ai_song_download

下载已完成 AI 歌曲的 audio、preview 或 zip 输出到本地新文件;不会覆盖已有文件,也不会下载缺失输出。

ParameterTypeDescription
jobId *string
outputPath *string
type *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

video_soundtrack_capabilities

读取视频配乐与音效能力和当前可用状态。

ParameterTypeDescription
timeoutMsintegerHTTP/上传超时毫秒

video_soundtrack_upload

检查并上传本地 MP4/MOV 视频到 OSS;最大 200 MB。上传失败不会提交任务。

ParameterTypeDescription
filePath *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

video_soundtrack_quote

为已上传视频创建报价草稿;默认保留原音并生成音效。报价返回 reservedPoints、musicPoints 和 sfxReservedPoints。

ParameterTypeDescription
contentType *string
sourceFileName *string
sourceKey *string
addSfxboolean
descriptionstring
originalAudioModestring
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

video_soundtrack_create

提交已报价的视频配乐与音效任务并扣点。必须传 quoteId、持久幂等 idempotencyKey 和 confirm=true;超时后只查询状态,不自动重提。billingMode 使用 included_only 或 allow_paid_points。

ParameterTypeDescription
confirm *boolean
idempotencyKey *string
quoteId *string
billingModestring
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

video_soundtrack_list

列出当前工作区视频配乐任务。

ParameterTypeDescription
limitinteger
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

video_soundtrack_status

单次读取视频配乐任务状态,不轮询、不重提。

ParameterTypeDescription
jobId *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

video_soundtrack_resume

恢复已有 provider 结果的本地合成/交付;服务端只允许可恢复状态,不会自动重新调用 provider。

ParameterTypeDescription
jobId *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring

video_soundtrack_download

下载已完成视频配乐任务的 video、audio、music、sfx 或 zip 输出到本地新文件;不会覆盖已有文件,也不会下载缺失输出。

ParameterTypeDescription
jobId *string
outputPath *string
type *string
timeoutMsintegerHTTP/上传超时毫秒
workspaceIdstring