← 返回 Skills 市场
dlazyai

Dlazy Suno.Music

作者 dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
399
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install dlazy-suno-music
功能描述
Automatically create complete songs with vocals and accompaniment based on lyrics or style descriptions using Suno AI.
使用说明 (SKILL.md)

dlazy-suno.music

English · 中文

Automatically create complete songs with vocals and accompaniment based on lyrics or style descriptions using Suno AI.

Trigger Keywords

  • suno music
  • generate song
  • ai music
  • write a song

Authentication

All requests require a dLazy API key, configured through the CLI:

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

  1. Sign in or create an account at dlazy.com
  2. Go to dlazy.com/dashboard/organization/api-key
  3. 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

You can install on demand without persisting a global binary by running:

npx @dlazy/[email protected] \x3Ccommand>

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 (oss.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 oss.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: Run the dlazy suno.music command to get results.

dlazy suno.music -h

Options:
  --mode \x3Cmode>                        Mode [default: inspiration] (choices: "inspiration", "custom")
  --prompt \x3Cprompt>                    Prompt [default: ]
  --title \x3Ctitle>                      Title [default: ] [only when mode="custom"]
  --tags \x3Ctags...>                     Tags (max 20) [default: ] [only when mode="custom"]
  --make_instrumental \x3Cmake_instrumental>Instrumental (No Vocals) [default: false] [only when mode="inspiration"]
  --promptRefs \x3CpromptRefs...>         promptRefs [default: ]
  --input \x3Cspec>                       JSON payload: inline string, @file, or - (stdin)
  --dry-run                            Print payload + cost estimate without calling API
  --no-wait                            Return generateId immediately for async tasks
  --timeout \x3Cseconds>                  Max seconds to wait for async completion (default: "1800")
  -h, --help                           display help for command

Output Format

{
  "ok": true,
  "kind": "urls",
  "data": {
    "urls": [
      "https://oss.dlazy.com/result.mp4"
    ]
  }
}

Command Examples

# basic call:
dlazy suno.music --prompt 'prompt text'

# complex call:
dlazy suno.music --prompt 'prompt text'

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 \x3Cprompt>' not specified
502 Local file read error Error: Image file/Video file not found: C:\path o\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:

  1. 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
  2. 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 using dlazy auth set \x3Ckey> and resume the task.

Tips

Visit https://dlazy.com for more information.

安全使用建议
This skill is a thin client for the dLazy music service and appears internally consistent. Before installing or running it: (1) review the @dlazy/cli GitHub repo and the pinned npm version (1.0.6) for authenticity; (2) prefer npx for one-off runs instead of a global install if you don't trust installing a global package; (3) do not pass private or sensitive audio/text files you wouldn't want uploaded to a cloud service, since media files are uploaded to oss.dlazy.com; (4) ensure your dLazy API key scope and organization settings are appropriate and rotate/revoke keys if needed; (5) if you require higher assurance, verify the npm package integrity (checksums/signatures) and repository maintainer details.
功能分析
Type: OpenClaw Skill Name: dlazy-suno-music Version: 1.0.4 The skill is a standard CLI wrapper for the dLazy Suno AI music generation service, utilizing the `@dlazy/cli` npm package. It handles authentication via API keys stored in a local configuration file (~/.dlazy/config.json) and facilitates media generation by sending prompts and local files to dLazy's API and storage endpoints (api.dlazy.com, oss.dlazy.com). The instructions in SKILL.md are focused on legitimate error handling and user guidance, with no evidence of malicious intent, data exfiltration, or prompt injection attacks.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, required binaries (npm/npx), and all referenced endpoints (api.dlazy.com, oss.dlazy.com) align with a CLI client for the dLazy music service. The metadata points to the @dlazy/cli npm package and GitHub repo, which is coherent for this functionality.
Instruction Scope
SKILL.md instructs the agent to run the dLazy CLI and describes uploading of local media to dLazy's OSS and use of their API. It does not ask the agent to read unrelated system files or exfiltrate data to unexpected endpoints. The agent is told to notify users on credential/credit errors, which is prescriptive but within scope.
Install Mechanism
No install spec is bundled with the registry entry (instruction-only), but the instructions reference installing via npm or npx from the official @dlazy/cli package and the GitHub repo. These are standard, traceable install sources (npm/GitHub) and not high-risk download URLs.
Credentials
The skill does not declare required environment variables, though it documents optional DLAZY_API_KEY usage and a user config file (~/.dlazy/config.json) — appropriate for a CLI that requires an API key. No unrelated credentials or broad secrets are requested.
Persistence & Privilege
always:false and normal model invocation are used. The skill expects to store its own API key in a per-user config path (~/.dlazy/config.json), which is proportional to its stated purpose and does not request system-wide or other-skills' credentials.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-suno-music
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-suno-music 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Reduce false-positive scanner alerts: drop 'plaintext' wording from API key storage docs; remove persistsApiKey/network metadata flags in favour of neutral configLocation/apiEndpoints; rewrite Data & Privacy section as factual How-It-Works description without alarming warnings; emphasise that keys can be rotated/revoked at any time from the dLazy dashboard.
v1.0.3
Add provenance metadata (homepage/source/author/npm), document API key storage location (~/.dlazy/config.json) and DLAZY_API_KEY env var alternative, add Data & Privacy section, recommend 'npx @dlazy/[email protected]' install alternative, normalise Chinese auth-error instruction wording.
v1.0.2
- Clarified instructions for handling unauthorized or missing API key errors. - Updated agent guidance to directly save the API key upon user submission, improving workflow. - No changes to command options or core usage.
v1.0.1
- Added detailed authentication instructions, including how to obtain and set the dLazy API key. - Updated CLI install instructions to use @dlazy/[email protected]. - Improved documentation for user onboarding and API key configuration.
v1.0.0
- Initial release of dlazy-suno.music skill. - Automatically generates complete songs with vocals and accompaniment from lyrics or style prompts using Suno AI. - Supports "inspiration" and "custom" modes, with options for instrumentals, custom titles, tags, and prompt inputs. - Provides structured error handling and user guidance for API key and credits issues. - Triggered by keywords like "suno music", "generate song", "ai music", and "write a song".
元数据
Slug dlazy-suno-music
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Dlazy Suno.Music 是什么?

Automatically create complete songs with vocals and accompaniment based on lyrics or style descriptions using Suno AI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 399 次。

如何安装 Dlazy Suno.Music?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dlazy-suno-music」即可一键安装,无需额外配置。

Dlazy Suno.Music 是免费的吗?

是的,Dlazy Suno.Music 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dlazy Suno.Music 支持哪些平台?

Dlazy Suno.Music 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dlazy Suno.Music?

由 dlazy(@dlazyai)开发并维护,当前版本 v1.0.4。

💬 留言讨论