@runapi.ai/suno 0.2.6 → 0.2.7
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/README.md +3 -1
- package/dist/index.d.mts +548 -3
- package/dist/index.d.ts +548 -3
- package/dist/index.js +374 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +375 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/skills/suno/README.md +3 -2
- package/skills/suno/SKILL.md +15 -11
package/README.md
CHANGED
|
@@ -24,6 +24,8 @@ const status = await client.generations.get(task.id);
|
|
|
24
24
|
|
|
25
25
|
Use `create` when you want to submit a task and return quickly, `get` when you need the latest task state, and `run` when a script should create and poll until completion. In web request handlers, prefer `create` plus webhook or later `get` polling so a worker is not held open.
|
|
26
26
|
|
|
27
|
+
RunAPI-generated file URLs are temporary. Download and store generated images, videos, audio, or other files in your own durable storage within 7 days; do not treat returned URLs as long-term assets.
|
|
28
|
+
|
|
27
29
|
## Language notes
|
|
28
30
|
|
|
29
31
|
Use the TypeScript types in `src/types.ts` and the resource classes under `src/resources` when building music applications. The available resources include generations, extensions, upload and extensions, covers, upload and covers, instrumentals, vocals, vocal removals, midi, wav conversions, music videos, lyrics, timestamped lyrics, section replacements, mashups, sounds, personas, and styles. Keep `RUNAPI_API_KEY` in the environment or your secret manager; never commit API keys or callback secrets.
|
|
@@ -33,7 +35,7 @@ Use the TypeScript types in `src/types.ts` and the resource classes under `src/r
|
|
|
33
35
|
- Model page: https://runapi.ai/models/suno
|
|
34
36
|
- SDK docs: https://runapi.ai/docs#sdk-suno
|
|
35
37
|
- Product docs: https://runapi.ai/docs#suno
|
|
36
|
-
- Pricing and rate limits: https://runapi.ai/models/suno/
|
|
38
|
+
- Pricing and rate limits: https://runapi.ai/models/suno/v4
|
|
37
39
|
- Provider comparison: https://runapi.ai/providers/suno
|
|
38
40
|
- Full catalog: https://runapi.ai/models
|
|
39
41
|
- Repository: https://github.com/runapi-ai/suno-sdk
|