@runapi.ai/suno 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +176 -39
- package/dist/index.d.ts +176 -39
- package/dist/index.js +128 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +114 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -20
- package/skills/suno/README.md +1 -3
- package/skills/suno/SKILL.md +13 -5
package/skills/suno/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: suno
|
|
3
|
-
description: Generate and transform music with Suno through RunAPI. Use when the user asks an agent to create, extend,
|
|
3
|
+
description: Generate and transform music with Suno through RunAPI. Use when the user asks an agent to create, extend, transform music/audio, prepare voice validation phrases, or create reusable custom voices with Suno. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend.
|
|
4
4
|
documentation: https://runapi.ai/models/suno.md
|
|
5
5
|
provider_page: https://runapi.ai/providers/suno.md
|
|
6
6
|
catalog: https://runapi.ai/models.md
|
|
@@ -23,7 +23,7 @@ metadata:
|
|
|
23
23
|
|
|
24
24
|
# Suno on RunAPI
|
|
25
25
|
|
|
26
|
-
Generate and transform music with Suno through RunAPI. The default path for one-off agent tasks is the `runapi` CLI; SDKs are for application integration.
|
|
26
|
+
Generate and transform music with Suno through RunAPI, including voice validation phrase and custom voice workflows. The default path for one-off agent tasks is the `runapi` CLI; SDKs are for application integration.
|
|
27
27
|
|
|
28
28
|
## Routing decision
|
|
29
29
|
|
|
@@ -34,17 +34,24 @@ Generate and transform music with Suno through RunAPI. The default path for one-
|
|
|
34
34
|
|
|
35
35
|
The `runapi` binary is the runtime dependency. Run `runapi auth status` first. For agents and headless runs, prefer `RUNAPI_API_KEY` or import it into saved config with `printf '%s' "$RUNAPI_API_KEY" | runapi auth import-token --token -`. Use `runapi login` only when the user explicitly wants interactive browser auth.
|
|
36
36
|
|
|
37
|
-
Inspect the available
|
|
37
|
+
Inspect the available commands and request fields with CLI help:
|
|
38
38
|
|
|
39
39
|
```shell
|
|
40
40
|
runapi suno --help
|
|
41
41
|
runapi suno text-to-music --help
|
|
42
|
+
runapi suno voice-to-validation-phrase --help
|
|
43
|
+
runapi suno regenerate-validation-phrase --help
|
|
44
|
+
runapi suno generate-voice --help
|
|
45
|
+
runapi suno check-voice --help
|
|
42
46
|
```
|
|
43
47
|
|
|
44
48
|
Run a one-off task (synchronous — polls until the task completes):
|
|
45
49
|
|
|
46
50
|
```shell
|
|
47
51
|
runapi suno text-to-music --input-file request.json
|
|
52
|
+
runapi suno voice-to-validation-phrase --input-file voice-phrase.json
|
|
53
|
+
runapi suno generate-voice --input-file generate-voice.json
|
|
54
|
+
runapi suno check-voice --input-file check-voice.json
|
|
48
55
|
```
|
|
49
56
|
|
|
50
57
|
Submit asynchronously and poll separately:
|
|
@@ -54,7 +61,9 @@ runapi suno text-to-music --async --input-file request.json
|
|
|
54
61
|
runapi wait <task-id> --service suno --action text-to-music
|
|
55
62
|
```
|
|
56
63
|
|
|
57
|
-
Available
|
|
64
|
+
Available commands: `text-to-music`, `extend-music`, `generate-artwork`, `cover-audio`, `add-instrumental`, `add-vocals`, `separate-audio-stems`, `generate-midi`, `convert-audio`, `visualize-music`, `generate-lyrics`, `get-timestamped-lyrics`, `replace-section`, `create-mashup`, `text-to-sound`, `voice-to-validation-phrase`, `regenerate-validation-phrase`, `generate-voice`, `check-voice`, `generate-persona`, `boost-style`.
|
|
65
|
+
|
|
66
|
+
For custom voice workflows: generate or regenerate a validation phrase, create a custom voice with `generate-voice`, then use the completed `voice_id` as `persona_id` with `persona_type: "voice"` on supported Suno v5 music generation endpoints. Use `check-voice` to confirm availability before depending on that voice in a generation request.
|
|
58
67
|
|
|
59
68
|
## SDK integration path
|
|
60
69
|
|
|
@@ -79,4 +88,3 @@ When integrating Suno into an app, backend, worker, or library — not for one-o
|
|
|
79
88
|
- [v4.5 plus](https://runapi.ai/models/suno/v4.5-plus.md)
|
|
80
89
|
- [v5](https://runapi.ai/models/suno/v5.md)
|
|
81
90
|
- [v5.5](https://runapi.ai/models/suno/v5.5.md)
|
|
82
|
-
|