5 actions · from $0.01 / second
Mira video edits
Send a short clip and say what to change: the place, an outfit or object, or a person (from your photos). Or copy the clip's exact motion onto the people in your photos. Runs as a job; the finished edit lands in your files. Billed what the render cost: per second without photos, per scene with photos.
Part of AI models
Actions
Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }
- Mira video edits
Edit a clip
edit.prompt
Change anything in a clip, described in words.
Parameters Parameter Description videostring · requiredThe clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited. promptstring · requiredWhat to change, in plain words, e.g. "make it night and add rain". referencesstring[]Optional photos (fil_ ids, up to 4) of what should appear. With photos it is billed per scene instead. Example response
{ "files": [ { "id": "fil_01JDXH", "kind": "video" } ] }$0.03 / secondAsync - Mira video edits
Swap the place
edit.scene
Keep the people and the action, change where it happens.
Parameters Parameter Description videostring · requiredThe clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited. promptstring · requiredThe new place, e.g. "a snowy mountain ridge at dawn". referencesstring[]Optional photos (fil_ ids, up to 4) of the new place. Example response
{ "files": [ { "id": "fil_01JDXH", "kind": "video" } ] }$0.03 / secondAsync - Mira video edits
Swap an outfit or object
edit.outfit
Change what someone wears or holds, or any object in the shot.
Parameters Parameter Description videostring · requiredThe clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited. promptstring · requiredWhat to swap and for what, e.g. "swap the red jacket for a black leather one". referencesstring[]Optional photos (fil_ ids, up to 4) of the new outfit or object. Example response
{ "files": [ { "id": "fil_01JDXH", "kind": "video" } ] }$0.03 / secondAsync - Mira video edits
Swap a person
edit.person
Replace a person in the clip with the one in your photos.
Parameters Parameter Description videostring · requiredThe clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited. promptstring · requiredWho to replace, e.g. "replace the woman on the left with the person in photo 1". referencesstring[] · requiredPhotos (fil_ ids, 1 to 4) of the new person. Use only people who agreed to it. Example response
{ "files": [ { "id": "fil_01JDXH", "kind": "video" } ] }$0.78 / sceneAsync - Mira video edits
Copy the motion
edit.motion
Put the people in your photos into the clip's exact moves.
Parameters Parameter Description videostring · requiredThe clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited. promptstring · requiredWho moves, e.g. "the person in photo 1 does the dance". referencesstring[] · requiredPhotos (fil_ ids, 1 to 3) of the people who take over the motion. Use only people who agreed to it. Example response
{ "files": [ { "id": "fil_01JDXH", "kind": "video" } ] }$0.01 / secondAsync
Pricing
from $0.01 / second
Billed per call to one prepaid balance. No vendor accounts, no subscription.
Code
import { createNaive } from "@usenaive-sdk/naive"; const naive = createNaive(); // reads NAIVE_API_KEYconst run = await naive.tools.run("edit.prompt", {"video":"https://files.usenaive.ai/beach.mp4","prompt":"make it golden hour and add light rain"}, { wait: true });console.log(run.output);
Related tools
- Naive
Text or image to video with sound, 5–15 s.
1 action$0.05per second - Naive
A long video cut into short, captioned clips.
1 actionat cost + $0.10per job - Naive
Text to image and image editing, up to 4K.
2 actionsfrom $0.004per image