image_to_music_v2_infer – 1 MCP server offers this tool
What it usually takes
chosen_model– in 1 of 1image_in– in 1 of 1
No server marks it as only reading: treat it as able to change data.
From each publisher's own tool list. We never call a tool.
Servers
| Server | Inputs | Read-only? |
|---|---|---|
Image to Music v2 co.huggingface.fffiloni/image-to-music-v2 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. | chosen_model,image_in | Not stated |