Dreamina Seedance 2.0
ベンダー定価。プラットフォーム手数料なし、従量課金。 これらは公式 list 価格です。ログイン中のお客様は /console/pricing でワークスペース割引を含む実効価格を確認できます。
30 秒で Dreamina Seedance 2.0 を使う
非同期ジョブ API:タスクを作成してポーリングするか、Prefer: wait でリクエストを保持して完了を待ちます。POST /v1/videos
import time
import requests
BASE = "https://synthorai.io/v1"
HEADERS = {"Authorization": "Bearer sk-syn-..."}
# 1) create the video generation job (POST /v1/videos)
task = requests.post(
f"{BASE}/videos",
headers=HEADERS,
json={
"model": "dreamina-seedance-2-0-260128",
"prompt": "a watercolor lighthouse at dawn, waves rolling in, camera pulling back",
"resolution": "720p",
"duration": 5,
},
).json()
# 2) poll the job until it reaches a terminal state
while task["status"] in ("queued", "in_progress"):
time.sleep(5)
task = requests.get(f"{BASE}/videos/{task['id']}", headers=HEADERS).json()
# 3) completed → signed video URL (valid ~24h — download and store it promptly)
if task["status"] == "completed":
print(task["data"][0]["url"])
else:
print(task["error"])const HEADERS = {
Authorization: "Bearer sk-syn-...",
"Content-Type": "application/json",
};
interface VideoTask {
id: string;
status: "queued" | "in_progress" | "completed" | "failed" | "cancelled";
data?: Array<{ url: string }>;
error?: { code: string; message: string };
}
// 1) create the video generation job (POST /v1/videos)
const created = await fetch("https://synthorai.io/v1/videos", {
method: "POST",
headers: HEADERS,
body: JSON.stringify({
model: "dreamina-seedance-2-0-260128",
prompt: "a watercolor lighthouse at dawn, waves rolling in, camera pulling back",
resolution: "720p",
duration: 5,
}),
});
let task = (await created.json()) as VideoTask;
// 2) poll the job until it reaches a terminal state
while (task.status === "queued" || task.status === "in_progress") {
await new Promise((r) => setTimeout(r, 5000));
const res = await fetch(`https://synthorai.io/v1/videos/${task.id}`, { headers: HEADERS });
task = (await res.json()) as VideoTask;
}
// 3) completed → signed video URL (valid ~24h — download and store it promptly)
if (task.status === "completed") console.log(task.data?.[0]?.url);
else console.error(task.error);# Create the job; "Prefer: wait" holds the request up to 60s and returns the
# completed task when generation finishes in time (else the queued task).
curl https://synthorai.io/v1/videos \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-H "Prefer: wait=60" \
-d '{
"model": "dreamina-seedance-2-0-260128",
"prompt": "a watercolor lighthouse at dawn, waves rolling in, camera pulling back",
"resolution": "720p",
"duration": 5
}'
# Still queued / in_progress? Poll until completed → data[0].url (valid ~24h).
curl https://synthorai.io/v1/videos/vid_9f2e8c1a4b7d \
-H "Authorization: Bearer sk-syn-..."package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"time"
)
const base = "https://synthorai.io/v1"
type videoTask struct {
ID string `json:"id"`
Status string `json:"status"`
Data []struct {
URL string `json:"url"`
} `json:"data"`
}
func call(method, url string, body []byte) (t videoTask) {
req, _ := http.NewRequest(method, url, bytes.NewReader(body))
req.Header.Set("Authorization", "Bearer sk-syn-...")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
json.NewDecoder(resp.Body).Decode(&t)
return t
}
func main() {
// 1) create the video generation job (POST /v1/videos)
payload, _ := json.Marshal(map[string]any{
"model": "dreamina-seedance-2-0-260128",
"prompt": "a watercolor lighthouse at dawn, waves rolling in, camera pulling back",
"resolution": "720p",
"duration": 5,
})
task := call("POST", base+"/videos", payload)
// 2) poll the job until it reaches a terminal state
for task.Status == "queued" || task.Status == "in_progress" {
time.Sleep(5 * time.Second)
task = call("GET", base+"/videos/"+task.ID, nil)
}
// 3) completed → signed video URL (valid ~24h — download and store promptly)
if task.Status == "completed" {
fmt.Println(task.Data[0].URL)
}
}import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
// JDK built-in HttpClient — no extra dependency needed.
HttpClient http = HttpClient.newHttpClient();
// 1) create the job; "Prefer: wait=60" holds the request up to 60s and
// returns the completed task when generation finishes in time
HttpRequest create = HttpRequest.newBuilder(URI.create("https://synthorai.io/v1/videos"))
.header("Authorization", "Bearer sk-syn-...")
.header("Content-Type", "application/json")
.header("Prefer", "wait=60")
.POST(HttpRequest.BodyPublishers.ofString("""
{"model": "dreamina-seedance-2-0-260128",
"prompt": "a watercolor lighthouse at dawn, waves rolling in, camera pulling back",
"resolution": "720p", "duration": 5}"""))
.build();
String task = http.send(create, HttpResponse.BodyHandlers.ofString()).body();
System.out.println(task); // {"id":"vid_…","status":…} — completed → data[0].url
// 2) still queued / in_progress? Poll GET https://synthorai.io/v1/videos/{id} until the
// status turns completed, then download data[0].url (valid ~24h).Dreamina Seedance 2.0 について
Dreamina Seedance 2.0 は BytePlus ModelArk 上の ByteDance のフラッグシップ動画生成モデルで、公式カタログでは高忠実度の音声・映像同期、高いモーション品質、感情表現を備えたメインラインの動画モデルとして紹介されています。
- テキストプロンプト、または先頭フレームや先頭+末尾フレームの画像から、480p から 4K(10-bit エンコード)までの解像度、6 種類のアスペクト比で、24 fps・4〜15 秒の .mp4 クリップを生成し、generate_audio スイッチで同期サウンドも付けられます。
- 公式のシリーズチュートリアルは、2.0 世代がキャラクターの特徴を一貫させたまま、物のディテール、音色、エフェクト、スタイル、カメラワークを高精度に再現すると述べ、マルチモーダル参照、動画編集、動画延長をシリーズの能力として挙げています。
- Synthorai は非同期の /v1/videos ジョブ API 経由で提供します — タスクを作成してポーリングするか、Prefer: wait でリクエストを保持し、署名付き動画 URL が用意されるのを待ちます。
スペックと制限
| モダリティ | text + image → video |
| 機能 | vision |
| 特記事項 | Flagship of ByteDance's Dreamina Seedance 2.0 series, the catalog's mainline video generation model with high-fidelity audio-visual synchronization; text-to-video + first-frame / first-and-last-frame image-to-video; 480p-4k output (10-bit encoding at 4k), 24 fps, 4-15 s, six aspect ratios, .mp4; generate_audio for sound-on output; the series also lists multimodal reference (image/video/audio), video editing and video extension; version date 260128 encoded in the model id. |
よくある質問
Dreamina Seedance 2.0 API は無料で試せますか?
はい。新規アカウントには 10 回のトライアル呼び出しと最大 $1 の無料クレジットが付与され、カード登録は不要です。支払い方法を追加する前に、実際のワークロードで Dreamina Seedance 2.0 を試すには十分な量です。
Dreamina Seedance 2.0 は何が得意ですか?
高忠実度の音声・映像同期、さらに480p から 4K 出力、4〜15 秒とテキスト、先頭フレーム、先頭+末尾フレーム入力。全体像はベンダー公式のリリースノートに基づく About セクションをご覧ください。
Dreamina Seedance 2.0 の料金はいくらですか?
Synthorai 上の Dreamina Seedance 2.0 は動画トークン 100 万あたり $7 です(動画トークン ≈ 幅 × 高さ × 24fps × 秒数 ÷ 1024)。課金は生成に成功した場合のみ:従量課金でプラットフォーム手数料なし、サブスクリプションも不要です。
Dreamina Seedance 2.0 API で動画を生成するには?
Synthorai の /v1/videos に model="dreamina-seedance-2-0-260128" を指定して POST し、非同期ジョブを作成します。その後タスクをポーリングするか、Prefer: wait ヘッダーでリクエストを保持したまま完了を待つと、動画 URL が得られます。ベンダー SDK は不要です。
Dreamina Seedance 2.0 を利用するには?
お使いの OpenAI SDK の base_url を "https://synthorai.io/v1" に向け、model="dreamina-seedance-2-0-260128" を設定すれば完了です。API キー 1 本でゲートウェイ上のすべてのモデルを利用できます。