> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Wan 2.6 Reference-to-Video

> Generate video using reference video URLs (multi-character supported).

Generate video using reference video URLs (multi-character supported)

**Model**

```bash theme={null}
wan2.6-r2v
```

## Inputs

* **video\_urls (required)**\
  Type: STRING\
  Comma-separated reference video URLs (1–3).
* **prompt (optional)**\
  Type: STRING (max 1500 chars)
* **negative\_prompt (optional)**\
  Type: STRING (max 500 chars)
* **size (optional)**\
  Type: ENUM\
  Options: multiple resolutions\
  Default: 1920\*1080
* **duration (optional)**\
  Type: ENUM\
  Options: 5, 10\
  Default: 5
* **shot\_type (optional)**\
  Type: ENUM\
  Options: single, multi\
  Default: single
* **watermark (optional)**\
  Type: BOOLEAN\
  Default: False
* **seed (optional)**\
  Type: INT\
  Range: 0–2147483647

## Outputs

* **video (VIDEO)**\
  Generated video tensor.
* **video\_url (STRING)**\
  Public URL of generated video.
* **file\_path (STRING)**\
  Local saved video path.

***

# WAN 2.7 Text-to-Video

## Description

Generates a video from a text prompt using the WAN 2.7 T2V model, supporting flexible duration (2–15 seconds), aspect ratio selection, optional audio input, prompt enhancement, and watermark control.

## Inputs

* **prompt**: Required text description of the video content (max 1500 characters).
* **negative\_prompt**: Optional text describing what to avoid (max 500 characters).
* **audio\_url**: Optional external audio file (WAV/MP3, 3–30s, ≤15MB).
* **resolution**: Output resolution tier, either 720P or 1080P (default: 1080P).
* **ratio**: Aspect ratio of output video (16:9, 9:16, 1:1, 4:3, 3:4).
* **duration**: Video length in seconds, between 2 and 15 (default: 5).
* **prompt\_extend**: Enables automatic prompt rewriting/enhancement.
* **watermark**: Adds “AI Generated” watermark if enabled.
* **seed**: Random seed for reproducibility.

## Outputs

* **VIDEO**: Generated video object.
* **VIDEO\_URL**: Hosted URL for the generated video.
* **FILE\_PATH**: Local saved file path.

***

# WAN 2.7 Image-to-Video

## Description

Generates a video from an input image using WAN 2.7 I2V. Supports optional first/last frame conditioning, optional driving audio, flexible duration control, and prompt-based motion guidance.

## Inputs

* **first\_frame\_image / first\_frame\_image\_url**: Optional starting frame (image tensor or URL).
* **last\_frame\_image / last\_frame\_image\_url**: Optional ending frame (image tensor or URL).
* **first\_clip**: Optional reference video for motion guidance.
* **driving\_audio**: Optional audio input to guide motion dynamics.
* **prompt**: Optional text prompt (max 1500 characters).
* **negative\_prompt**: Optional constraints (max 500 characters).
* **resolution**: Output resolution (720P or 1080P).
* **duration**: Video length in seconds (2–15).
* **prompt\_extend**: Enables prompt enhancement.
* **watermark**: Adds watermark overlay.
* **seed**: Random seed for reproducibility.

## Outputs

* **video (VIDEO)**\
  Generated video tensor.
* **video\_url (STRING)**\
  Public URL of generated video.
* **file\_path (STRING)**\
  Local saved video path.

***

# WAN 2.7 Reference-to-Video

## Description

Generates video using multiple reference images and/or reference videos with WAN 2.7. Supports first-frame conditioning, multi-source visual guidance, and flexible motion synthesis across up to 5 total reference assets.

## Inputs

* **first\_frame\_image / first\_frame\_url**: Optional starting frame.
* **reference\_images**: Optional batch of image tensors.
* **reference\_image\_urls**: Optional comma-separated image URLs.
* **reference\_video\_urls**: Optional comma-separated video references (max 5 total assets combined).
* **prompt**: Required or optional text prompt (max 1500 characters).
* **negative\_prompt**: Optional constraints (max 500 characters).
* **resolution**: Output resolution (720P or 1080P).
* **ratio**: Aspect ratio control (16:9, 9:16, 1:1, 4:3, 3:4).
* **duration**: Video length (2–15 seconds).
* **prompt\_extend**: Enables prompt rewriting.
* **watermark**: Adds watermark overlay.
* **seed**: Random seed for reproducibility.

## Outputs

* **video (VIDEO)**\
  Generated video tensor.
* **video\_url (STRING)**\
  Public URL of generated video.
* **file\_path (STRING)**\
  Local saved video path.

***

# Happy Horse 1.0 Text-to-Video - GMIHHT2VNode

## Description

Generates video from a text prompt using the Happy Horse 1.0 model with a focus on high visual fidelity, simple configuration, and short-form generation (3–15 seconds).

## Inputs

* **prompt**: Required text description of the video content.
* **resolution**: Output resolution (720P or 1080P).
* **duration**: Video length in seconds (3–15).
* **watermark**: Adds “AI Generated” watermark in bottom-right corner.

## Outputs

* **video (VIDEO)**\
  Generated video tensor.
* **video\_url (STRING)**\
  Public URL of generated video.
* **file\_path (STRING)**\
  Local saved video path.

***

# Happy Horse 1.0 Image-to-Video - GMIHHI2VNode

## Description

Generates video from an image using the Happy Horse 1.0 model. The input image defines the initial frame, and motion is generated based on the prompt.

## Inputs

* **prompt**: Required text describing motion and style.
* **first\_frame\_image / first\_frame\_image\_url**: Required starting image input.
* **resolution**: Output resolution (720P or 1080P).
* **duration**: Video length (3–15 seconds).
* **watermark**: Adds watermark overlay.

## Outputs

* **video (VIDEO)**\
  Generated video tensor.
* **video\_url (STRING)**\
  Public URL of generated video.
* **file\_path (STRING)**\
  Local saved video path.
