Make what an effect needs
prepare_effectMake what an effect already in the film still needs, and link it in: its person mask or its face. read_film lists the effects that wait for something under Effects waiting, with what each one needs. It links a mask or a face made before when one covers the seconds the effect plays over, else runs cutout_subject or track_faces there, which use credits as those tools do; a run already going for it is joined, not started or charged again. A photo or footage the effect needs is named for you to set, not guessed. clipId is the effect's clip id. A long cutout answers with a Job ID: wait for it with wait_for_jobs. Check the result with preview_frame.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clipId": "<clipId>",
"projectId": "<projectId>"
},
"name": "prepare_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipId | Yes | Id of the effect's clip in the film, from read_film's Effects waiting. | |
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. |