音乐续写
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: "本页接口说明详见下方接口定义;参数取值与返回以本平台实测为准。"
version: 1.0.0
paths:
/udio/submit/music:
post:
summary: 音乐续写
deprecated: false
description: "config.source.song_id 为待扩展的歌曲 ID;context_length 默认为 130;config.mode 可取 precede 或 continuation,precede 用于在歌曲前方扩展,并配合 song_section_start 控制扩展位置(例如添加前奏)。其余参数取值与返回以本平台实测为准。"
tags:
- 废弃、未开放/Udio文生歌
parameters:
- name: Authorization
in: header
description: "该字段的取值与含义以本平台实际返回为准。"
required: false
example: Bearer {{YOUR_API_KEY}}
schema:
type: string
default: Bearer {{YOUR_API_KEY}}
requestBody:
content:
application/json:
schema:
type: object
properties: {}
examples: {}
responses:
'200':
description: "该字段的取值与含义以本平台实际返回为准。"
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
data:
type: string
required:
- code
- message
- data
headers: {}
security: []
components:
schemas: {}
securitySchemes: {}
servers: []
security: []
使用提示:本页接口的 Base URL 为
https://api.allyang.cn,请求头需携带Authorization: Bearer <令牌>(令牌在控制台「令牌管理」中创建)。示例中的任务 ID、时间戳与文件地址均为示意值,实际以平台返回为准。该分组标记为「废弃 / 未开放」,接入前请先与对接人确认开放状态。