Sand AI影片 API$0.08 每秒 起

MAGI-2 API

Sand.ai MAGI-2:480B 參數 MoE 影音模型,畫面與聲音一次生成,含口型同步的對白、擬音、環境音和音樂。輸出 1080p、25fps,4–30 秒,六種畫幅。DreamTo 提供文生、圖生(首幀,可選尾幀)和全能參考三種影片規格。

MAGI-2 生成效果

以下都是 MAGI-2 的真實生成結果。在 Playground 中開啟同一個模型,用你自己的提示詞和素材試試。

What sets MAGI-2 apart

Sand AI's 480B-parameter video model renders picture and sound in the same generation.

30sper clip

A whole scene in one clip

Pick any length from 4 to 30 seconds. Write several shots into the prompt in time order and the model plans the cuts, keeping characters and setting consistent across them.

1080pevery clip

One quality tier

Every task renders at 1080p. Text-to-video and reference-to-video offer 21:9, 16:9, 4:3, 1:1, 3:4 and 9:16; image-to-video follows the first frame.

♪sound included

Dialogue, effects and ambience together

Sound is generated by default, with lip movement matched to the dialogue. Put lines in quotes and name the speaker; turn generate_audio off for a silent clip at the same price.

20reference files

Reference images, video and audio

Reference-to-video takes up to 10 images, 5 videos and 5 audio clips: images set the look, videos the motion and camera, audio the voice, so one character stays the same across many clips.

MAGI-2 擅長的 3 件事

為什麼在 DreamTo 上用 MAGI-2。

01

按時間編排

把多鏡頭提示詞寫成一條有順序的時間線,明確每段的景別、關鍵動作和聲音入點。適合先確定片段的節奏,再細化畫面。

02

聲音和畫面同編排

Sand.ai 官方介紹了同步對白、擬音和場景聲。讓每個聲源對應一個動作、場景或人物,可以在看片時逐項檢查。

03

分工明確的參考素材

對照所用介面,透過圖片界定外觀、影片指導運動、音訊提供聲音參照。參考型別分別標註後,再在提示詞裡規定每段保留的內容。

選擇 MAGI-2 規格

同一家族的不同規格在速度、價格與能力上各有側重,依需求選擇。

價格

該模型按下列計費維度收費。 價格以 USD 顯示,費用依使用模型及實際用量計算。 查看全部價格

計費項目我們的價格目前價格
时长$0.08/秒

參考價格核對於 2026-12-02: fal.ai · 官方定價

How to give references

Reference-to-video needs at least one kind of reference; the three kinds combine freely. Say in the prompt what each file is for.

10images

Look

JPG / PNG / WEBP, to lock a person's face and outfit, a product or a place.

5videos

Motion and camera

MP4 / MOV, 2–30 s each and 30 s in total, to borrow motion, rhythm and camera moves.

5audio clips

Voice and sound

MP3 / WAV, 2–30 s each and 30 s in total, to set the speaking voice or the sound.

One job per file

Name each one in the prompt — "the woman in the reference image", "keep the voice from the reference audio", "follow the motion of the reference video" — which works better than piling up files.

Clear images, whole subjects

Use well-lit, front-facing photos for people and clean backgrounds for products so logos and colours hold.

Use public URLs

Every reference is an http(s) URL fetched at generation time; if a download fails the task fails and is not charged.

Prompting MAGI-2

MAGI-2 renders picture and sound together, so write the prompt like a script: who is on screen, what they do, what they say and what we hear.

  1. 1

    Start with subject and setting

    Who is in frame, what they look like and wear, where and when, and the light.

  2. 2

    Quote the dialogue

    Say who speaks and how, e.g. She says quietly, "It's windy tonight."

  3. 3

    List shots in order

    The longer the clip, the more the events should be written in order, such as one shot for 0–5 s and another for 5–10 s.

  4. 4

    Finish with sound

    End with "Sound: …" listing effects, ambience or music so the audio matches the picture.

Don't stop at a noun

"A dog" gets a random clip; add action, camera and sound to get control.

Keep lines short

A line takes two or three seconds; fit one or two into a 5-second clip and raise duration for longer speech.

Keep first and last frames related

When passing a last frame, keep its subject and framing close to the first frame for a natural transition.

MAGI-2 適合用在哪裡

MAGI-2 這類AI 影片模型最常見的用法。

從已批構圖起鏡

用批准的首幀固定視點和人物位置,指明中段動作和鏡頭結束處的景別,同時約定聲音隨鏡頭距離怎樣變化。

