Creative
Alphacreative_timeline_audio
Creative フラグが有効な接続先ワークスペースで、保存済み音声を結合または分割します。
Operation Write.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
body | object | Yes | Timeline settings. |
body.operation | string | Yes | Use concat to join parts or split to cut ranges from one file. |
body.parts | array | No | For 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.url | string | No | For split, provide one saved audio URL. |
body.ranges | array | No | For 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.output | object | No | Set format to wav (default) or mp3. |
body.mode | string | No | Use async for an immediate job ID, sync or subscribe for a bounded wait, or webhook for terminal delivery. |
body.wait_timeout_seconds | integer | No | Wait from 0 to 30 seconds in sync or subscribe mode. |
body.webhook_url | string | No | Public HTTPS URL for terminal delivery. |
body.project_id | string | No | Destination project in the same workspace. |
body.metadata | object | No | Caller data to keep with the job. |
idempotency_key | string | Yes | Reuse 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 と各音声の開始時刻を教えてください。