OMOB
Back to Primitives

5 actions · from $0.01 / second

Mira video edits

Mira video edits API for AI agents

OMOBTool

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
    ParameterDescription
    video
    string · required
    The clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited.
    prompt
    string · required
    What to change, in plain words, e.g. "make it night and add rain".
    references
    string[]
    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
    ParameterDescription
    video
    string · required
    The clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited.
    prompt
    string · required
    The new place, e.g. "a snowy mountain ridge at dawn".
    references
    string[]
    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
    ParameterDescription
    video
    string · required
    The clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited.
    prompt
    string · required
    What to swap and for what, e.g. "swap the red jacket for a black leather one".
    references
    string[]
    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
    ParameterDescription
    video
    string · required
    The clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited.
    prompt
    string · required
    Who to replace, e.g. "replace the woman on the left with the person in photo 1".
    references
    string[] · required
    Photos (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
    ParameterDescription
    video
    string · required
    The clip to edit: a public link (https) or the file id (fil_…) of a video in your library. Up to 15 seconds are edited.
    prompt
    string · required
    Who moves, e.g. "the person in photo 1 does the dance".
    references
    string[] · required
    Photos (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.

    $0.05
    per second
    1 action
  • OMOB

    A long video cut into short, captioned clips.

    at cost + $0.10
    per job
    1 action
  • OMOB

    Text to image and image editing, up to 4K.

    from $0.004
    per image
    2 actions