Quote a revision of a run
quote_revisionPrice a run revision before spending credits: pass run_id and changes or document to preview what will change and the total credits it costs. Show the quote before revising.
Instructions
Price a revision of a run WITHOUT spending credits: what it would change (summary) and what it costs (billing.total_credits). Pass run_id and exactly one of changes or document, the same as revise_run. Always call this first and show the user the price before revise_run. A revision that delivers is charged its quoted total; one that fails is charged nothing, even when its paid work was already done. While paid edits are closed it answers editing_disabled and charges nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run to revise: a succeeded make_faceless run, an original or a revision. | |
| changes | No | Shots to generate anew over the run as it is: each a shot_id and the operation to generate for it. | |
| document | No | The whole edited document, as the run's draft holds it; retimes, deletions and uploads go this way. |