クリエイティブ
Alpha

creative_timeline_audio

Join or split saved audio in the connected workspace when its Creative flag is enabled.

操作 書き込み。

パラメーター

パラメーター型必須説明
bodyobjectはいタイムラインの指定です。
body.operationstringはい結合には concat、複数区間の切り出しには split を指定します。
body.partsarrayいいえ結合する 1〜20 件の音声を順に指定します。各要素には url と、必要に応じて秒単位の source_in と duration を指定します。チャンネル構成はそろえてください。
body.urlstringいいえ分割する保存済み音声の URL です。
body.rangesarrayいいえ分割する 1〜20 区間です。秒単位の start を指定します。end を省略すると音声の末尾まで切り出します。
body.outputobjectいいえformat は wav(既定値)または mp3 です。
body.modestringいいえasync はジョブ ID を即時に返します。sync と subscribe は上限付き待機、webhook は終端通知です。
body.wait_timeout_secondsintegerいいえsync または subscribe の待機時間です。0〜30 秒。
body.webhook_urlstringいいえ終端通知を受け取る公開 HTTPS URL。
body.project_idstringいいえ同じワークスペース内の保存先プロジェクト ID。
body.metadataobjectいいえジョブに保存する呼び出し元の補足情報。
idempotency_keystringはい同じリクエストの再試行時に同じキーを使います。

The combined output limit is 1,800 seconds. Concat returns one audio artifact and the offsets of its parts. Split returns one artifact per range in request order.

接続先ワークスペースに保存した素材を使います。入力と出力はそれぞれ合計 400 MB までです。data.job.id を creative_jobs_wait に渡し、完了後に creative_jobs_result で出力を取得します。

プロンプト例

Join the two saved voice clips as a WAV, then give me the output URL and the start time of each clip.