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

# Wan 2.7 Image-to-Video

Wan 2.7 Image-to-Video model with multimodal input support (text/image/audio/video). Capable of first-frame-to-video, first+last-frame-to-video, and video continuation. Supports 720P and 1080P resolutions, duration 2\~15 seconds, billed per second. Output includes audio by default.

<Tip>
  This is an **asynchronous** API; only the **task\_id** will be returned. You should use the **task\_id** to request the [**Task Result API**](/docs/nl/api-reference/model-apis-task-result) to retrieve the video generation results.
</Tip>

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Supports: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format, for example: Bearer \{\{API Key}}.
</ParamField>

## Request Body

<ParamField body="seed" type="integer">
  Random seed for improving reproducibility. Range: \[0, 2147483647].

  Value range: \[0, 2147483647]
</ParamField>

<ParamField body="prompt" type="string">
  Text prompt describing desired video content. Supports Chinese and English, max 5000 characters.

  Length limit: 0 - 5000
</ParamField>

<ParamField body="duration" type="integer" default={5}>
  Video duration in seconds, billed per second. Range: \[2, 15] integer.

  Value range: \[2, 15]
</ParamField>

<ParamField body="image_url" type="string" required={true}>
  First frame image URL. Supported formats: JPEG, JPG, PNG (no transparency), BMP, WEBP. Resolution: width and height in \[240, 8000] pixels, aspect ratio 1:8\~8:1, max 20MB. Mutually exclusive with first\_clip\_url, at least one must be provided.
</ParamField>

<ParamField body="watermark" type="boolean" default={false}>
  Add watermark to the output video (bottom-right corner).
</ParamField>

<ParamField body="resolution" type="string" default="1080P">
  Output video resolution tier, affects pricing. Video aspect ratio matches input media.

  Optional values: `720P`, `1080P`
</ParamField>

<ParamField body="prompt_extend" type="boolean" default={true}>
  Enable intelligent prompt rewriting using LLM. Improves generation quality for short prompts but increases processing time.
</ParamField>

<ParamField body="first_clip_url" type="string">
  First video clip URL for video continuation. The model extends the video based on its content. Supported formats: mp4, mov. Duration: 2~~10s, resolution: width and height in \[240, 4096] pixels, aspect ratio 1:8~~8:1, max 100MB. Mutually exclusive with image\_url.
</ParamField>

<ParamField body="last_frame_url" type="string">
  Last frame image URL. Combined with first frame to generate first+last frame video. Same format restrictions as first frame.
</ParamField>

<ParamField body="negative_prompt" type="string">
  Negative prompt describing undesired content in the video. Supports Chinese and English, max 500 characters.

  Length limit: 0 - 500
</ParamField>

<ParamField body="driving_audio_url" type="string">
  Driving audio URL. When provided, the model uses it as the driving source for video generation (e.g., lip sync, motion beats). When omitted, the model auto-generates matching background music or sound effects. Supported formats: wav, mp3. Duration: 2\~30s, max 15MB.
</ParamField>

## Response

<ResponseField name="task_id" type="string" required={false}>
  Use the task\_id to request the [Task Result API](/docs/nl/api-reference/model-apis-task-result) to retrieve the generated outputs.
</ResponseField>
