← Back to Skills Marketplace
dlazyai

Dlazy Recraft V3 Svg

by dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ Security Clean
451
Downloads
0
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install dlazy-recraft-v3-svg
Description
Generate high-quality SVG vector graphics from text using Recraft v3.
README (SKILL.md)

dlazy-recraft-v3-svg

English · 中文

Generate high-quality SVG vector graphics from text using Recraft v3.

Trigger Keywords

  • recraft svg
  • generate vector graphics
  • generate svg
  • text to image

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 recraft-v3-svg command to get results.

dlazy recraft-v3-svg -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --aspect_ratio \x3Caspect_ratio>        Aspect Ratio [default: auto] (choices: "auto", "1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3", "21:9")
  --style \x3Cstyle>                      Style [default: Vector Art] (choices: "Vector Art", "Line Art", "Engraving")
  --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 recraft-v3-svg --prompt 'prompt text' --image '/path/to/image.png'

# complex call:
dlazy recraft-v3-svg --prompt 'prompt text' --image 'https://oss.dlazy.com/image.png'

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.

Usage Guidance
This skill is an instruction-only wrapper around the official dLazy CLI and appears coherent with its stated purpose. Before you install or run it: 1) Review the referenced GitHub repo (https://github.com/dlazyai/cli) and the npm package (@dlazy/[email protected]) to ensure the code is legitimate; 2) Prefer running via npx if you don't want a global install; 3) Be aware you must provide a dLazy API key (dlazy auth set or DLAZY_API_KEY), which will be stored in your user config (~/.dlazy/config.json); 4) Using the skill uploads any local image/media you pass to dLazy's oss.dlazy.com and will incur usage/credit costs—verify your account balance and service terms; 5) If you have limited trust in the package, inspect the package source and only install pinned versions from the official repo.
Capability Analysis
Type: OpenClaw Skill Name: dlazy-recraft-v3-svg Version: 1.0.4 The skill is a legitimate wrapper for the dLazy CLI tool (@dlazy/cli) used to generate SVG graphics via the Recraft v3 model. It follows standard SaaS patterns for authentication (storing an API key in ~/.dlazy/config.json) and data handling (uploading local assets to oss.dlazy.com). The instructions for the AI agent in SKILL.md are transparent and focused on error handling and user guidance, with no evidence of malicious intent, obfuscation, or unauthorized data exfiltration.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description match the instructions: the SKILL.md instructs the agent to run the dlazy CLI and points to the dLazy API and OSS endpoints. Requiring npm/npx (to run or install the CLI) is coherent with a Node-based CLI client.
Instruction Scope
Instructions are narrowly scoped to invoking the dlazy CLI, uploading user-provided media to oss.dlazy.com, and returning URLs from the API. There are explicit, bounded error-handling and user-notification steps (insufficient_balance, unauthorized). The SKILL.md does not instruct the agent to read unrelated system files or exfiltrate arbitrary data.
Install Mechanism
The skill is instruction-only (no install spec in registry) but its metadata recommends installing the official npm package @dlazy/[email protected] or using npx. Installing from npm is a common pattern; it carries the usual moderate risk of third-party packages—review the package source on GitHub and verify the package/version before installing. There are no suspicious download URLs or extract operations in the skill itself.
Credentials
The registry lists no required env vars, but the SKILL.md clearly states that a dLazy API key is required (set via dlazy auth set or DLAZY_API_KEY). This is expected for a cloud API client and is proportionate, but the registry metadata could have declared the primaryEnv to make this explicit.
Persistence & Privilege
always is false and the skill does not request system-wide or cross-skill configuration changes. The CLI stores the API key in ~/.dlazy/config.json (user-level) which is reasonable for a CLI tool; this is not a platform-level privilege escalation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dlazy-recraft-v3-svg
  3. After installation, invoke the skill by name or use /dlazy-recraft-v3-svg
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
- Minor documentation updates in SKILL.md and language variants. - Clarified agent instructions on handling missing or unauthorized API keys. - Improved guidance for users on API key provisioning and usage steps. - No functional changes to how SVG generation works.
v1.0.1
- Added detailed authentication instructions, including API key setup and retrieval steps. - Updated global CLI installation command to use @dlazy/[email protected]. - Clarified that all requests require API key configuration via the CLI.
v1.0.0
- Initial release of dlazy-recraft-v3-svg. - Generate high-quality SVG vector graphics from text using Recraft v3. - Supports prompt customization, aspect ratio, and style options. - Provides error handling for common issues such as missing API key and insufficient balance. - Includes command examples and agent instructions for handling user authentication and balance errors.
Metadata
Slug dlazy-recraft-v3-svg
Version 1.0.4
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is Dlazy Recraft V3 Svg?

Generate high-quality SVG vector graphics from text using Recraft v3. It is an AI Agent Skill for Claude Code / OpenClaw, with 451 downloads so far.

How do I install Dlazy Recraft V3 Svg?

Run "/install dlazy-recraft-v3-svg" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dlazy Recraft V3 Svg free?

Yes, Dlazy Recraft V3 Svg is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dlazy Recraft V3 Svg support?

Dlazy Recraft V3 Svg is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dlazy Recraft V3 Svg?

It is built and maintained by dlazy (@dlazyai); the current version is v1.0.4.

💬 Comments