クリエイティブ
Alpha

creative_timeline_render

Render a timeline from saved media when the connected workspace has the Creative flag.

操作 書き込み。

パラメーター

パラメーター型必須説明
bodyobjectはいタイムラインの指定です。
body.audioobjectはいduration_seconds を 1〜1800 秒で指定し、保存済みの url、順番に並べた parts、または mode: silence を選びます。
body.videoarrayはい動画と静止画を 1〜200 件並べます。各要素に source_url、start、duration を指定します。source_in、fit、手前の区間からの transition も指定できます。
body.soundtrackobjectいいえBGM の保存済み音声 url を指定します。音量、ループ、フェードアウト、ナレーション中の音量調整も指定できます。
body.outputobjectいいえ出力サイズ、フレームレート、冒頭と末尾のフェードを指定できます。出力形式は MP4 です。
body.renderobjectいいえレンダーの strategy、chunk_max_segments、短い素材を補う pad_mode を指定できます。
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はい同じリクエストの再試行時に同じキーを使います。

Start the first video segment at zero. Each later segment has an explicit start on the audio spine. An incoming transition starts at that segment’s declared start. The job reserves its price per started minute of declared output, up to 1,800 seconds.

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

プロンプト例

Render an MP4 from my saved narration, product still, and demo clip. Use a quarter-second fade into the demo and wait for the result.