quote_topic_short_edit
Quote one paid edit of a finished Topic Short before it runs. kind revoice re-records one line (beatIndex plus the new narration, in the short’s language; it must fit that beat) and kind regenerate_shot re-rolls one AI shot (beatIndex and shotIndex). Nothing is charged. Returns quoteId, numeric requiredCredits and availableCredits (null for unlimited accounts), affordable, expiresAt and facts (the job facts, for example Beat 3 · New voiceover · 4s line). Pass quoteId with the same fields to edit_topic_short within 10 minutes; a new edit on the short invalidates it. When affordable is false, edit_topic_short returns HTTP 402: use create_checkout_url. Free edits (captions, music, swap_shot) need no quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Topic Short generation id from generate_topic_short. | |
| kind | Yes | revoice re-records one line; regenerate_shot re-rolls one AI shot. | |
| beatIndex | Yes | The beat to change (0 is the hook). | |
| narration | No | With revoice: the new spoken line for that beat, in the short’s language. | |
| shotIndex | No | With regenerate_shot: the shot inside that beat (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | The paid edit quote. Pass quote.quoteId with the same fields to edit_topic_short. |