Introduction¶
When creating UI drafts, marketing images, or exploring styles, it is common practice to open a drawing site separately, copy the prompt over, and download the result back to the project. While Agents can already write code and modify documents, they often break down at the step of “generating an image that fits the design style”. Below is an introduction to recraft v3 on SkillHub (coordinate @user_f95f21b8/dlazy-recraft-v3): it connects the generation capabilities of Recraft v3 into the Agent workflow, calling the hosted API via the dLazy CLI, supporting text-to-image and image-to-image.
What is this¶
recraft v3 is a community-sourced (community) Agent Skill, currently at version 1.0.9, categorized under design-media. The SkillHub publisher is user_f95f21b8; the skill description indicates that the underlying CLI is maintained by dlazyai, corresponding to the npm package @dlazy/cli.
In one sentence: it uses Recraft v3 to generate bitmaps in various design styles, supporting text-to-image and image-to-image. The skill itself is a thin wrapper around the dLazy API (api.dlazy.com / files.dlazy.com); the Agent simply executes dlazy recraft-v3 following the instructions in SKILL.md.
Core Features¶
According to the skill description, the verified capabilities include:
- Text-to-Image: Describe the image via
--prompt, with optional aspect ratio and style. - Image-to-Image: Pass
--imagealong with the prompt; supports local paths or URLs likehttps://files.dlazy.com/...; local files will be uploaded by the CLI to dLazy media storage for the model to read. - Aspect Ratio:
--aspect_ratio, defaults toauto, options include1:1,4:3,3:4,16:9,9:16,3:2,2:3,21:9. - Style:
--style, defaults toRecraft V3 Raw, options includePhotorealism,Illustration. - Debugging & Asynchronous:
--dry-runallows viewing the request payload and cost estimation;--no-waitreturns agenerateId, which can be polled usingdlazy status <generateId> --wait;--timeoutdefaults to 1800 seconds.
Tag requires_api_key=true: A dLazy API Key must be configured before use.
Installation and Activation¶
1. Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If not installed, you can execute the full installation script (see SkillHub Installation Documentation):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install the Skill to the current Agent’s skills directory¶
During installation, you must use --dir to point to the skills path actually recognized by the Agent; otherwise, if it defaults to ./skills/, it may not be loaded. Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
skillhub install @user_f95f21b8/dlazy-recraft-v3 --dir <你的 skills 目录>
You can also let the Agent install it following the official prompt: refer to https://skillhub.cn/install/skillhub.md to install @user_f95f21b8/dlazy-recraft-v3.
3. Install dLazy CLI¶
The skill metadata pins the CLI version to 1.0.9; npm / npx must be available on the local machine:
npm install -g @dlazy/cli@1.0.9
Or call it on-demand without global installation:
npx @dlazy/cli@1.0.9 <command>
Before installation, you can review the source code at github.com/dlazyai/cli.
4. Configure API Key¶
dlazy auth set YOUR_API_KEY
The key is written to ~/.dlazy/config.json (on Windows: %USERPROFILE%\.dlazy\config.json). You can also use the environment variable DLAZY_API_KEY for a single session. Keys can be obtained at dlazy.com/dashboard/organization/api-key.
Typical Usage¶
When the Agent receives a task related to image generation, it should execute dlazy recraft-v3 (use -h to view full parameters). Official examples:
# 基础:提示词 + 本地参考图(图生图)
dlazy recraft-v3 --prompt 'prompt text' --image '/path/to/image.png'
# 使用已托管在 dLazy 上的图片 URL
dlazy recraft-v3 --prompt 'prompt text' --image 'https://files.dlazy.com/image.png'
Upon success, the CLI returns JSON containing a url in outputs (e.g., https://files.dlazy.com/result.png). Trigger keywords include: recraft v3, generate image / design image, text to image, image to image, etc. (see skill description).
You can use --dry-run to estimate costs first, then make the formal call to control consumption.
Applicable Scenarios and Notes¶
Who it is for
- Users who need to generate design-oriented bitmaps directly via natural language Agent commands in environments like Cursor, Claude Code, and Codex.
- Scenarios where the user already has a dLazy account and balance, and is willing to submit prompts and reference images to the cloud API.
Limitations and Notes
- Network & Payment Dependency: Inference is performed on the dLazy cloud; insufficient balance returns
insufficient_balance, requiring a recharge in the Credits settings. - Key & Privacy: Local reference images are uploaded to
files.dlazy.com; do not upload sensitive materials casually. - Error Codes: Unconfigured or invalid keys return
unauthorized; missing--promptetc. will report parameter errors; generation failures may be due to safety policies or other reasons, requiring handling based on CLI return information. - Distinguishing from SVG Skills: The same publisher offers variants like
dlazy-recraft-v3-svg; this article only corresponds to the recraft v3 bitmap capability, with the commanddlazy recraft-v3and model identifiern1n-recraft-v3.
The SkillHub page currently displays version v1.0.9; community ratings and download counts are subject to the store page (at the time of scraping, the rating was 100000 and downloads were approximately 992).
Conclusion¶
recraft v3 integrates Recraft v3’s text-to-image and image-to-image capabilities into the standard Agent Skill workflow: install the skill via SkillHub, execute commands via @dlazy/cli@1.0.9, and authenticate with a dLazy API Key. If you want to complete “describe → generate image → get URL” within a conversation, you can start with the official entries:
- SkillHub: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-recraft-v3
- API Endpoint: https://api.skillhub.cn/user_f95f21b8/dlazy-recraft-v3