Edit
只重做一段(扣 1 次)/ Redo one section (1 credit)
只重做 [startS, endS],其余保持不变。区间 ≥10 秒且 ≤ 原曲一半。返回新的 generation(parentId 指向原作品)。
Regenerates only the given range; the rest stays. Returns a new generation whose parentId is the original.
post/v1/generations/{id}/replace-section
Request
- Base URL: https://api.musicsforyou.com
- URL: https://api.musicsforyou.com/v1/generations/{id}/replace-section
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://www.musicsforyou.com/oauth/authorize, token URL https://api.musicsforyou.com/oauth/token, scopes: music)
Path parameters
idstring required
原作品 id / source generation id
Request body
Response
已受理 / Accepted
Example response
{
"generation": {
"spec": {
"composition": {
"sections": [
{
"label": "Verse 1"
}
]
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.