> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Sonilo Video to Music Workflows in ComfyUI

> How to run the Sonilo video soundtrack and text-to-music workflows in ComfyUI, locally or on Comfy Cloud

This guide shows how to run the Sonilo Video to Music workflows in ComfyUI. For what the service is and what it does best, see the [Sonilo Video to Music overview](/tutorials/partner-nodes/sonilo/video-to-music).

<Tip>
  To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the [Partner Nodes Overview](/tutorials/partner-nodes/overview) section of the documentation to understand the specific requirements for using the Partner Nodes.
</Tip>

<Tip>
  <Tabs>
    <Tab title="Local users">
      Make sure your ComfyUI is updated.

      * [Download ComfyUI](https://www.comfy.org/download)
      * [Update Guide](/installation/update_comfyui)

      Workflows in this guide can be found in the [Workflow Templates](/interface/features/template).
      If you can't find them in the template, your ComfyUI may be outdated.

      If nodes are missing when loading a workflow, possible reasons:

      1. You are not using the latest ComfyUI version (Nightly version)
      2. Some nodes failed to import at startup
    </Tab>

    <Tab title="Cloud users">
      * [Cloud](https://cloud.comfy.org) will update after ComfyUI stable release.

      So, if you find any core node missing in this document, it might be because the new core nodes have not yet been released in the latest stable version. Please wait for the next stable release.
    </Tab>
  </Tabs>
</Tip>

## Get started

<Steps>
  <Step title="Update ComfyUI">
    Update ComfyUI to the latest version, or use [Comfy Cloud](https://www.comfy.org/cloud).
  </Step>

  <Step title="Find a Sonilo workflow">
    Open the **Workflow Library**, browse **Templates**, and search for "Sonilo" to find a ready-to-use workflow.
  </Step>

  <Step title="Run the workflow">
    Connect your video source, update the prompt, and click the **Run** button or use `Ctrl(Cmd) + Enter` to generate.
  </Step>
</Steps>

<h3 id="api_sonilo_v2m">
  Sonilo: Video Soundtrack Generation
</h3>

Generate synchronized soundtracks from video footage. Input a video to produce music that matches its pacing and emotional cues.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sonilo_v2m-1.webp" alt="Sonilo: Video Soundtrack Generation workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_sonilo_v2m&utm_source=docs&utm_medium=referral&utm_campaign=video-to-music">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_sonilo_v2m.json">
    Download JSON or search "Sonilo: Video Soundtrack Generation" in Template Library
  </Card>
</CardGroup>

**Input materials**

Upload this file to the matching `LoadVideo` node:

<CardGroup cols={2}>
  <Card title="leopard_rider.mp4" icon="video" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/leopard_rider.mp4">
    `LoadVideo` node 705 · `leopard_rider.mp4`
  </Card>
</CardGroup>

1. Load your video in the input node.
2. (Optional) Add a text prompt to guide the style or mood of the generated music.
3. Click the **Run** button or use the shortcut `Ctrl(Cmd) + Enter` to start music generation.
4. The generated audio will be saved to the `ComfyUI/output/audio` directory.

<h3 id="api_sonilo_t2m">
  Sonilo: Text to Music Generation
</h3>

Generate high-quality, production-ready music from text prompts.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sonilo_t2m-1.webp" alt="Sonilo: Text to Music Generation workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_sonilo_t2m&utm_source=docs&utm_medium=referral&utm_campaign=video-to-music">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_sonilo_t2m.json">
    Download JSON or search "Sonilo: Text to Music Generation" in Template Library
  </Card>
</CardGroup>

**Example prompts:**

* `Dreamy ambient electronic music, gentle rhythm, suitable for short videos`
* `Futuristic electronic instrumental, sci-fi sense, ethereal and deep`
* `Lazy jazz instrumental, saxophone, relaxing cafe atmosphere`

1. Enter your text prompt describing the music you want to generate.
2. Click the **Run** button or use the shortcut `Ctrl(Cmd) + Enter` to start audio generation.
3. The generated audio will be saved to the `ComfyUI/output/audio` directory.
