deepsbhat1984/voice-to-song
Public
20
runs
Run deepsbhat1984/voice-to-song with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| audio_url |
string
|
Public URL of the vocal or song to cover (MP3/WAV/FLAC). "
"A cappella singing works - the melody is kept.
|
|
| prompt |
string
|
Target style for the cover: genre, instruments, mood, "
"vocal character. e.g. 'melodic trap, 808 bass, airy pads, "
"warm male vocal'. Describe the TARGET only, not the source.
|
|
| lyrics |
string
|
|
Optional new lyrics. Leave blank to keep/interpret the "
"source vocal. Keep syllable count near the source for timing.
|
| keep_melody |
number
|
0.75
Max: 1 |
How closely to follow YOUR melody (audio_cover_strength). "
"1.0 = closest to your source tune, lower = looser restyle. "
"0.7-0.85 keeps your melody while adding new production.
|
| steps |
integer
|
8
Min: 1 Max: 20 |
Diffusion steps. Turbo: 4-8.
|
| seed |
integer
|
-1
|
Random seed. -1 = random.
|
| audio_format |
None
|
mp3
|
None
|
| sample_rate |
None
|
44100
|
None
|
| bitrate |
None
|
256000
|
None
|
{
"type": "object",
"title": "Input",
"required": [
"audio_url",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 5,
"description": "Random seed. -1 = random."
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 8,
"maximum": 20,
"minimum": 1,
"x-order": 4,
"description": "Diffusion steps. Turbo: 4-8."
},
"lyrics": {
"type": "string",
"title": "Lyrics",
"default": "",
"x-order": 2,
"description": "Optional new lyrics. Leave blank to keep/interpret the \"\n \"source vocal. Keep syllable count near the source for timing."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Target style for the cover: genre, instruments, mood, \"\n \"vocal character. e.g. 'melodic trap, 808 bass, airy pads, \"\n \"warm male vocal'. Describe the TARGET only, not the source."
},
"bitrate": {
"enum": [
32000,
64000,
128000,
256000
],
"type": "integer",
"title": "bitrate",
"description": "An enumeration.",
"default": 256000,
"x-order": 8
},
"audio_url": {
"type": "string",
"title": "Audio Url",
"x-order": 0,
"description": "Public URL of the vocal or song to cover (MP3/WAV/FLAC). \"\n \"A cappella singing works - the melody is kept."
},
"keep_melody": {
"type": "number",
"title": "Keep Melody",
"default": 0.75,
"maximum": 1,
"minimum": 0,
"x-order": 3,
"description": "How closely to follow YOUR melody (audio_cover_strength). \"\n \"1.0 = closest to your source tune, lower = looser restyle. \"\n \"0.7-0.85 keeps your melody while adding new production."
},
"sample_rate": {
"enum": [
16000,
24000,
32000,
44100
],
"type": "integer",
"title": "sample_rate",
"description": "An enumeration.",
"default": 44100,
"x-order": 7
},
"audio_format": {
"enum": [
"mp3",
"wav",
"flac"
],
"type": "string",
"title": "audio_format",
"description": "An enumeration.",
"default": "mp3",
"x-order": 6
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}