Camera Director
- The video: an earlier output url, an earlier upload from
list_jobs {filter: "uploads"}, or one the user gave; otherwise leave it out and the preset form takes the upload (where there is no card,upload_filefor a chat attachment orprepare_upload). It must be one shot of 4–30 seconds; cut a longer clip withvideo-trimfirst and pass its output url. - Unless the user named the move, let them pick it:
show_presets {app: "camera-director"}, with the video ininputswhen you have it. When they name the shot in words, or no card shows, map their words to options fromlist_preset_options. An invalid framing, angle and motion combination is refused before any price with the allowed values; pick one of them and retry. - Say in one line what you're running, then call
create_from_presetwith a freshrequest_idand nomax_creditsand follow the quote'snext(it applies the user's approval mode). Your line sits above the card, whose Create is the user's yes: don't ask for a yes or restate the price after it. The card runs the user's Create, edits and Take it further itself; once it reports a started job, don't call the tool again — useget_job. With no card, on a yes call it again with the same input,request_idand the agreedmax_credits. - Offer follow-ups: another camera move,
extend-videoto continue the shot, orcreate_audiowithmodel: "pika/pika-audio/pika-soundtrack"for music.