Install
openclaw skills install @runware/replace-in-videoSwap one on-camera element in an existing video while everything else stays put. Use when the user says "recast this character", "put a different actor in this clip", "swap the product she's holding", "change the shirt he's wearing", "change the car's color", "repaint the jacket", "drop my mascot into this scene", or "replace X but keep the rest". Keeps the original motion, timing, camera, lighting, and audio untouched. For a whole-frame restyle or relight, use edit-video instead.
openclaw skills install @runware/replace-in-videoSwap a single on-camera element in a source video (a character, a product, a garment) for one from a reference image, while the motion, timing, camera movement, lighting, audio, and background all carry through unchanged. The lever is a source video plus one to three reference images, and a prompt that names exactly what to replace and what to preserve. This is not re-shooting or re-prompting the scene, it is a targeted swap that leaves everything else frame-faithful.
prunaai:p-video@replace). The model for swapping one on-camera element in a clip while preserving the rest. Takes the source under inputs.video and up to 3 images under inputs.referenceImages. Capability io:video-to-video + op:edit.prunaai:p-video@animate), not this. Replace keeps the video's world, Animate keeps the image's.product-ad-video, then run replace on the result.live and inspect its exact input fields via runware-models + runware-run before calling. Never hardcode a stale choice.runware-run) and confirm the input fields (inputs.video, inputs.referenceImages), the resolution and fps options, and that the task is videoInference.inputs.video and inputs.referenceImages.videoInference asynchronously (deliveryMethod: async). The call returns a taskUUID. Poll getResponse until terminal, then read videoURL. Video is never a blocked sync call.positivePrompt that names the element to replace and lists everything to preserve. For a clean single-character recast, the prompt is optional.See references/examples.md for three worked async videoInference recipes (recast a character, swap a product or garment, drop a subject into a generated scene) with the real request and videoURL result shape.
positivePrompt carries what gets swapped for it and what stays. The closing direction "Only the X should change, everything else stays as the source" is what turns a global appearance match into a localised swap. Be specific about the target: "replace the matte-black earbuds case she's holding" works, "replace the product" is too vague and drifts between runs. Template: Replace [specific source element] with [the X] from the reference image. Preserve [list everything that stays] exactly as they appear in the source. Only [the named element] should change, everything else stays as the source.referenceImages accepts up to 3. Sending a front plus three-quarter left and right tightens a character recast when the source head turns away from camera. The single front reference is enough for static or near-static shots.taskType: videoInference and deliveryMethod: async. Always polled, never a blocked sync call.inputs.video is the source clip. inputs.referenceImages takes up to 3 images. Confirm the exact field names against the live schema, never guess.positivePrompt is optional. Required for localised object/garment swaps and for multi-character disambiguation. Names the replace target and the preserve list.resolution is 720p or 1080p. Output inherits the source's aspect ratio, so this is the only sizing call. 1080p roughly doubles the per-second cost. Draft a variant batch at 720p, re-run only approved variants at 1080p.fps accepts 24 or 48 only. Omit it to inherit the source's native frame rate, which is what most workflows want.settings.preserveAudio (default true) controls whether the source audio is in the output at all. Set false for a silent output you intend to re-dub.settings.sourceAudioSync (default true) controls whether the source audio drives the character's lip and motion sync. Set false when the audio is incidental (room tone, music) and should not pull the face around.seed: fix it to hold a take while iterating, vary it for alternates.runware-run, runware-models, runware-prompting; edit-video (general video editing/restyle of a whole clip), product-ad-video (generate the source spot, or swap a product into shot footage).