Skip to main content
POST
Studio crop
Keep only [start_s, end_s) of a clip and export a new song. Equivalent to /studio/edit with a single crop op. For multiple trims, prefer Batch Edit. Poll Get Task Status until success.
Free (0 credits). Account is resolved from clip_id (same-account policy).
Part of the Studio Editing group.

Parameters

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
clip_id
string
required

原歌曲 clip_id(通过 conf_task_policy.requireSameAccount + clip 归属选账号)

start_s
number
required

保留区间起始秒

Required range: x >= 0
end_s
number
required

保留区间结束秒(须大于 start_s)

Required range: x >= 0
title
string

新歌标题

beat
object

Optional metronome export; omit for legacy behavior

Response

201 - application/json
taskId
string
required

task id. Use this id to query task status.

Example:

"15c257ff-43f7-4678-bd41-202ad6b8488b"