OMOB
Back to Primitives

1 action · $0.0025 / second

Music

Music API for AI agents

OMOBTool

Instrumental tracks and sound effects. Music gives your agent 1 action through one OMOB API key, $0.0025 / 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.

Royalty-free music and sound effects from a prompt.

Part of AI models

Actions

Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }

  • Music

    Generate track

    music.generate

    A track from a prompt.

    Parameters
    ParameterDescription
    prompt
    string · required
    Genre, mood and tempo, e.g. "upbeat lo-fi, 90 bpm".
    seconds
    number
    Track length, 3-300 seconds. Left out, 30.
    Example response
    {
      "object": "audio",
      "url": "https://files.omob.app/mus_01JDXD.mp3",
      "seconds": 30
    }
    $0.0025 / secondNeeds top-up

Pricing

$0.0025 / 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("music.generate", {"prompt":"upbeat lo-fi, 90 bpm"}, { wait: true });console.log(run.output);

Music API: questions

How do I get a Music API key for my agent?
You do not need a separate Music key or account. Sign up at developers.omob.app, create one OMOB API key, and your agent calls every Music action with it, from the SDK, the CLI, REST or the MCP connector.
How much does the Music API cost?
Music actions start $0.0025 / 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 Music?
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 Music 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.

Guides using Music

Related tools

  • OMOB

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

    from $0.004
    per image
    2 actions
  • OMOB

    Text or image to video with sound, 5–15 s.

    $0.05
    per second
    1 action
  • OMOB

    Text to speech, dialogue, voice changer and voice isolation.

    from $0.002
    per second
    5 actions