Quote a shot candidate
quote_candidatePrice a shot candidate without spending credits: returns the credit cost and usable_until so you can show the user the price before creating it.
Instructions
Price one shot candidate of a run WITHOUT spending credits: one picture or clip made for one shot, to keep or discard in a revision. Pass run_id, shot_id and operation, the same as create_candidate; the answer names the unit, its credits and usable_until, the last moment the candidate can enter a revision. Always call this first and show the user the price before create_candidate. A delivered candidate is charged its one unit whether it is kept or discarded; one that fails is charged nothing, even when its paid work was already done. While shot candidates are closed it answers editing_disabled and charges nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| take | No | Take number, 1 by default: the same request and take return the same run; take 2 makes another candidate. | |
| run_id | Yes | The faceless run whose shot the candidate is for: a succeeded original or revision. | |
| shot_id | Yes | The shot to make a candidate for, as get_run_shots names it. | |
| operation | Yes | What to generate: one of the operations get_run_shots lists for the shot. |