check a dialogue edit preview
dialogue-previews_getPolls an Edit Dialogue audio preview by id to return its status, hosted preview audio, retimed transcript, and slot details for progress checks or review.
Instructions
Read one Edit Dialogue audio preview by id, rejecting it if it was not made from the given source video. Returns status (PENDING or PROCESSING while running; COMPLETED, COMPLETED_PARTIAL or FAILED when done), previewAudioUrl (hosted WAV of the whole edited window), resultTranscript (words retimed to the preview audio), resultSlots (each edited region's outputStartMs and outputDurationMs in the preview, sourceStartMs and sourceDurationMs in the source), the submitted sourceTranscript and edits, voiceId, partialDetail and error. Poll it while running; never create another preview to check progress. COMPLETED_PARTIAL is playable but incomplete: partialDetail.failedSlots lists regions that may sound rough, and reason background_bed_missing means only the speech was kept; tell the user which applies rather than reporting the preview as fully done. On FAILED, EDIT_TOO_LONG carries spanText and wordIds for the replacement to shorten, while codes such as VOICE_BLOCKED and SOURCE_TOO_LONG will not succeed on retry. Once the user approves the audio, pass this id as dialogueEditId to dialogue-videos_estimate and dialogue-videos_create; to revise, call dialogue-previews_create with previousPreviewId. Not for rendered videos (generations_get).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id returned by dialogue-previews_create. | |
| projectId | Yes | The projectId used with dialogue-previews_create. | |
| videoAssetId | Yes | The videoAssetId used to create this preview (the copy's id if dialogue-transcriptions_create returned one). A preview made from a different source video is rejected. |