96SEO 2026-07-24 11:10 9
说起来,
要使用 API,需要先到 Riffusion Audios Generation API 对应页面申请对应的服务。进入页面之后点击「Acquire」按钮,如图所示:

如果你尚未登录或注册,会自动跳转到登录页面邀请您来注册和登录,登录注册之后会自动返回当前页面。
在首次申请时会有免费额度赠送,可以免费使用该 API。
想些什么歌曲,可以任意输入一段文字,比如我想生成一个关于圣诞的歌曲,就可以输入 a song for Christmas如图所示:
可以看到这里我们设置了 Request Headers。包括:
accept想要接收怎样格式的响应结果,这里填写为 application/json即 JSON 格式。authorization调用 API 的密钥,申请之后可以直接下拉选择。对了 Request Body 的参数包括:
action此次音乐生成任务的行为,生成歌曲是 generate。model创建歌曲采用的模型,目前主要有:FUZZ-FUZZ-FUZZ- ProFUZZ- Pro。lyric歌曲的歌词内容。custom是否采用自定义方式生成歌曲。prompt灵感模式下的提示词。title歌曲标题信息。callback_url需要回调结果的 URL。instrumental 是否为无歌词模式。如上参数和官方的自定义生成的映射关系如下:
model 对应 Riffusion 账号设置页面的模型选择,如下图所示 lyric 对应 Rifussion 自定义生成页面的「 Lyrics 」部分,如下图所示 style 对应 Rifussion 自定义生成页面的「 Sound 」部分,就是定一些风格,如下图所示 title 对应 Rifussion 自定义生成页面的「 Details 」部分,用于指定歌曲标题,如下图所示 instrumental 对应 Rifussion 自定义生成页面的「 Instrumental 」开关,用于设置无歌词模式,如下图所示 选择之后可以发现右侧也生成了对应代码,如图所示:
点击「 Try 」按钮即可测试,如上图所示,这里我们就得到了如下结果:
{ "success": true,"task_id": "f45388a9--41d4-aec8-fb8259c48d36","trace_id": "1df9f664-fd74-476b--b0b5f62ddf87","data":
Yeah,yeah
Keep talking,keep talking
I love way you sound
Your voice is like a drug I can't put down
Every word you say just pulls me in
I'm addicted to way you laugh out loud
And how you whisper when room goes dim
Tell me 'bout your day,tell me 'bout your fears
I could listen to you talk for years
Don't stop now,don't you dare
I need your voice filling up air
Keep talking,keep talking to me
Your words are all I fucking need
Keep talking,keep talking,I'm high
Off every sound you make tonight
Keep talking
You could read phone book,I don't care
Just rhythm of your breathing's enough
When you say my name,it's like a prayer
And your silence hits me twice as rough
Every conversation feels like home
Never want to hear this dial tone
Don 't stop now,don' t you dare
I need your voice filling up air
Keep talking,keep talking to me
Your words are all I fucking need
Keep talking,keep talking,I 'm high
Off every sound you make tonight
Keep talking
When world gets loud and crazy
Your voice cuts through noise
You 're my favorite conversation
You 're my drug of choice
Keep talking,keep talking \ nKeep talking,keep talking \ nKeep talking,keep talking \ nKeep talking,keep talking \ n \ nKeep talking,keep talking to me \ nYour words are all I fucking need \ nKeep tal king,keep tal king,I 'm high \
Off every sound you make tonight \
Keep tal king \
\
Yeah,yeah \
K eep t alking,k eep t alking \
Never stop that sound "。"audio_url": "","video_url": null,"created_at": "--18T15::.705246Z","model": "-Pro ","lyrics_timestamped ": { "
words ":
","
start
":
"
end
":
"
line_index
":
"
index_range
":
null,"
wav2vec2_format
":
null },... { "
text ": "
sound
","
start
":
"
end
":
"
line_index
":
"
index_range
":
null,"
wav2vec2_format
":
null } ] },"state ": "
succeeded
","style ": "
Pop
upbeat tempo,modern production
","duration ":
},{
"id ": "
be3fe757-621e---20aa7f01919e ","title ": "
Revive
","image_url ": "","lyric ": "
moving day by day\
col ors seem a little faded,\
nothing much to sa\
y\
\
missing,\
name it\
feel s like I ',m just going through stages\
\
barely breath ing,\
barely feel ing\
like I ',m float ing through a life that isn ',t mine\
barel y breath ing,\
barel y heal ing\
searching for a reason,\
searching for a sign\
To feel alive again\
To feel alive again\
\
mor ning coffee tastes like water,\
sun rise looks like rain \
every one around me laugh s but I can ',t feel same \
us ed to dance in silly moments,\
us ed to sing out loud \
Now I ',m stand ing in sil ence of a fac eless crowd \
\
someth ing',s shift ing,\
can ',t ignore it \
May be it ',s time to break se patterns \
\
barel y breath ing,\
barel y feel ing \
like I ',m float ing through a life that isn ',t mine \
barel y breath ing,\
barel y heal ing \
searching for a reason,\
searching for a sign \
To feel alive again \
To feel alive again \
\
But re ',s a beat ing in my chest \
A whis per say ing\ "
don ',t give up yet\ "\
May be tom orrow I '
ll rememb er \
How to laug h and how to let \
My heart wake up from this long sleep \
Find fire I us ed to k eep \
barely breath ing,\ barely feel ing\ like I ',m float ing through a life that isn ',t mine\ barel y breath ing,\ barel y heal ing\ searching for a reason,\ searching for a sign\ To feel alive again\ To feel alive again\ \ I ',ll fe el al ive again\ I ',ll fe el al ive again ","audio_url ": "","video_url ": null,"created_at ": "--18T15::.139081Z ","model
": "-Pro ","lyrics_timestamped
": {
"words
":
},state
:
"succeeded
",style
:
contemporary country
duration
:
}
]
} <
/pre>
API 参数详解
返回结果一共有多个字段,介绍如下:
* `success`,此时音乐生成任务的状态情况。* `data`,此次音乐任务的结果。+ `id`,此时音乐生成任务的 ID。
+ `prompt`,此时音乐生成任务的提示词。+ `audio_url`,此时音乐生成任务的音频链接。+ `image_url`,此时音乐生成任务的封面链接。老实说,+ `state`,此时音乐生成任务的状态。+ `duration`,此时音乐的时长信息。话说回来,+ `style`,此时音乐的风格信息。+ `model`,此时音乐生成任务采用的模型信息。+ `lyric`,此时音乐生成任务的歌词信息。可以看到我们得到了想生成的音乐信息,我们只需要中 data 的音乐链接地址获取生成的 Riffusion 音乐即可。对了如果想生成对应的对接代码,可以直接复制生成,例如 CURL 的代码如下:
curl -X POST '' \-H 'accept: application/json' \-H 'authorization: Bearer {token}' \-H 'content-type: application/json' \-d '{ "model": "-Pro","action": "",""}'}
如果想自定义 生成歌词。可以输入歌词:
这时候
Woke up with sun in my eyesNo clouds above just blue in th e skiesShoes on my feet I ’ m ready to runEvery step feels lik e a loaded gun
Happy days are rolling inLet th e joy beneath my skinNo more shadows no more liesJust th e truth that lifts me highDancing through th e city streetsA rhythm pounding in my heartbeatStrangers smile it ’ s catching onThis world ’ s a stage we ’ re all a song
Happy days are rolling inLet th e joy beneath my skinNo more shadows no more liesJust th e truth that lifts me high
Throw your worries out th e doorLet m sink to th e ocean floorWe ’ re alive and it ’ s enoughLife is messy but it ’ s love Happy days are rolling in Let th e joy beneath my skin No more shadows no more lies Just th e truth that lifts me high
接下来我们要根据歌词、标题、风格自定义 生成歌曲,就可以指定如下内容:
* lyric :歌词文本
* custom :填写为 true,代表自定义 生成,该参数默认为 false,代表使用 "prompt" 生成。* title :歌曲的标题。说起来,* style :歌曲的风格,选填。怎么说呢,
从填写样例如下来看,
{ }
填写完毕之后自动 生成了代码如下:
说到对应的代码。curl -X POST '' -H 'accept:/' -H 'authorization:' -H 'content-type:' -d '{ "-Pro","","\r...",true}'}
测试允许,生成的效果是差不多。不过,
{}
返回结果一共有多个字段。介绍如下: * success,此时翻唱任务的状态情况。
data,此次翻唱任务的结果。
-
data-id=--ID-> id 此次翻唱任务后新生成的歌曲 ID。
-
Riffusion
Riffusion Audios Generation API
)
作为专业的SEO优化服务提供商,我们致力于通过科学、系统的搜索引擎优化策略,帮助企业在百度、Google等搜索引擎中获得更高的排名和流量。我们的服务涵盖网站结构优化、内容优化、技术SEO和链接建设等多个维度。
| 服务项目 | 基础套餐 | 标准套餐 | 高级定制 |
|---|---|---|---|
| 关键词优化数量 | 10-20个核心词 | 30-50个核心词+长尾词 | 80-150个全方位覆盖 |
| 内容优化 | 基础页面优化 | 全站内容优化+每月5篇原创 | 个性化内容策略+每月15篇原创 |
| 技术SEO | 基本技术检查 | 全面技术优化+移动适配 | 深度技术重构+性能优化 |
| 外链建设 | 每月5-10条 | 每月20-30条高质量外链 | 每月50+条多渠道外链 |
| 数据报告 | 月度基础报告 | 双周详细报告+分析 | 每周深度报告+策略调整 |
| 效果保障 | 3-6个月见效 | 2-4个月见效 | 1-3个月快速见效 |
我们的SEO优化服务遵循科学严谨的流程,确保每一步都基于数据分析和行业最佳实践:
全面检测网站技术问题、内容质量、竞争对手情况,制定个性化优化方案。
基于用户搜索意图和商业目标,制定全面的关键词矩阵和布局策略。
解决网站技术问题,优化网站结构,提升页面速度和移动端体验。
创作高质量原创内容,优化现有页面,建立内容更新机制。
获取高质量外部链接,建立品牌在线影响力,提升网站权威度。
持续监控排名、流量和转化数据,根据效果调整优化策略。
基于我们服务的客户数据统计,平均优化效果如下:
我们坚信,真正的SEO优化不仅仅是追求排名,而是通过提供优质内容、优化用户体验、建立网站权威,最终实现可持续的业务增长。我们的目标是与客户建立长期合作关系,共同成长。
Demand feedback