Generate
SSE 状态流(免费)/ Server-sent events (free)
text/event-stream,每 3 秒一条 event: status(data 为 Generation JSON),终态后关闭,最长 10 分钟;出错时 event: error。
Emits status events every 3 s with the Generation JSON until finished/failed (max 10 min); error event on failure.
get/v1/generations/{id}/events
Request
- Base URL: https://api.musicsforyou.com
- URL: https://api.musicsforyou.com/v1/generations/{id}/events
- 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)
- none
Path parameters
idstring required
generation id
Response
事件流 / Event stream
Changes
No recorded changes to this operation across all 1 revision of this API.