设计与多媒体

全能视频生成 可灵 Kling V3 Omni

通过 dLazy CLI 调用 Kling v3 Omni 模型,从文本提示词和参考图片生成视频。

它能做什么

该技能通过一条 CLI 命令(`dlazy kling-v3-omni`)调用 Kling v3 Omni 视频生成模型。接受文本提示词与最多 7 张参考图片;在 components 生成模式下,还可传入最多 3 个主体和 1 段参考视频用于引导生成。可配置画幅比例(16:9、9:16、1:1)、时长(3–15 秒)、质量档(std/pro)以及是否启用音效。生成结果以 files.dlazy.com 上的 URL 形式返回;`--dry-run` 仅打印 payload 与费用估算、不实际调用 API,`--no-wait` 则返回 generateId 供后续轮询。

什么时候用它

  • 从一段文字提示词生成短视频
  • 用最多 7 张参考图做图生视频
  • 基于主体或参考视频做引导式生成
  • 提交任务前用 --dry-run 预估费用

技能文档

全能视频生成 可灵 Kling V3 Omni

English · 中文

Versatile video generation with Kling v3 Omni. Supports multi-modal inputs to generate stunning dynamic videos.

Trigger Keywords

  • kling v3 omni
  • generate omni video
  • text to video, image to video

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/[email protected] 

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 (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: Run the dlazy kling-v3-omni command to get results.

dlazy kling-v3-omni -h

Options:
  --prompt [prompt]                    Prompt
  --generation_mode [generation_mode]  Generation Mode(frames=Frames; components=Components) [default: frames] (choices: "frames", "components")
  --images [images...]                 Images [image: url or local path] (max 7)
  --subjects [subjects...]             Subjects (max 3) [only when !(generation_mode="frames")]
  --videos [videos...]                 Videos [video: url or local path] (max 1) [only when !(generation_mode="frames")]
  --video_refer_type [video_refer_type]Video Refer Type [default: feature] (choices: "feature", "base") [only when videos non-empty]
  --keep_original_sound [keep_original_sound]Keep Original Sound [default: false] [only when videos non-empty]
  --aspect_ratio [aspect_ratio]        Aspect Ratio [default: 16:9] (choices: "16:9", "9:16", "1:1") [only when !(videos non-empty && video_refer_type="base")]
  --duration [duration]                Duration (s) [default: 5] (choices: "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15") [only when !(videos non-empty && video_refer_type="base")]
  --mode [mode]                        Mode [default: std] (choices: "std", "pro")
  --sound [sound]                      Sound Effect [default: false]
  --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": "kling-v3-omni",
    "modelId": "kling-v3-omni",
    "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.

Command Examples

# basic call:
dlazy kling-v3-omni --prompt 'prompt text' --image '/path/to/image.png'

# complex call:
dlazy kling-v3-omni --prompt 'prompt text' --image 'https://files.dlazy.com/image.png'

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.

相关技能

Powerful video generation with Kling v3. Supports high-quality text-to-video and image-to-video. 使用可灵 (Kling) v3 强大的视频生成模型,支持高质量的文生视频与图生视频。

65 次安装

Generate exquisite images with Kling o1 model. Supports text-to-image and image-to-image. 使用可灵 (Kling) o1 模型生成精美图像,支持文生图与参考图生图。

64 次安装

Generate matching scene sound effects based on text descriptions or video frames using Kling SFX. 使用可灵 (Kling) 音效模型,根据文字描述或视频画面智能生成匹配的场景音效。

63 次安装

Generate customized speech that highly restores the timbre by uploading reference audio using Kling Audio Clone. 使用可灵 (Kling) 声音克隆模型,通过上传参考音频,生成高度还原该音色的定制语音。

64 次安装

Convert text into high-quality, emotional speech reading using Kling TTS. 使用可灵 (Kling) TTS 模型,将文本转化为高质量、情感丰富的语音朗读。

65 次安装

根据提示词自动挑选视频模型,支持文生视频、图生视频、首尾帧、数字人与对口型。

70 次安装