Creative
Alpha

creative_timeline_audio

Creative フラグが有効な接続先ワークスペースで、保存済み音声を結合または分割します。

Operation Write.

Parameters

ParameterTypeRequiredDescription
bodyobjectYesTimeline settings.
body.operationstringYesUse concat to join parts or split to cut ranges from one file.
body.partsarrayNoFor concat, provide 1–20 ordered parts with url and optional source_in and duration in seconds. Use the same channel layout for all parts.
body.urlstringNoFor split, provide one saved audio URL.
body.rangesarrayNoFor split, provide 1–20 ranges. Each has a start and optional end in seconds. Omit end to cut through the end of the file.
body.outputobjectNoSet format to wav (default) or mp3.
body.modestringNoUse async for an immediate job ID, sync or subscribe for a bounded wait, or webhook for terminal delivery.
body.wait_timeout_secondsintegerNoWait from 0 to 30 seconds in sync or subscribe mode.
body.webhook_urlstringNoPublic HTTPS URL for terminal delivery.
body.project_idstringNoDestination project in the same workspace.
body.metadataobjectNoCaller data to keep with the job.
idempotency_keystringYesReuse this key to retry the same request.

出力の合計は最大 1,800 秒です。結合では 1 件の音声と各区間の開始位置を返します。分割では指定順に各区間の音声を返します。

Use media saved in the connected workspace. Inputs and outputs each have a combined limit of 400 MB. Pass data.job.id to creative_jobs_wait, then retrieve the output with creative_jobs_result.

Sample prompt

保存した 2 件の音声を WAV に結合し、出力 URL と各音声の開始時刻を教えてください。