该 API 会在保留音频轨道原有风格的同时延长音频轨道。它集成了 Suno 的上传功能,允许用户上传音频文件进行处理。预期结果是获得更长的音频轨道,并以无缝方式延续输入风格。
关于此模型
Suno-Extend-Music 是一款专门用于延长音频轨道,同时保持音乐原有风格和完整性的先进 API 解决方案。该工具利用前沿 AI 模型分析提供的音频样本,并生成风格连贯的额外片段,从而无缝延续音频轨道。通过集成 Suno 的上传功能,用户只需提供音频文件 URL,即可获得与原曲完美匹配的延长部分。
该模型采用优先考虑风格一致性和音频质量的先进深度学习架构。它通过风格指定、人声性别偏好以及纯器乐等多种参数提供灵活配置,生成精准且富有创意的结果。能够控制时间点并在确切位置延长曲目,为音乐人、内容创作者和开发者轻松制作精致、专业且更长的音频轨道提供了独特优势。
成本分析
| 提供商 | 费用 | 备注 |
|---|---|---|
| muapiapp | $0.09 每次生成 | muapiapp is 20-50% 更实惠 than its competitors while providing superior 质量 and consistency in audio track extensions. |
| Fal.ai | $0.12 每次生成 | Fal.ai's 定价 is slightly higher, making muapiapp about 25% 更便宜 without compromising on 性能 or output 质量. |
| Replicate | $0.12 每次生成 | Similar to Fal.ai, Replicate offers competitive 定价, but muapiapp stands out as 20-50% more cost-effective with equally impressive results. |
muapiapp is 20-50% 更实惠 than its competitors while providing superior 质量 and consistency in audio track extensions.
Fal.ai's 定价 is slightly higher, making muapiapp about 25% 更便宜 without compromising on 性能 or output 质量.
Similar to Fal.ai, Replicate offers competitive 定价, but muapiapp stands out as 20-50% more cost-effective with equally impressive results.
** 竞品价格根据相似模型架构和使用层级估算。
配置参数
| 参数 | 类型 | 描述 | 默认值 |
|---|---|---|---|
| 提示词 | string | 对目标音频内容的描述。该提示词将严格作为歌词,并在生成的音轨中演唱。最多 3000 个字符。 | Extend the music with more relaxing notes |
| 音频 URL | string | 用于上传音频文件的 URL。确保上传的音频时长不超过 2 分钟。 | https://d3adwkbyhxyrtq.cloudfront.net/audios/186/755853337445/example.mp3 |
| 风格 | string | Music style specification for the 生成的音频. | Classical |
| 自定义模式 | boolean | 启用自定义模式以使用高级设置。 | true |
| 标题 | string | 生成音乐曲目的标题(可选)。 | - |
| 纯音乐 | boolean | 启用此选项可在没有提示词的情况下生成音乐。如果为 false,提示词会作为确切歌词使用。 | true |
| 模型 | 枚举(7 个选项) | 用于生成的 AI 模型版本。 | V5 |
| 继续位置 | int | The time point ((秒)) from which to start extending the music. Value range: greater than 0 and less than the total duration of the uploaded audio. Specifies the position in the original track where the extension should begin. | 1 |
| 人物 ID | string | 要应用于生成音乐的 Persona ID 或自定义声音 ID(可选)。请与 persona_model 搭配使用以消除歧义。 | - |
| Persona 模型 | 枚举(2 个选项) | persona_id 的类型。如果 persona_id 是来自 suno-voice-clone 的克隆声音 ID,请设置为 voice_persona。需要 V5 或 V5_5 模型。 | - |
| 排除标签 | string | Music styles or traits to exclude from the 生成的音频 (optional). Use to avoid specific styles. | null |
| 人声性别 | 枚举(2 个选项) | 演唱人声的性别偏好(可选)。 | male |
| 风格权重 | int | 对指定风格的遵循强度(可选)。范围为 0–1,最多保留 2 位小数。 | 0.65 |
| 怪异度限制 | int | 控制实验性/创意偏离程度(可选)。范围为 0–1,最多保留 2 位小数。 | 0.65 |
| 音频权重 | int | 音频特征与其他因素之间的平衡权重(可选)。范围为 0–1,最多保留 2 位小数。 | 0.65 |
对目标音频内容的描述。该提示词将严格作为歌词,并在生成的音轨中演唱。最多 3000 个字符。
Extend the music with more relaxing notes用于上传音频文件的 URL。确保上传的音频时长不超过 2 分钟。
https://d3adwkbyhxyrtq.cloudfront.net/audios/186/755853337445/example.mp3Music style specification for the 生成的音频.
Classical启用自定义模式以使用高级设置。
true生成音乐曲目的标题(可选)。
-启用此选项可在没有提示词的情况下生成音乐。如果为 false,提示词会作为确切歌词使用。
true用于生成的 AI 模型版本。
V5The time point ((秒)) from which to start extending the music. Value range: greater than 0 and less than the total duration of the uploaded audio. Specifies the position in the original track where the extension should begin.
1要应用于生成音乐的 Persona ID 或自定义声音 ID(可选)。请与 persona_model 搭配使用以消除歧义。
-persona_id 的类型。如果 persona_id 是来自 suno-voice-clone 的克隆声音 ID,请设置为 voice_persona。需要 V5 或 V5_5 模型。
-Music styles or traits to exclude from the 生成的音频 (optional). Use to avoid specific styles.
null演唱人声的性别偏好(可选)。
male对指定风格的遵循强度(可选)。范围为 0–1,最多保留 2 位小数。
0.65控制实验性/创意偏离程度(可选)。范围为 0–1,最多保留 2 位小数。
0.65音频特征与其他因素之间的平衡权重(可选)。范围为 0–1,最多保留 2 位小数。
0.65开发者文档
准备音频
定义输入参数
instrumental、continue_at、negative_tags 等其他参数进行微调。提交请求
suno-extend-music 端点。解读结果
audio 键,其中提供延长音频轨道的 URL。按需迭代
常见问答
API 支持 MP3 等标准音频格式。请确保文件可通过 URL 访问,且时长不超过 2 分钟。
底层 AI 模型会分析上传音频的特征,并使用先进算法复现其风格,在提示词输入与现有音频特征之间进行平衡。`style_weight` 和 `audio_weight` 等参数可以帮助引导这一过程。
可以。你可以以秒为单位指定 `continue_at` 参数,该参数决定延长部分应从原始曲目的哪个位置开始。
可以。将 `instrumental` 参数设置为 true,API 就会根据提供的提示词生成没有人声的音乐,同时遵循提示词所描述的整体氛围和风格。