5 actions · from $0.01 / second
Mira video edits
Mira video edits API for AI agents
Swap the place, an outfit, an object or a person in a clip. Mira video edits gives your agent 5 actions through one OMOB API key, starting from $0.01 / second, billed per call to one prepaid balance. It works from ChatGPT and Claude through one MCP connector, and from the SDK, CLI or REST.
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 / secondAsyncNeeds top-up - 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 / secondAsyncNeeds top-up - 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 / secondAsyncNeeds top-up - 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 / sceneAsyncNeeds top-up - 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 / secondAsyncNeeds top-up
Pricing
from $0.01 / second
Billed per call to one prepaid balance. No vendor accounts, no subscription.
Marked Needs top-up below: these run after your workspace's first $10 top-up. Free credit covers: data, search and social data tools, image generation, model routing, stock media search, identities and inboxes, email to your own team, domain checks, paper trades, vaults and webhooks.
Use it from ChatGPT, Claude, the SDK or the CLI
import { createOMOB } from "@omob-sdk/omob"; const omob = createOMOB(); // reads OMOB_API_KEYconst run = await omob.tools.run("edit.prompt", {"video":"https://files.omob.app/beach.mp4","prompt":"make it golden hour and add light rain"}, { wait: true });console.log(run.output);
Mira video edits API: questions
- How do I get a Mira video edits API key for my agent?
- You do not need a separate Mira video edits key or account. Sign up at developers.omob.app, create one OMOB API key, and your agent calls every Mira video edits action with it, from the SDK, the CLI, REST or the MCP connector.
- How much does the Mira video edits API cost?
- Mira video edits actions start from $0.01 / second, billed per call to one prepaid balance. Each action's price is listed on this page, and you only pay for calls that run.
- Is there a free tier?
- Yes. Every new developer account gets $1 of free credit, no card, and tool calls like these run on it. After that you top up a prepaid balance; there is no subscription.
- Can ChatGPT or Claude use Mira video edits?
- Yes. Add OMOB as a connector with the URL https://mcp.omob.app/v1/mcp and sign in; then ask in plain words and the assistant finds and runs the Mira video edits actions for you. Claude Code, Codex and other MCP clients use the same URL. In ChatGPT, custom connectors need a Business, Enterprise or Edu workspace; on Plus or Free, use Claude.
Related tools
- OMOB
Text or image to video with sound, 5–15 s.
1 action$0.05per second - OMOB
A long video cut into short, captioned clips.
1 actionat cost + $0.10per job - OMOB
Text to image and image editing, up to 4K.
2 actionsfrom $0.004per image
