nateraw / singing-songstarter

same as musicgen-songstarter-v0.2 but with some hacks

  • Public
  • 173 runs
  • L40S
  • GitHub
Iterate in playground

Input

pip install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import the client:
import replicate

Run nateraw/singing-songstarter using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "nateraw/singing-songstarter:83e13e648a75db570f486189dcc2e6eaf46aed65e4db1a159f28ac2e7850b77a",
    input={
        "top_k": 250,
        "top_p": 0,
        "duration": 8,
        "temperature": 1,
        "continuation": False,
        "output_format": "wav",
        "continuation_start": 0,
        "normalization_strategy": "loudness",
        "classifier_free_guidance": 3
    }
)

# To access the file URL:
print(output[0].url())
#=> "http://example.com"

# To write the file to disk:
with open("my-image.png", "wb") as file:
    file.write(output[0].read())

To learn more, take a look at the guide on getting started with Python.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.