Kling v3 Omni: Integrating Multimodal Video Generation into an Agent

Introduction

In environments like Cursor and Claude Code, creating short videos often involves opening a separate console, manually uploading reference images, and waiting for tasks to complete. Model parameters, aspect ratios, and durations often need to be filled in item by item according to documentation, making it difficult for an Agent to string together “prompts + reference materials + generation commands” into a reproducible workflow within a single conversation.

The kling v3 omni introduced below (SkillHub coordinate @user_f95f21b8/dlazy-kling-v3-omni, current version 1.0.9) encapsulates Kling v3 Omni capabilities into a standard Skill. The Agent calls the dLazy CLI command dlazy kling-v3-omni according to SKILL.md, and the cloud API completes the inference and returns the result URL. The Skill is categorized as design-media and sourced from a community release (publisher user_f95f21b8). The page indicates requires_api_key=true, so a dLazy API Key must be configured before use.

What is this

In one sentence: A lightweight Skill based on dLazy’s hosted API, used to call Kling v3 Omni for general dynamic video generation, supporting multimodal inputs (prompts, image URLs or local paths, etc., depending on CLI parameters).

The maintenance and implementation relationships are as follows:

  • The Skill is published on SkillHub by community user user_f95f21b8. The underlying CLI is maintained by dlazyai, the npm package is @dlazy/cli@1.0.9, and the source code is available at github.com/dlazyai/cli.
  • Inference requests are sent to api.dlazy.com. Local media files are uploaded by the CLI to files.dlazy.com; generated result URLs are also hosted on this domain.

Official Skill page and API entry:

  • Display Page: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-kling-v3-omni
  • API Address: https://api.skillhub.cn/user_f95f21b8/dlazy-kling-v3-omni

(As of the data capture time, the SkillHub rating is approximately 100000, with 1154 downloads and 2 installations; figures may change as the site updates.)

Core Features

The following capabilities are derived from SKILL.md / SKILL-cn.md within the Skill package and CLI help descriptions. Model details not appearing in the documentation are not expanded upon.

  1. Multimodal Video Generation
    English intro: Versatile video generation with Kling v3 Omni. Supports multi-modal inputs to generate stunning dynamic videos.
    The Chinese description emphasizes scenarios like text-to-video and image-to-video. Trigger words include kling v3 omni, generate omni video, text to video, image to video, etc.

  2. Generation Modes & Reference Materials
    - generation_mode: frames (default) or components.
    - In frames mode, --images can be used to pass up to 7 reference images (URLs or local paths).
    - In components mode, you can also configure subjects (max 3), videos (max 1), and video reference type video_refer_type (feature / base), etc. Some parameters are only effective in their corresponding modes.

  3. Visual & Quality Parameters
    - Aspect Ratio aspect_ratio: 16:9, 9:16, 1:1 (may be unavailable under specific video reference combinations; subject to CLI conditions).
    - Duration duration: 3–15 seconds, default 5 seconds.
    - Mode mode: std or pro; optional sound effects, --dry-run to estimate costs without actually calling the API.

  4. Synchronous & Asynchronous
    By default, it waits for the task to complete; adding --no-wait returns the generateId immediately, which can then be polled using dlazy status <generateId> --wait. The default maximum wait time for --timeout is 1800 seconds.

  5. Pipeline Orchestration
    Parameters support dLazy CLI pipe references (e.g., -, @N, @stdin, etc.), facilitating the chaining of previous step outputs in multi-step Agent workflows.

Installation & Activation

Installation consists of two layers: first, install the Skill into the current Agent’s skills directory; second, ensure the dlazy command is executable locally and authentication is completed.

1. Install SkillHub CLI (if not already installed)

Check or install according to the SkillHub Installation Guide:

command -v skillhub && skillhub --version

If not installed, execute the full installation script (the recommended method in the documentation):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install the Skill to the Current Agent Directory

SkillHub requires that --dir must point to the skills directory recognized by the current 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

The installation command looks like this:

skillhub install @user_f95f21b8/dlazy-kling-v3-omni --dir ~/.cursor/skills/

You can also let the Agent execute it according to official prompts: Install @user_f95f21b8/dlazy-kling-v3-omni based on https://skillhub.cn/install/skillhub.md. The Skill page also provides a direct Zip link for version 1.0.9 (api.skillhub.cn/api/v1/download?slug=@user_f95f21b8/dlazy-kling-v3-omni), suitable for offline extraction to the directory mentioned above.

After installing or updating the Skill, restart or refresh according to your client’s instructions to load the new SKILL.md.

3. Install dLazy CLI

The Skill metadata pins the CLI version to 1.0.9. npm / npx must be available locally:

npm install -g @dlazy/cli@1.0.9

If you do not want a global installation, you can call it per instance:

npx @dlazy/cli@1.0.9 <command>

4. Configure API Key

After registering at dlazy.com, create a key on the Organization API Key page, then write it to the CLI:

dlazy auth set YOUR_API_KEY

The key is stored in ~/.dlazy/config.json (%USERPROFILE%\.dlazy\config.json on Windows). It can also be passed per instance via the environment variable DLAZY_API_KEY.

Typical Usage

The core instruction on the Agent side is: Execute dlazy kling-v3-omni in the terminal and parse the JSON output. First, view the full parameters:

dlazy kling-v3-omni -h

Basic example from the Skill documentation (Text + Local Image):

dlazy kling-v3-omni --prompt 'Prompt content' --image '/path/to/image.png'

Example using a remote image URL:

dlazy kling-v3-omni --prompt 'Prompt content' --image 'https://files.dlazy.com/image.png'

Note: The reference image parameter in CLI help is --images (supports multiple), while the example uses --image; if the command reports an error, please refer to the current version output of dlazy kling-v3-omni -h.

On success, the return structure is roughly as follows (type / mimeType in outputs depend on the actual task):

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

Before calling the real API, you can use --dry-run to view the payload and cost estimation; for long tasks, it is recommended to familiarize yourself with the combination of --no-wait and dlazy status.

Scenarios & Notes

Who is it for

  • Content creators, designers, or automation workflow developers who are already using clients supporting Skills (like Cursor / Claude Code) and wish to initiate Kling Omni video tasks directly within the conversation.
  • Those willing to use dLazy accounts and API billing, and accept the SaaS invocation mode where materials are uploaded to files.dlazy.com.

Limitations & Notes

  1. Dependencies & Network: Requires the Node ecosystem (npm/npx), accessible dLazy API, and a valid API Key with sufficient account balance.
  2. Error Codes: 401 usually means missing or invalid Key; 503 may indicate insufficient_balance, requiring a recharge at the Credit Settings Page; local path errors will manifest as file not found.
  3. Compliance & Security: Prompts and materials must comply with platform security policies; the Skill itself does not access the file system; upload and inference are completed by the official CLI.
  4. Version: Both the Skill and CLI are pinned to 1.0.9. Before upgrading, it is recommended to check the version history on SkillHub and align it with the npm package version.

Conclusion

Through the steps above, you can integrate Kling v3 Omni’s multimodal video generation into your daily workflow within an Agent using a unified command: The Skill handles trigger words and parameter conventions, the dLazy CLI handles authentication, uploading, and polling, and results return to the conversation context as URLs.

Skill Official Entry: https://api.skillhub.cn/user_f95f21b8/dlazy-kling-v3-omni
SkillHub Display Page: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-kling-v3-omni

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye