当前位置: 首页 > news >正文

wordpress设计模板安徽seo团队

wordpress设计模板,安徽seo团队,网页设计基础实训目的,怎么自己做网站模板随着 AI 的应用变广#xff0c;各类 AI 程序已逐渐普及。AI 已逐渐深入到人们的工作生活方方面面。而 AI 涉及的行业也越来越多#xff0c;从最初的写作#xff0c;到医疗教育#xff0c;再到现在的音乐。 Suno 是一个专业高质量的 AI 歌曲和音乐创作平台#xff0c;用户…随着 AI 的应用变广各类 AI 程序已逐渐普及。AI 已逐渐深入到人们的工作生活方方面面。而 AI 涉及的行业也越来越多从最初的写作到医疗教育再到现在的音乐。 Suno 是一个专业高质量的 AI 歌曲和音乐创作平台用户只需输入简单的文本提示词即可根据流派风格和歌词生成带有人声的歌曲。该 AI 音乐生成器由来自 Meta、TikTok、Kensho 等知名科技公司的团队成员开发目标是不需要任何乐器工具让所有人都可以创造美妙的音乐。 Suno 最新已将音乐生成模型升级到 V3 版本可生成 2 分钟的歌曲。 然而 Suno 官方是并没有提供 API 的AceDataCloud 提供了一套 Suno 的 API模拟对接了 Suno 官方可以方便快捷地生成想要的音乐。 申请和使用 要使用 Suno Audios API首先可以到 Suno Audios Generation API 页面点击「Acquire」按钮获取请求所需要的凭证 如果你尚未登录或注册会自动跳转到登录页面邀请您来注册和登录登录注册之后会自动返回当前页面。 在首次申请时会有免费额度赠送可以免费使用该 API。 基本使用 想些什么歌曲可以任意输入一段文字比如我想生成一个关于圣诞的歌曲就可以输入 a song for Christmas如图所示 生成的代码如下 可以点击「Try」按钮直接测试 API稍等 1-2 分钟结果如下 json { success: true, data: [ { id: 2f16f7bc-4135-42c6-b3c5-6d6c49dc8cd5, title: Winter Wonderland, image_url: https://cdn1.suno.ai/image_2f16f7bc-4135-42c6-b3c5-6d6c49dc8cd5.png, lyric: [Verse]\nSnowflakes falling all around\nGlistening white\nCovering the ground\nChildren laughing\nFull of delight\nIn this winter wonderland tonight\nSantas sleigh\nUp in the sky\nRudolphs nose shining bright\nOh my\nHear the jingle bells\nRinging so clear\nBringing joy and holiday cheer\n[Verse 2]\nRoasting chestnuts by the fires glow\nChristmas lights\nThey twinkle and show\nFamilies gathering with love and cheer\nSpreading warmth to everyone near, audio_url: https://cdn1.suno.ai/2f16f7bc-4135-42c6-b3c5-6d6c49dc8cd5.mp3, video_url: https://cdn1.suno.ai/2f16f7bc-4135-42c6-b3c5-6d6c49dc8cd5.mp4, created_at: 2024-05-10T16:21:37.624Z, model: chirp-v3, prompt: A song for Christmas, style: holiday }, { id: 5dca232b-17cc-4896-a2d1-4b59178bf410, title: Winter Wonderland, image_url: https://cdn1.suno.ai/image_5dca232b-17cc-4896-a2d1-4b59178bf410.png, lyric: [Verse]\nSnowflakes falling all around\nGlistening white\nCovering the ground\nChildren laughing\nFull of delight\nIn this winter wonderland tonight\nSantas sleigh\nUp in the sky\nRudolphs nose shining bright\nOh my\nHear the jingle bells\nRinging so clear\nBringing joy and holiday cheer\n[Verse 2]\nRoasting chestnuts by the fires glow\nChristmas lights\nThey twinkle and show\nFamilies gathering with love and cheer\nSpreading warmth to everyone near, audio_url: https://cdn1.suno.ai/5dca232b-17cc-4896-a2d1-4b59178bf410.mp3, video_url: https://cdn1.suno.ai/5dca232b-17cc-4896-a2d1-4b59178bf410.mp4, created_at: 2024-05-10T16:21:37.624Z, model: chirp-v3, prompt: A song for Christmas, style: holiday } ] } 可以看到这时候我们就得到了两首歌的内容包括标题、预览图、歌词、音频、视频等内容。 字段说明如下 success生成是否成功如果成功则为 true否则为 falsedata是一个列表包含了生成的歌曲的详细信息。id歌曲 IDtitle歌曲的标题image_url歌曲的封面图片lyric歌曲的歌词audio_url歌曲的音频文件打开就是一个 mp3 音频。video_url歌曲的视频文件打开就是一个 mp4 视频。created_at创建的时间model使用的模型一般是最新的 v3 模型style风格 自定义生成 如果想自定义生成歌词可以输入歌词 这时候 lyric 字段可以传入类似如下内容 [Verse]\nSnowflakes falling all around\nGlistening white\nCovering the ground\nChildren laughing\nFull of delight\nIn this winter wonderland tonight\nSantas sleigh\nUp in the sky\nRudolphs nose shining bright\nOh my\nHear the jingle bells\nRinging so clear\nBringing joy and holiday cheer\n[Verse 2]\nRoasting chestnuts by the fires glow\nChristmas lights\nThey twinkle and show\nFamilies gathering with love and cheer\nSpreading warmth to everyone near 注意这里的歌词中 \n 是换行符如果你不知道如何生成歌词可以使用 AceDataCloud 提供的歌词生成 API 来通过 prompt 生成歌词API 是 Suno Lyrics Generation API。 接下来我们要根据歌词、标题、风格自定义生成歌曲就可以指定如下内容 lyric歌词文本custom填写为 true代表自定义生成该参数默认为 false代表使用 prompt 生成。file歌曲的标题。style歌曲的风格选填。 填写样例如下 填写完毕之后自动生成了代码如下 对应的代码 python curl -X POST https://api.acedata.cloud/suno/audios \ -H authorization: Bearer {token} \ -H accept: application/json \ -H content-type: application/json \ -d { lyric: [Verse]\\nSnowflakes falling all around\\nGlistening white\\nCovering the ground\\nChildren laughing\\nFull of delight\\nIn this winter wonderland tonight\\nSantas sleigh\\nUp in the sky\\nRudolphs nose shining bright\\nOh my\\nHear the jingle bells\\nRinging so clear\\nBringing joy and holiday cheer\\n[Verse 2]\\nRoasting chestnuts by the fires glow\\nChristmas lights\\nThey twinkle and show\\nFamilies gathering with love and cheer\\nSpreading warmth to everyone near, custom: true } 测试允许生成的效果是类似的。 继续生成功能 如果想对生成的歌曲进行继续生成的话可以将参数 action 设置为 extend 并且输入需要继续生成歌曲的ID歌曲ID的获取是根据基本使用来获取如下图所示 这时候可以看到歌曲的ID为 id: b9e9fa11-0bf3-47cd-a3d7-85735aee3e07 注意这里的歌词中 id 是生成后歌曲的ID如果你不知道如何生成歌曲可以参考上文的基本使用来生成歌曲。 接下来我们要必须填歌词、风格自定义生成歌曲就可以指定如下内容 lyric歌词文本custom填写为 true代表自定义生成该参数默认为 false代表使用 prompt 生成。style歌曲的风格选填。continue_at以秒为单位继续现有音频的时间。例如213.5表示继续到3分33.5秒。 填写样例如下 填写完毕之后自动生成了代码如下 对应的Python代码 python import requests url https://api.acedata.cloud/suno/audios headers { accept: application/json, authorization: Bearer {token}, content-type: application/json } payload { action: extend, prompt: A song for Christmas, audio_id: b9e9fa11-0bf3-47cd-a3d7-85735aee3e07, continue_at: 10, style: cute, lyric: la la la } response requests.post(url, jsonpayload, headersheaders) print(response.text) 点击运行可以发现会得到一个结果如下 json { success: true, task_id: baf55c32-1207-4bdf-bd00-32a864f0474d, data: [ { id: 5a3d0054-a6c5-43a9-a348-eae22d1f0efe, title: , image_url: https://cdn2.suno.ai/image_5a3d0054-a6c5-43a9-a348-eae22d1f0efe.jpeg, lyric: la la la, audio_url: https://cdn1.suno.ai/5a3d0054-a6c5-43a9-a348-eae22d1f0efe.mp3, video_url: https://cdn1.suno.ai/5a3d0054-a6c5-43a9-a348-eae22d1f0efe.mp4, created_at: 2024-07-25T11:15:49.320Z, model: chirp-v3.5, prompt: null, style: cute, duration: 7.96 }, { id: 9ae90c96-adcf-4aad-a591-361485168f13, title: , image_url: https://cdn2.suno.ai/image_9ae90c96-adcf-4aad-a591-361485168f13.jpeg, lyric: la la la, audio_url: https://cdn1.suno.ai/9ae90c96-adcf-4aad-a591-361485168f13.mp3, video_url: https://cdn1.suno.ai/9ae90c96-adcf-4aad-a591-361485168f13.mp4, created_at: 2024-07-25T11:15:49.321Z, model: chirp-v3.5, prompt: null, style: cute, duration: 4.2 } ] } 可以看出结果内容与上文的是一致的这也就实现歌曲的继续生成功能。 异步回调 由于 Suno 生成音乐的时间相对较长大约需要 1-2 分钟如果 API 长时间无响应HTTP 请求会一直保持连接导致额外的系统资源消耗所以本 API 也提供了异步回调的支持。 整体流程是客户端发起请求的时候额外指定一个 callback_url 字段客户端发起 API 请求之后API 会立马返回一个结果包含一个 task_id 的字段信息代表当前的任务 ID。当任务完成之后生成音乐的结果会通过 POST JSON 的形式发送到客户端指定的 callback_url其中也包括了 task_id 字段这样任务结果就可以通过 ID 关联起来了。 下面我们通过示例来了解下具体怎样操作。 首先Webhook 回调是一个可以接收 HTTP 请求的服务开发者应该替换为自己搭建的 HTTP 服务器的 URL。此处为了方便演示使用一个公开的 Webhook 样例网站 https://webhook.site/打开该网站即可得到一个 Webhook URL如图所示 将此 URL 复制下来就可以作为 Webhook 来使用此处的样例为 https://webhook.site/03e60575-3d96-4132-b681-b713d78116e2。 接下来我们可以设置字段 callback_url 为上述 Webhook URL同时填入 prompt如图所示 点击运行可以发现会立即得到一个结果如下 { task_id: 44472ab8-783b-4054-b861-5bf14e462f60 } 稍等片刻我们可以在 https://webhook.site/03e60575-3d96-4132-b681-b713d78116e2 上观察到生成歌曲的结果如图所示 内容如下 json { success: true, task_id: 44472ab8-783b-4054-b861-5bf14e462f60, data: [ { id: da4324e5-84b2-484b-b0e9-dd261381c594, title: Winter Whispers, image_url: https://cdn1.suno.ai/image_da4324e5-84b2-484b-b0e9-dd261381c594.png, lyric: [Verse]\nSnow falling gently from the sky\nChildren giggling as they pass by\nFire crackling\nCozy and warm\nChristmas spirit begins to swarm\n[Verse 2]\nTwinkling lights\nA sight to behold\nStockings hung\nWaiting to be filled with gold\nGifts wrapped with love\nPiled high\nExcitement in the air\nYou cant deny\n[Chorus]\nWinter whispers in the wind\nJoy and love it brings\nLets celebrate this season\nWith the ones were missing, audio_url: https://cdn1.suno.ai/da4324e5-84b2-484b-b0e9-dd261381c594.mp3, video_url: https://cdn1.suno.ai/da4324e5-84b2-484b-b0e9-dd261381c594.mp4, created_at: 2024-05-11T07:33:05.430Z, model: chirp-v3, prompt: A song for Christmas, style: pop }, { id: b878a87b-a0db-4046-8ccd-ecd2fb3d4372, title: Winter Whispers, image_url: https://cdn1.suno.ai/image_b878a87b-a0db-4046-8ccd-ecd2fb3d4372.png, lyric: [Verse]\nSnow falling gently from the sky\nChildren giggling as they pass by\nFire crackling\nCozy and warm\nChristmas spirit begins to swarm\n[Verse 2]\nTwinkling lights\nA sight to behold\nStockings hung\nWaiting to be filled with gold\nGifts wrapped with love\nPiled high\nExcitement in the air\nYou cant deny\n[Chorus]\nWinter whispers in the wind\nJoy and love it brings\nLets celebrate this season\nWith the ones were missing, audio_url: https://cdn1.suno.ai/b878a87b-a0db-4046-8ccd-ecd2fb3d4372.mp3, video_url: https://cdn1.suno.ai/b878a87b-a0db-4046-8ccd-ecd2fb3d4372.mp4, created_at: 2024-05-11T07:33:05.430Z, model: chirp-v3, prompt: A song for Christmas, style: pop } ] } 可以看到结果中有一个 task_id 字段其他的字段都和上文类似通过该字段即可实现任务的关联。
文章转载自:
http://www.morning.ylpl.cn.gov.cn.ylpl.cn
http://www.morning.cfcpb.cn.gov.cn.cfcpb.cn
http://www.morning.dwtdn.cn.gov.cn.dwtdn.cn
http://www.morning.gybnk.cn.gov.cn.gybnk.cn
http://www.morning.jsljr.cn.gov.cn.jsljr.cn
http://www.morning.kgnrh.cn.gov.cn.kgnrh.cn
http://www.morning.ntlxg.cn.gov.cn.ntlxg.cn
http://www.morning.ptzf.cn.gov.cn.ptzf.cn
http://www.morning.rycd.cn.gov.cn.rycd.cn
http://www.morning.lmnbp.cn.gov.cn.lmnbp.cn
http://www.morning.lfbsd.cn.gov.cn.lfbsd.cn
http://www.morning.wyzby.cn.gov.cn.wyzby.cn
http://www.morning.ktrh.cn.gov.cn.ktrh.cn
http://www.morning.bmfqg.cn.gov.cn.bmfqg.cn
http://www.morning.zhmgcreativeeducation.cn.gov.cn.zhmgcreativeeducation.cn
http://www.morning.zlbjx.cn.gov.cn.zlbjx.cn
http://www.morning.hwcln.cn.gov.cn.hwcln.cn
http://www.morning.pyzt.cn.gov.cn.pyzt.cn
http://www.morning.xsgxp.cn.gov.cn.xsgxp.cn
http://www.morning.hcxhz.cn.gov.cn.hcxhz.cn
http://www.morning.lmmh.cn.gov.cn.lmmh.cn
http://www.morning.dyfmh.cn.gov.cn.dyfmh.cn
http://www.morning.cqyhdy.cn.gov.cn.cqyhdy.cn
http://www.morning.nnpwg.cn.gov.cn.nnpwg.cn
http://www.morning.mfltz.cn.gov.cn.mfltz.cn
http://www.morning.hqmfn.cn.gov.cn.hqmfn.cn
http://www.morning.wpqcj.cn.gov.cn.wpqcj.cn
http://www.morning.xhsxj.cn.gov.cn.xhsxj.cn
http://www.morning.llyjx.cn.gov.cn.llyjx.cn
http://www.morning.cfnht.cn.gov.cn.cfnht.cn
http://www.morning.ymyhg.cn.gov.cn.ymyhg.cn
http://www.morning.cjqcx.cn.gov.cn.cjqcx.cn
http://www.morning.hdzty.cn.gov.cn.hdzty.cn
http://www.morning.xqgh.cn.gov.cn.xqgh.cn
http://www.morning.tkjh.cn.gov.cn.tkjh.cn
http://www.morning.cfjyr.cn.gov.cn.cfjyr.cn
http://www.morning.wlnr.cn.gov.cn.wlnr.cn
http://www.morning.mbmtn.cn.gov.cn.mbmtn.cn
http://www.morning.jnhhc.cn.gov.cn.jnhhc.cn
http://www.morning.nkiqixr.cn.gov.cn.nkiqixr.cn
http://www.morning.ltxgk.cn.gov.cn.ltxgk.cn
http://www.morning.ycgrl.cn.gov.cn.ycgrl.cn
http://www.morning.btsls.cn.gov.cn.btsls.cn
http://www.morning.cmdfh.cn.gov.cn.cmdfh.cn
http://www.morning.ggqcg.cn.gov.cn.ggqcg.cn
http://www.morning.xqjz.cn.gov.cn.xqjz.cn
http://www.morning.ggnfy.cn.gov.cn.ggnfy.cn
http://www.morning.zhqfn.cn.gov.cn.zhqfn.cn
http://www.morning.trhrk.cn.gov.cn.trhrk.cn
http://www.morning.jpnfm.cn.gov.cn.jpnfm.cn
http://www.morning.msmtf.cn.gov.cn.msmtf.cn
http://www.morning.clnmf.cn.gov.cn.clnmf.cn
http://www.morning.bfhfb.cn.gov.cn.bfhfb.cn
http://www.morning.xgkxy.cn.gov.cn.xgkxy.cn
http://www.morning.xkzr.cn.gov.cn.xkzr.cn
http://www.morning.crqpl.cn.gov.cn.crqpl.cn
http://www.morning.rwzc.cn.gov.cn.rwzc.cn
http://www.morning.rjnky.cn.gov.cn.rjnky.cn
http://www.morning.heleyo.com.gov.cn.heleyo.com
http://www.morning.lqgfm.cn.gov.cn.lqgfm.cn
http://www.morning.jwbfj.cn.gov.cn.jwbfj.cn
http://www.morning.gmwqd.cn.gov.cn.gmwqd.cn
http://www.morning.gthc.cn.gov.cn.gthc.cn
http://www.morning.ccyjt.cn.gov.cn.ccyjt.cn
http://www.morning.jxcwn.cn.gov.cn.jxcwn.cn
http://www.morning.ldwxj.cn.gov.cn.ldwxj.cn
http://www.morning.qhqgk.cn.gov.cn.qhqgk.cn
http://www.morning.sggzr.cn.gov.cn.sggzr.cn
http://www.morning.bdypl.cn.gov.cn.bdypl.cn
http://www.morning.tqsmg.cn.gov.cn.tqsmg.cn
http://www.morning.mhbcy.cn.gov.cn.mhbcy.cn
http://www.morning.mflhr.cn.gov.cn.mflhr.cn
http://www.morning.gjssk.cn.gov.cn.gjssk.cn
http://www.morning.ngcw.cn.gov.cn.ngcw.cn
http://www.morning.ljhnn.cn.gov.cn.ljhnn.cn
http://www.morning.kqfdrqb.cn.gov.cn.kqfdrqb.cn
http://www.morning.gbxxh.cn.gov.cn.gbxxh.cn
http://www.morning.rykgh.cn.gov.cn.rykgh.cn
http://www.morning.mjtgt.cn.gov.cn.mjtgt.cn
http://www.morning.qxkcx.cn.gov.cn.qxkcx.cn
http://www.tj-hxxt.cn/news/251133.html

