Image to Music v2

by fffilonico.huggingface.fffiloni/image-to-music-v2

Get a music sample inspired by the mood of an image

  • Remote endpoint
  • 1 tool

Uptime

Checked  · every day

86.75%from 4 days of checks

Up without downtime on 2 of 3 days with data; down 498 minutes in all, on 31 October.

  • No downtime
  • Degraded
  • Down over 5 minutes
  • No data
  • Not checked yet

Response time

Median 1113 ms, slowest 5% 1191 ms for the handshake and the tool list, over 30 days.

1500 ms750 ms0

How far each check got

  • Reached the address 100%
  • Completed the handshake 42.8%
  • Listed its tools 42.8%

1 tool at the last answer.

Every day
DayResultChecksMedian
3 Nov (today)No verdict yet0–
2 NovNo downtime1of 11033 ms
1 NovNo downtime1of 11110 ms
31 OctDown 498 minutes51122 ms

A failure counts as down time only when a second check five minutes later fails too. How we check

Connect to the publisher's own endpoint

Add to ~/.config/agenvoy/mcp.json:

{
  "servers": {
    "image-to-music-v2": {
      "url": "https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse"
    }
  }
}

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

For agents: the install prompt

Every step above as one Markdown text, for an assistant installing it for you.

# Install the MCP server Image to Music v2 (`co.huggingface.fffiloni/image-to-music-v2`)

Its page: https://plug.directory/servers/co.huggingface.fffiloni/image-to-music-v2

It runs on the publisher's servers; the client connects to its URL.

Use the section for the person's client.

## Claude Desktop

Paste into Settings › Connectors › Add custom connector:

```text
https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse
```

## Claude Code

Run in a terminal:

```sh
claude mcp add --transport sse image-to-music-v2 https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse
```

## Cursor, Devin Desktop, LM Studio, Gemini CLI, oterm, ECA

Merge into the place for the person's client:

- Cursor: ~/.cursor/mcp.json
- Devin Desktop: ~/.config/devin/mcp_config.json
- LM Studio: mcp.json (Program › Install › Edit mcp.json)
- Gemini CLI: ~/.gemini/settings.json
- oterm: config.json in oterm's data folder (~/Library/Application Support/oterm on macOS, ~/.local/share/oterm on Linux, %APPDATA%\oterm on Windows)
- ECA: ~/.config/eca/config.json (global) or .eca/config.json in the project

```json
{
  "mcpServers": {
    "image-to-music-v2": {
      "url": "https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

## VS Code

Merge into .vscode/mcp.json:

```json
{
  "servers": {
    "image-to-music-v2": {
      "type": "sse",
      "url": "https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

## Zed

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Cline, AnythingLLM, Augment Code

Merge into the place for the person's client:

- Cline: cline_mcp_settings.json (MCP Servers › Configure › Configure MCP Servers)
- AnythingLLM: anythingllm_mcp_servers.json in the AnythingLLM storage plugins directory
- Augment Code: Augment Settings Panel – MCP section – Import from JSON (VS Code extension)

```json
{
  "mcpServers": {
    "image-to-music-v2": {
      "type": "sse",
      "url": "https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

## Continue

Merge into ~/.continue/config.yaml:

```yaml
mcpServers:
  - name: "image-to-music-v2"
    type: sse
    url: "https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse"
```

## Goose

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Codex

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## mcp-client-cli, TUUI, BoltAI, Bob Shell, Kiro, Kiro CLI

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Agenvoy

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Amp

Merge into ~/.config/amp/settings.json (user) or .amp/settings.json (workspace):

```json
{
  "amp.mcpServers": {
    "image-to-music-v2": {
      "url": "https://fffiloni-image-to-music-v2.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

Then restart the client, or reload its MCP servers, and ask it to list the server's tools to confirm it started.

Tools 1

  • image_to_music_v2_infer Generate music from an input image and selected music generation model. This function performs the following steps: 1. Checks that an image and a model have been provided. 2. Verifies if the selected model's API is currently available. 3. Uses an image captioning model (Kosmos-2) to describe the image. 4. Generates a musical prompt from the image caption using a language model. 5. Sends the musical prompt to the selected music generation model and retrieves the result. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: - A string containing the musical prompt generated from the image., - A flag to show the retry button in the UI (for user to edit and retry the generation)., - The output of the selected model, typically an audio filepath or object depending on model.

From Hugging Face Spaces. Report a problem