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

# Image to Video

> Animate an existing image with a First frame and an optional Last frame to guide opening and closing compositions.

**Image to video** brings a static image to life. Upload a **First frame** to animate from a starting scene, or add an optional **Last frame** to define how the clip concludes.

## How to Use Image to Video

![Image to video mode](https://mintcdn.com/chathub-5dac209e/F6jAwHchWy-8IbfT/images/video-generation/image-to-video.png?fit=max\&auto=format\&n=F6jAwHchWy-8IbfT\&q=85\&s=2a9d04cea4b776d029d4600305f11ccd)

Image to video mode with First frame and optional Last frame. Aspect ratio locks to Follows input image.

**1. Select Image to video**

In the [Video Generator](https://app.chathub.gg/video-generator), switch to **Image to video** in the top mode bar.

**2. Upload First frame (and optional Last frame)**

Click or drag an image into the **First frame** (**Required**) slot. To guide the ending composition, upload a second image into **Last frame** (**Optional**).

**3. Describe the motion and transition**

In **User prompt**, focus on how the subject and camera move from the first frame onward — and how the scene transitions into the last frame, if provided.

**4. Review credits and generate**

Choose your **Model**, **Duration** (4–15s), and **Resolution**, verify the estimate on the **Generate** button, and submit.

> [!NOTE]
>
> In **Image to video** mode, **Aspect ratio** automatically switches to **Follows input image**. The generated video matches your starting frame's proportions to prevent unintended cropping.

## Image Requirements

* **Supported formats:** `JPEG`, `PNG`, and `WebP` (must be genuine image files, not renamed from other formats)
* **Maximum file size:** **2 MB** per image
* **Privacy policy:** Certain video models (including Seedance) restrict uploading photos that appear to contain real people. If you encounter a privacy restriction, try illustrated, stylized, or non-human imagery instead.

## Prompting Tip & Example

Because the model already sees your uploaded image(s), avoid repeating static background details and focus your prompt on **movement, pacing, camera motion, and sound**.

* **First + Last frame example** *(ginger cat on a sunlit windowsill → curled up asleep on a café bench)*:
  > *The ginger cat slowly turns away from the sunlit window, hops down onto the warm café bench, circles once, and curls up peacefully to sleep beside the steaming mug. Soft slow pan, warm cozy ambience.*

> [!TIP]
>
> Using both **First frame** and **Last frame** works best when both images share consistent lighting, character design, and framing — with enough duration (such as 8–10s) for a smooth transition. See complete playable First-frame and First+Last-frame walkthroughs in [Examples & Showcase](https://doc.chathub.gg/video-generation/examples.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.