为 Suno 编写风格提示、结构化歌词与完整生成流程,支持 API、浏览器自动化或手动粘贴。
编程
音乐生成 Suno Music
通过 Suno 模型生成带人声或纯器乐的音乐,支持自动作词与自定义歌词两种模式。
它能做什么
基于 Suno 模型生成音乐,提供灵感模式(自动作词)和自定义模式(手动填词)两种歌词入口。可选择带人声或纯器乐输出,并指定风格、标题、人声性别,以及风格权重、怪异度、音频权重等参数。所有调用都需要 dLazy API Key,请求会发送到托管 API 端点执行。
什么时候用它
- 用一段文字快速生成歌曲原型
- 将自定义歌词搭配指定的音乐风格
- 生成纯器乐用于背景播放
- 通过 negative tags 排除不想要的风格
技能文档
音乐生成 Suno Music
English · 中文
Suno music generation model. Supports inspiration mode (auto lyrics) and custom mode (manual lyrics), generating music with or without vocals.
Trigger Keywords
- suno-music
Authentication
All requests require a dLazy API key. The recommended way to authenticate is:
dlazy login
This runs a device-code flow (also works in remote shells) and automatically saves your API key to the local CLI config — no manual copy/paste required.
Alternative: Set the Key Manually
If you already have an API key, you can save it directly:
dlazy auth set YOUR_API_KEY
The CLI saves the key in your user config directory (~/.dlazy/config.json on macOS/Linux, %USERPROFILE%\.dlazy\config.json on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the DLAZY_API_KEY environment variable.
Getting Your API Key Manually
- Sign in or create an account at dlazy.com
- Go to dlazy.com/dashboard/organization/api-key
- Copy the key shown in the API Key section
Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.
About & Provenance
- CLI source code: github.com/dlazyai/cli
- Maintainer: dlazyai
- npm package:
@dlazy/cli(pinned to1.2.3in this skill's install spec) - Homepage: dlazy.com
You can install on demand without persisting a global binary by running:
npx @dlazy/[email protected]
Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/[email protected]). Review the GitHub source before installing.
How It Works
This skill is a thin client over the dLazy hosted API. When you invoke it:
- Prompts and parameters you provide are sent to the dLazy API endpoint (
api.dlazy.com) for inference. - Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (
files.dlazy.com) so the model can read them — the same flow as any cloud-based generation API. - Generated output URLs returned by the API are hosted on
files.dlazy.com.
This is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See dlazy.com for the full service terms.
Usage
CRITICAL INSTRUCTION FOR AGENT:
Execute dlazy suno-music to get the result.
dlazy suno-music -h
Options:
--customMode [customMode] Custom Mode [default: false]
--instrumental [instrumental] Instrumental (No Vocals) [default: false]
--prompt [prompt] Prompt [default: ]
--style [style] Style [default: ] [only when customMode="true"]
--title [title] Title [default: ] [only when customMode="true"]
--negativeTags [negativeTags] Negative Tags (styles to exclude) [default: ]
--vocalGender [vocalGender] Vocal Gender(m=Male; f=Female) [default: f] (choices: "m", "f") [only when instrumental="false"]
--styleWeight [styleWeight] Style Weight (0-1) [default: 0.65]
--weirdnessConstraint [weirdnessConstraint]Weirdness (0-1) [default: 0.65]
--audioWeight [audioWeight] Audio Weight (0-1) [default: 0.65]
--dry-run Print payload + cost estimate without calling API
--no-wait Return generateId immediately for async tasks
--timeout Max seconds to wait for async completion (default: "1800")
-h, --help display help for command
Any flag also accepts pipe references —
-(auto-pick from upstream stdin),@N(n-th output),@N.path(jsonpath into output),@*(all primary values),@stdin/@stdin:path(whole envelope). Seedlazy --helpfor details.
Output Format
{
"ok": true,
"result": {
"tool": "suno-music",
"modelId": "suno-music",
"outputs": [
{
"type": "image",
"id": "o_xxxxxxxx",
"url": "https://files.dlazy.com/result.png",
"mimeType": "image/png"
}
]
}
}
Async tasks (when
--no-waitis passed) returnoutputs: []and atask: { generateId, status }field instead. Usedlazy status --waitto poll.
Examples
dlazy suno-music --prompt 'prompt content'
Error Handling
| Code | Error Type | Example Message |
|---|---|---|
| 401 | Unauthorized (No API Key) | ok: false, code: "unauthorized", message: "API key is missing or invalid" |
| 501 | Missing required parameter | error: required option '--prompt ' not specified |
| 502 | Local file read error | Error: Image file/Video file not found: C:\path\to\your\file |
| 503 | API request failed (no balance) | ok: false, code: "insufficient_balance" |
| 503 | API request failed (server error) | HTTP status code error (500 server crash) |
| 504 | Asynchronous task execution failed | === Generation Failed === / {Specific error reason returned by backend, for example "Prompt violates safety policy"} |
AGENT CRITICAL INSTRUCTION:
- If the execution result returns
code: "insufficient_balance", you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: https://dlazy.com/dashboard/organization/settings?tab=credits- If the execution result returns
code: "unauthorized"or indicates missing API key, you MUST inform the user to get their API key from https://dlazy.com/dashboard/organization/api-key and save it usingdlazy auth setand resume the task.
Tips
Visit https://dlazy.com for more information.
相关技能
按意图把图像、视频、音频请求分发到合适的 dlazy CLI 模型。
通过文本提示生成 5 秒至 10 分钟的原创配乐与人声歌曲,按 CellCog 服务条款免版税,可用于 YouTube、播客、应用、游戏、广告与影视等商业项目。
按提示词自动选用合适的 dlazy CLI 音频模型,完成语音、音乐、音效与声音克隆。
在智能体流程中通过 VAP Media API 生成与编辑图像、视频和音乐。
Generate matching scene sound effects based on text descriptions or video frames using Kling SFX. 使用可灵 (Kling) 音效模型,根据文字描述或视频画面智能生成匹配的场景音效。