跳转到主要内容
POST
https://zx1.deepwl.net
/
v1
/
videos
Domestic Video Model Generation
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.

Domestic Video Model Generation

Method and Path

POST /v1/videos

Request Example

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": "The camera circles around the building and uses a Hitchcock zoom",
    "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"
      }
    }
  }'

Fields

model
string
必填
Model name. You can pass either a base model directly or a bundled billing model.
prompt
string
必填
Prompt.
seconds
string | integer
Duration. The top-level seconds has the highest priority.
duration
integer
Duration compatibility field.
size
string
Quick size field, such as 720x1280 or 1280x720.
image
string
Single reference image or first-frame image.
images
array<string>
Multiple reference images.
input_reference
string | array<string>
Reference image input, compatible with URL, base64, data URI, and file upload.
metadata
object
Extended parameters. Commonly used metadata.output_config, scene_type, motion_level, offpeak, video_url, file_infos, ext_info.

Scenarios

ScenarioKey Fields
Text-to-videoprompt + seconds
Image-to-videoimage / images / input_reference
First and last frameimage + metadata.last_frame_url
Motion controlmetadata.scene_type=motion_control + video reference
Digital humanmetadata.scene_type=avatar_i2v
Lip syncmetadata.scene_type=lip_sync
Template effectsmetadata.scene_type=template_effect

Rules

  • seconds / duration can be placed at the top level or in metadata
  • The top-level duration has the highest priority
  • scene_type=motion_control must provide a video reference
  • scene_type=lip_sync is counted as 5 seconds if it is less than 5 seconds
  • FileInfos can contain up to 3 items

metadata.output_config

Common fields:
  • resolution
  • aspect_ratio
  • audio_generation
  • duration
  • person_generation
  • input_compliance_check
  • output_compliance_check
  • enhance_switch
  • frame_interpolate
  • logo_add