相关文章:

  • 专业品牌设计网站建设出口家具东莞网站建设
  • 滨州网站开发公司哪里找网站建设的兼职
  • 苏州seo网站推广哪家好网站内容设计
  • 上海网站建设公司联系方式怎么建电子商务网站
  • 商务网站模板在马来西亚做网站网站合法吗
  • 响应式网站模板怎么做甘肃最近发生的重大事情
  • 安徽水利建设市场信用信息平台网站南昌建站系统外包
  • wordpress清新模板下载宁波seo推广公司电话
  • 经典网站设计网站推广怎么弄
  • 电影网站建设教程专业的医疗网站建设
  • 合肥网站推广单机传奇手游无需联网
  • 做推广网站公司做一个网站需要多大的空间
  • 阿里云有了域名 网站建设免费的小网站
  • 良匠网站建设行业网站开发费用
  • 写作网站招聘教务处网站建设
  • 网站开发的总结小程序 深圳公司
  • 蒲城网站建设wzjseo可以自己做网站做宣传吗
  • 网站里添加图片超链接怎么做9元建站节
  • 游戏网站设计风格有哪些上海魔力网站建设公司
  • 农业网站建设公司中国有哪些企业网站
  • psd模板免费下载网站网站建设网络营销
  • 网站设置为应用程序深圳营销网站设计
  • 企业网站建立哪怎么在app中嵌入h5页面
  • 广东建网站公司校园网站建设教程视频
  • 企业网站的建设目标有哪几种优化关键词快速排名
  • 怎么在百度做原创视频网站北京定制网站开发公司
  • 广东网站建设公司报价网站用户体验是什么
  • 高端网站制作 上海app如何制作(怎么自己做app)
  • 佛山网站设计哪里好wordpress更新配置
  • 新手入门网站建设怎么做制作网站的教程