Nodes/ComfyUI-KIE-Nodes-Next/Wan 2.7 - Reference to Video
ComfyUI Node

Wan 2.7 - Reference to Video

Wan 2.7 - Reference to Video OpenAPI Specification

By felipederosilva·Created 24 days ago·Updated about 11 hours ago· 0
Wan 2.7 - Reference to Video
    • video
    • url
    • all_urls_json
    • task_id
    • raw_json
    • credits_consumed
    • credits_left
    ◄promptImage 1 is eating, while video 1 and image 2 are singing beside it.►
    ◄negative_promptlow resolution, errors, worst quality, low quality, malformed, extra fingers, bad proportions►
    ◄reference_image[ "https://example.com/demo/ref-image-1.png", "https://example.com/demo/ref-image-2.png" ]►
    ◄reference_video[ "https://example.com/demo/ref-video-1.mp4" ]►
    ◄first_framehttps://example.com/demo/first-frame.png►
    ◄reference_voicehttps://example.com/demo/reference-voice.mp3►
    ◄resolution1080p►
    ◄aspect_ratio16:9►
    ◄duration5►
    ◄prompt_extendtrue►
    ◄watermarkfalse►
    ◄seed0►
    ◄nsfw_checkerfalse►
    ◄timeout_seconds1200►
    ◄callback_url►
    CategoryKIE Next/Video/Wan

    Inputs (15)

    NameTypeDefaultDescription
    promptSTRINGImage 1 is eating, while video 1 and image 2 are singing beside it.Text prompt. Required. Describes the desired elements and visual features in the generated video. Supports Chinese and English. Maximum length: 5000 characters.
    negative_promptoptSTRINGlow resolution, errors, worst quality, low quality, malformed, extra fingers, bad proportionsOptional negative prompt describing what should not appear in the video. Supports Chinese and English. Maximum length: 500 characters.
    reference_imageoptSTRING[ "https://example.com/demo/ref-image-1.png", "https://example.com/demo/ref-image-2.png" ]Array of reference image URLs. At least one of `reference_image` or `reference_video` must be provided. The total number of images and videos cannot exceed 5.
    reference_videooptSTRING[ "https://example.com/demo/ref-video-1.mp4" ]Array of reference video URLs. At least one of `reference_image` or `reference_video` must be provided. The total number of images and videos cannot exceed 5.
    first_frameoptSTRINGhttps://example.com/demo/first-frame.pngFirst frame image URL. At most one image can be provided. If supplied, `aspect_ratio` is ignored and the output uses a ratio close to the first frame image.
    reference_voiceoptSTRINGhttps://example.com/demo/reference-voice.mp3Audio URL used to specify the voice timbre of the subject in the reference material. Rules: - If `reference_video` contains audio and `reference_voice` is not provided, the original video audio is used by default - If both `reference_video` and `reference_voice` are provided, `reference_voice` takes priority Audio limits: - Formats: `wav`, `mp3` - Duration: `1` to `10` seconds - File size: up to `15MB`
    resolutionoptCOMBO1080pOutput video resolution tier. Available values: `720p`, `1080p`. Default value: `1080p`.
    aspect_ratiooptCOMBO16:9Output video aspect ratio. Effective logic: - If `first_frame` is not provided: the video is generated using the specified `aspect_ratio` - If `first_frame` is provided: `aspect_ratio` is ignored and the output uses a ratio close to the first frame image
    durationoptINT52–10Output video duration in seconds. Valid range is an integer from `2` to `10`. Default value: `5`.
    prompt_extendoptBOOLEANtrueWhether to enable prompt rewriting. When enabled, the model expands the input prompt. This usually works better for short prompts but increases processing time.
    watermarkoptBOOLEANfalseWhether to add a watermark. The watermark is placed in the lower-right corner of the video with the fixed text "AI generated".
    seedoptINT00–2147483647Random seed. Range: `0-2147483647`. If omitted, the system generates one automatically.
    nsfw_checkeroptBOOLEANfalseDefaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself. Note: There is no guarantee that everything can be filtered out; if you are not satisfied with the results, you will need to make your own arrangements.
    timeout_secondsoptINT120030–7200—
    callback_urloptSTRINGOptional KIE callback URL. Leave empty for normal ComfyUI use.

    Outputs (7)

    NameTypeDescription
    videoVIDEO—
    urlSTRING—
    all_urls_jsonSTRING—
    task_idSTRING—
    raw_jsonSTRING—
    credits_consumedFLOAT—
    credits_leftFLOAT—