# Haiper範例實作

Haiper AI 是一款免費的影片生成工具，是由 Google DeepMind 研究人員開發，只需要輸入文字提示詞，就能生成各種場景的高畫質的影片。

#### 1. 註冊帳號

進入 [Haiper AI 網站](https://haiper.ai/auth/signin)，點撃「Login」可以使用 Gmail 或 Discord 登入

![image.png](https://genai.thu.edu.tw/uploads/images/gallery/2024-08/scaled-1680-/hlyimage.png)

##### 功能展示

想生成更好的影片結果，可以加上清晰具體、簡潔等效果幫助AI模型準確生成影像，另外可以加入攝影濾鏡、相機移動或提高影片品質相關的關鍵字，來豐富影片內容。

#### Step 2. 文字轉影片

點擊「Text to Video」選項，下方輸入生成影片文字提示詞、選擇風格、Seed及生成秒數，分別為兩秒及四秒，點擊「Create」按鈕，等待幾秒鐘時間就會生成影片。

[![image.png](https://genai.thu.edu.tw/uploads/images/gallery/2024-08/scaled-1680-/Rx7image.png)](https://genai.thu.edu.tw/uploads/images/gallery/2024-08/Rx7image.png)

提示詞為 A fox is chasing a rabbit in a forest.

生成結果

[![image.png](https://genai.thu.edu.tw/uploads/images/gallery/2024-08/scaled-1680-/t9yimage.png)](https://haiper.ai/creation/66bf6a2d69a04cb882f70f0b)

#### Step 3. 圖片轉影片

點擊「Animate Your Image」選項，下方上傳一張轉成影片的圖片，輸入提示詞（可輸入或不輸入）及生成秒數。

這裡選擇東海教堂圖片後直接生成影片

![image.png](https://genai.thu.edu.tw/uploads/images/gallery/2024-08/scaled-1680-/s2limage.png)