usamaehsan/ace-step-bgmusic
Cheap fast instrumental background music (ACE-Step 1.5 turbo, MIT)
Run usamaehsan/ace-step-bgmusic 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 |
|---|---|---|---|
| prompt |
string
|
calm lo-fi hip hop beat, soft piano, warm bass, vinyl crackle
|
Style, mood and instruments, e.g. 'calm lo-fi hip hop, soft piano, warm bass, vinyl crackle'
|
| duration |
integer
|
30
Min: 10 Max: 120 |
Clip length in seconds
|
| num_outputs |
integer
|
1
Min: 1 Max: 4 |
Clips per run (same prompt, different seeds)
|
| steps |
integer
|
8
Min: 1 Max: 20 |
Diffusion steps (turbo is tuned for 8)
|
| bpm |
integer
|
0
Max: 300 |
Tempo, 0 = automatic
|
| seed |
integer
|
-1
|
-1 = random
|
| output_format |
None
|
mp3
|
None
|
{
"type": "object",
"title": "Input",
"properties": {
"bpm": {
"type": "integer",
"title": "Bpm",
"default": 0,
"maximum": 300,
"minimum": 0,
"x-order": 4,
"description": "Tempo, 0 = automatic"
},
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 5,
"description": "-1 = random"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 8,
"maximum": 20,
"minimum": 1,
"x-order": 3,
"description": "Diffusion steps (turbo is tuned for 8)"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "calm lo-fi hip hop beat, soft piano, warm bass, vinyl crackle",
"x-order": 0,
"description": "Style, mood and instruments, e.g. 'calm lo-fi hip hop, soft piano, warm bass, vinyl crackle'"
},
"duration": {
"type": "integer",
"title": "Duration",
"default": 30,
"maximum": 120,
"minimum": 10,
"x-order": 1,
"description": "Clip length in seconds"
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 2,
"description": "Clips per run (same prompt, different seeds)"
},
"output_format": {
"enum": [
"mp3",
"wav",
"flac",
"opus"
],
"type": "string",
"title": "output_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.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}