車站場景

在開場安排遠處廣播和進站腳步,中段以中景表現相遇,最後停在車票或時刻表上。比較畫面資訊與聽覺提示是否先後呼應。

多段產品演示

先以全景說明工作臺,再把動作和擬音配在近景,例如旋鈕卡入時的輕響。最後留一個足夠清楚的結果鏡頭。

依照人物設定續拍

把設定圖用於角色形象,再用不同動作參考製作相關場景。比較人物朝向和聲線相關細節,確保之後可以剪成一段。

MAGI-2 支援的參數

以下是目前規格可設定的參數與取值,Playground 表單與 API 使用同一套參數。

參數說明
prompt必填對要生成內容的文字描述。
first_frame_url必填作為影片首幀的圖片。
last_frame_url作為影片尾幀的圖片。
duration輸出長度(秒)。 預設: 5.
resolution輸出解析度。 可選值: 1080p. 預設: 1080p.
generate_audio為影片同步生成音訊。 預設: true.
seed隨機種子,重複使用可重現結果。

少走彎路的 3 個技巧

01

聲音提示避免堆疊

寫清哪些聲音交替、哪些背景聲持續播放,重點動作時只保留能支撐場景的音效。用字幕稿核對對白時點和說話人。

02

先審切鏡

檢視切鏡前後人物視線、行進方向和道具位置,再檢查每段行為是否與提示詞一致。對偏離最大的一段先單獨調整。

03

逐步增加參考

先以最小的素材組合測試主角和動作。確認兩者有效後,再加入環境或聲音參考,方便定位是哪一份素材改變了成片。

文件與 API

要把 MAGI-2 整合進自己的產品?端點、參數、驗證與計費都在 API 文件裡。

magi-2/image-to-video

為什麼在 DreamTo 上執行 MAGI-2

打開瀏覽器就能用

不用安裝軟體、不用配顯示卡,也不用先寫程式。登入後在 Playground 填好提示詞就能生成,結果保留 7 天。

一個帳號,所有模型

DreamTo 上的模型共用一個帳號和餘額。同一個需求可以換幾個模型分別跑一次,留下效果最好的。

從試用到接入 API

Playground 裡調好的參數,在 API 分頁就是一段可直接執行的請求;同一個 API 密鑰可以呼叫所有模型。

常见问题

MAGI-2 是什麼?

Sand.ai MAGI-2:480B 參數 MoE 影音模型,畫面與聲音一次生成,含口型同步的對白、擬音、環境音和音樂。輸出 1080p、25fps,4–30 秒,六種畫幅。DreamTo 提供文生、圖生(首幀,可選尾幀)和全能參考三種影片規格。

Which MAGI-2 models are there?

Three: magi-2/text-to-video, magi-2/image-to-video (first frame, optional last frame) and magi-2/reference-to-video (image, video and audio references). Parameters are nearly the same; pick by your input.

How long can a clip be?

Any whole number of seconds from 4 to 30; 5 when duration is omitted.

Which resolutions and aspect ratios?

1080p only. Text-to-video and reference-to-video offer 21:9, 16:9, 4:3, 1:1, 3:4 and 9:16 (default 16:9); image-to-video follows the first frame.

Does sound cost extra?

No. Every second costs $0.08 whether generate_audio is on or off and whether you use references — 5 s is $0.40, 30 s is $2.40. Rejected and failed tasks are free.

How do I make a character say a line?

Put the line in quotes and name the speaker, e.g. The owner smiles and says, "This one's on me." For a fixed voice, use reference-to-video with a reference audio clip.

該選哪個 MAGI-2 模型?

先用更快、更便宜的規格確定方向,再用效果更好的規格產出成品。各規格的能力與價格請見上方比較與價格表。

如何呼叫 MAGI-2 API?

使用你的 API 金鑰傳送 POST /api/v1/jobs/createTask,模型 ID 填 magi-2/image-to-video。上方 API 區塊有可直接執行的範例。

費用如何計算?

費用依使用模型的計費方式及實際用量計算。

我在哪裡取得 API Key?

在控制檯 → API Keys 建立密鑰,同一個密鑰可呼叫平台上的所有模型。

生成的結果保存在哪裡?

Playground 的「歷史」分頁會依帳號保留最近 3 天的生成記錄,可以重新開啟、下載或一鍵複用參數。需要長期保存的請及時下載。

生成的內容可以商用嗎?

可以。你生成的內容可用於商業專案,但需遵守模型提供方的條款。