Skip to main content
POST
https://zx1.deepwl.net
/
v1
/
videos
国产视频模型生成
curl --request POST \
  --url https://zx1.deepwl.net/v1/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "prompt": "<string>",
  "seconds": {},
  "duration": 123,
  "size": "<string>",
  "image": "<string>",
  "images": [
    "<string>"
  ],
  "input_reference": [
    "<string>"
  ],
  "metadata": {}
}
'

Documentation Index

Fetch the complete documentation index at: https://doc.deepwl.cn/llms.txt

Use this file to discover all available pages before exploring further.

国产视频模型生成

方法与路径

POST /v1/videos

请求示例

curl -X POST https://zx1.deepwl.net/v1/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Kling-3.0-Omni",
    "prompt": "镜头环绕建筑并使用希区柯克变焦",
    "seconds": "15",
    "size": "720x1280",
    "metadata": {
      "scene_type": "motion_control",
      "motion_level": "pro",
      "file_infos": [
        {
          "type": "Url",
          "category": "Video",
          "url": "https://example.com/motion-ref.mp4"
        }
      ],
      "output_config": {
        "duration": 15,
        "resolution": "720P",
        "aspect_ratio": "9:16",
        "audio_generation": "Enabled"
      }
    }
  }'

字段

model
string
required
模型名称。可以直接传基础模型,也可以传组合计费模型。
prompt
string
required
提示词。
seconds
string | integer
时长。顶层 seconds 优先级最高。
duration
integer
时长兼容字段。
size
string
快速尺寸字段,例如 720x12801280x720
image
string
单张参考图或首帧图。
images
array<string>
多张参考图。
input_reference
string | array<string>
参考图输入,兼容 URL、base64、data URI 与文件上传。
metadata
object
扩展参数。常用 metadata.output_configscene_typemotion_leveloffpeakvideo_urlfile_infosext_info

场景

场景关键字段
文生视频prompt + seconds
图生视频image / images / input_reference
首尾帧image + metadata.last_frame_url
动作控制metadata.scene_type=motion_control + 视频参考
数字人metadata.scene_type=avatar_i2v
对口型metadata.scene_type=lip_sync
模板特效metadata.scene_type=template_effect

规则

  • seconds / duration 可以放顶层,也可以放 metadata
  • 顶层时长优先级最高
  • scene_type=motion_control 必须提供视频参考
  • scene_type=lip_sync 不足 5 秒按 5 秒计
  • FileInfos 最多 3 项

metadata.output_config

常用字段:
  • resolution
  • aspect_ratio
  • audio_generation
  • duration
  • person_generation
  • input_compliance_check
  • output_compliance_check
  • enhance_switch
  • frame_interpolate
  • logo_add

相关页面