设计与多媒体

视频生成 快马 Happyhorse 1.0

试用

一个模型覆盖四种视频模式:文生视频、首帧生视频、参考图生视频、视频编辑,一条 CLI 命令自动路由到对应子模型。

它能做什么

本技能是 Happy Horse 1.0 模型在 dLazy CLI 上的封装。执行 `dlazy happyhorse-1.0`,通过 `--generation_mode` 选择 t2v、i2v、r2v 或 edit,即自动路由到相应子模型。各模式专属输入:i2v 需要 `--firstFrame` 首帧图;r2v 与 edit 需要 `--images`(最多 9 张);edit 额外需要 `--video` 源视频。通用参数包括 `--resolution`(720P/1080P)、`--ratio` 画幅、`--duration` 时长(3–15 秒,edit 模式不可用)以及 `--audio_setting`(仅 edit)。`--dry-run` 可打印 payload 与成本而不发起调用,`--no-wait` 异步返回 generateId 供后续轮询。

什么时候用它

  • 从文本提示生成短视频
  • 将静态首帧图扩展为视频片段
  • 基于最多 9 张参考图生成视频变体
  • 结合参考素材对已有视频进行编辑

技能文档

视频生成 快马 Happyhorse 1.0

English · 中文

Happy Horse 1.0 video model — one model covers text-to-video (t2v), first-frame-to-video (i2v), reference-to-video (r2v), and video editing (edit). The selected mode is automatically routed to the matching sub-model.

Trigger Keywords

  • happyhorse-1.0

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

  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/cli@1.2.3 

Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/cli@1.2.3). 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 happyhorse-1.0 to get the result.

dlazy happyhorse-1.0 -h

Options:
  --prompt [prompt]                    Prompt
  --generation_mode [generation_mode]  Generation Mode(t2v=T2V; r2v=R2V; i2v=I2V; edit=Edit) [default: t2v] (choices: "t2v", "r2v", "i2v", "edit")
  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode="i2v"]
  --images [images...]                 Images [image: url or local path] (max 9) [only when generation_mode="r2v" || generation_mode="edit"]
  --video [video]                      Video (URL) [video: url or local path] [only when generation_mode="edit"]
  --resolution [resolution]            Resolution [default: 1080P] (choices: "720P", "1080P")
  --ratio [ratio]                      Aspect Ratio [default: 16:9] (choices: "16:9", "9:16", "1:1", "4:3", "3:4") [only when generation_mode="t2v" || generation_mode="r2v"]
  --duration [duration]                Duration (s) [default: 5] (choices: "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15") [only when !(generation_mode="edit")]
  --audio_setting [audio_setting]      Audio Setting [default: auto] (choices: "auto", "origin") [only when generation_mode="edit"]
  --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). See dlazy --help for details.

Output Format

{
  "ok": true,
  "result": {
    "tool": "happyhorse-1.0",
    "modelId": "happyhorse-1.0",
    "outputs": [
      {
        "type": "image",
        "id": "o_xxxxxxxx",
        "url": "https://files.dlazy.com/result.png",
        "mimeType": "image/png"
      }
    ]
  }
}

Async tasks (when --no-wait is passed) return outputs: [] and a task: { generateId, status } field instead. Use dlazy status --wait to poll.

Examples

dlazy happyhorse-1.0 --prompt 'prompt content'

Error Handling

CodeError TypeExample Message
401Unauthorized (No API Key)ok: false, code: "unauthorized", message: "API key is missing or invalid"
501Missing required parametererror: required option '--prompt ' not specified
502Local file read errorError: Image file/Video file not found: C:\path\to\your\file
503API request failed (no balance)ok: false, code: "insufficient_balance"
503API request failed (server error)HTTP status code error (500 server crash)
504Asynchronous 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 and resume the task.

Tips

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

常见问题

如何选择生成模式?
通过 `--generation_mode` 指定 t2v、i2v、r2v 或 edit,技能会根据所选值自动路由到对应子模型。
各模式分别要传哪些参数?
i2v 需要 `--firstFrame`;r2v 与 edit 需要 `--images`(最多 9 张);edit 额外需要 `--video`;t2v 只需 `--prompt`。注意 `--ratio` 仅在 t2v、r2v 下生效,`--duration` 在 edit 模式下不可用。
鉴权如何处理?
需要 dLazy API Key。可运行 `dlazy login` 走设备码流程并自动保存到本地配置;也可通过 `dlazy auth set YOUR_API_KEY` 手动写入,或使用 `DLAZY_API_KEY` 环境变量逐次传入。

相关技能

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

dlazyai 的更多技能

浏览全部技能

根据提示词自动挑选最合适的 dlazy CLI 图片模型,并执行生成命令。

作者 dlazyai66 次安装

通过 CLI 一键抠图,去背景后返回透明 PNG 链接,支持本地路径或远程图片 URL。

作者 dlazyai64 次安装

通过 CLI 调用 Seedance 2.0,从文本、图片、视频、音频或首尾帧生成视频。

作者 dlazyai65 次安装

用一条提示词生成 Midjourney 风格图像,可指定画幅、Bot 类型和输出位(grid/U1-U4)。

作者 dlazyai61 次安装