Change a video
change_videoChange a clip the account made, in plain words, keeping everything else: swap the setting or background, add or remove objects, restyle it, change the weather, light or time of day, move the camera differently, change outfits, or change what someone says. Works on clips up to one take long; for longer clips change only the last stretch. Returns a new clip; the original is kept. Spends the account's PrismPoster credits at the same price as on prismposter.com (quote_job prices it first, free). When the person must decide something first (a price above their ask-first amount, consent for real people in pictures, the right to use a clip), it returns approval_required and nothing runs until they answer in PrismPoster's card or at the link. Everything made is saved to their PrismPoster library. Requests involving anyone under 18 or depicting public figures or office holders are refused before any charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change | No | What to change, in plain words: a different background or setting, an object added or removed, new clothes, a new camera move, a different time of day or weather, a new look or style, what a person says. Everything not mentioned stays as it was. | |
| engine | No | Defaults to the engine the clip was made with. | |
| clip_id | No | The clip to work on: one PrismPoster made, as a clip_id from get_job or a video asset_id from list_library. | |
| resolution | No | Defaults to the clip's own. Iterate at 360p to save credits, then finish at full size. | |
| approval_id | No | Only after an approval_required answer: the approval_id it returned, once the person has answered. The job then runs exactly as they approved it and the other arguments are ignored. | |
| aspect_ratio | No | Reframe while changing. | |
| idempotency_key | No | Optional. A unique key for this job (8-128 letters, digits, . _ : -). Repeating a call with the same key returns the first call's job instead of starting and charging a second one, so set it whenever a retry is possible. | |
| edit_last_seconds_only | No | For a clip longer than one take: change only its last stretch, returned as a clip of that length. |