create the edited dialogue video
dialogue-videos_createRender the final Edit Dialogue video by lip-syncing a saved single-speaker source video to an approved preview’s audio, creating a new generation for review and download.
Instructions
Render the final Edit Dialogue video: lip-sync the saved single-speaker source video to a finished, user-approved preview's audio, creating a new generation. Not for translation (dubbing_create), whole-script replacement or a different voice (lipsync_create with a script), or the audio preview itself (dialogue-previews_create). This is a paid action that starts a generation job and consumes sync. credits. First use dialogue-videos_estimate with the same source, preview and model, then obtain the user's approval of the preview, configuration and estimated cost. Despite the destructive hint it only adds a generation and never overwrites the source video. Returns the generation (id, status) right away, not a finished video; poll generations_get, or jobs_wait with kind generation when available,, then read outputMediaUrl when COMPLETED. Persist one idempotencyKey for the approved request; on an uncertain response, reuse that key with identical inputs instead of starting a second paid job. Use continuation only for an explicitly requested continuation of an edit_dialogue generation in this project. With projectId, projectIntent=explicit is required; default new work to a new project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Lip-sync model returned by models_list, matching the approved estimate. | |
| options | No | Optional model controls. Omit any field to use its default. | |
| projectId | Yes | Project for the new output, the one used for the preview. Keep unchanged on retries. Default new work to a new project: the id projects_create returned for this request (defaultWorkflow edit_dialogue). Use an existing project only when the user explicitly chose it, and then pass projectIntent=explicit. | |
| continuation | No | Only for an explicitly requested continuation of an existing generation in this project. The workflow must be edit_dialogue. | |
| videoAssetId | Yes | Saved VIDEO asset used for the approved dialogue preview, accessible to the connected account. | |
| projectIntent | No | Required with projectId. Set only for an explicit user project selection/update, or the new project just created for this request. Never infer intent from a matching project name, workflow name or active editor. | |
| dialogueEditId | Yes | Completed Edit Dialogue audio preview ID for this source video and the current user-approved edits. Not a transcription or generation ID. | |
| idempotencyKey | Yes | Persist one unique key per approved generation. Reuse the exact key and unchanged inputs when recovering an uncertain response; never automatically generate a replacement key. | |
| organizationId | No | Run only this call in another of the user’s Sync organizations, by id from organizations_list, when the user asks for it (for example “generate this in the Acme org”). The session keeps its organization; reads of the ids this call returns stay in this organization. Omit to use the session’s organization. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||