出力解像度
公開 endpoint スキーマから 480p, 720p, 1080p をサポートしています。
curl -X POST https://runapi.ai/api/v1/seedance/text_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5",
"prompt": "10秒間の商品発表動画を生成してください:スマートフォンがシネマチックなライティングとアンビエントベースの音楽とともに煙から登場します。"
}'
import { SeedanceClient } from "@runapi.ai/seedance";
const client = new SeedanceClient();
const result = await client.textToVideo.run({
model: "seedance-2.5",
prompt: "10秒間の商品発表動画を生成してください:スマートフォンがシネマチックなライティングとアンビエントベースの音楽とともに煙から登場します。",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/seedance/text_to_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"seedance-2.5","prompt":"10秒間の商品発表動画を生成してください:スマートフォンがシネマチックなライティングとアンビエントベースの音楽とともに煙から登場します。"}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/seedance/text_to_video");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'seedance-2.5',
'prompt' => '10秒間の商品発表動画を生成してください:スマートフォンがシネマチックなライティングとアンビエントベースの音楽とともに煙から登場します。',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.textToVideo().run({"model":"seedance-2.5","prompt":"10秒間の商品発表動画を生成してください:スマートフォンがシネマチックなライティングとアンビエントベースの音楽とともに煙から登場します。"});
task.waitForResult();
require "runapi/seedance"
client = RunApi::Seedance::Client.new
result = client.text_to_video.run(
model: "seedance-2.5",
prompt: "10秒間の商品発表動画を生成してください:スマートフォンがシネマチックなライティングとアンビエントベースの音楽とともに煙から登場します。"
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.textToVideo.Run({"model":"seedance-2.5","prompt":"10秒間の商品発表動画を生成してください:スマートフォンがシネマチックなライティングとアンビエントベースの音楽とともに煙から登場します。"})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model seedance-2.5 \
--endpoint text_to_video \
--wait
7 個のバージョンを利用可能
モデルを選んで、数秒で生成できます。
| プロバイダー | Bytedance |
| モデル ID | seedance-2.5 |
| モダリティ | 動画 |
| タスク種別 | Asynchronous |
| API エンドポイント | /api/v1/seedance/text_to_video |
| 請求単位 | 秒 |
| 入力パラメータ | aspect_ratio, callback_url, duration_seconds, enable_safety_checker, first_frame_image_url, generate_audio, last_frame_image_url, model, output_format, output_resolution, prompt, reference_audio_urls, reference_image_urls, reference_video_urls, return_last_frame, web_search |
| 最大時間 | -1s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s, 16s, 17s, 18s, 19s, 20s, 21s, 22s, 23s, 24s, 25s, 26s, 27s, 28s, 29s, 30s |
| 最大解像度 | 480p, 720p, 1080p |
| アスペクト比 | 1:1, 4:3, 3:4, 16:9, 9:16, 21:9, auto |
| 出力形式 | mp4, mov |
| カタログ状態 | 稼働中 |
無料で登録し、ダッシュボードから seedance-2.5 用の API キーを作成します。
/api/v1/seedance/text_to_video に seedance-2.5 のモデル ID とパラメータを指定して POST リクエストを送信します。
タスクをポーリングするかコールバックに従って、完了した seedance-2.5 の結果を取得します。
公開 endpoint スキーマから 480p, 720p, 1080p をサポートしています。
aspect_ratio, duration_seconds, enable_safety_checker, first_frame_image_url, generate_audio を含む 14 個のドキュメント済みパラメータを設定できます。
1 個の公開 endpoint を提供しています: text_to_video。
非同期タスクはコールバック URL を受け付け、完了通知を送信します。
promptVideo generation prompt.
web_searchWhether to enrich the prompt with web search.
aspect_ratioOutput aspect ratio; auto lets RunAPI select it. (1:1, 4:3, 3:4, 16:9, 9:16, 21:9, auto)
callback_urlWebhook URL for asynchronous task updates.
output_formatOutput video container format. (mp4, mov)
generate_audioWhether to generate synchronized audio.
duration_secondsVideo duration in seconds; -1 selects duration automatically. (-1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
output_resolutionOutput video resolution. (480p, 720p, 1080p)
return_last_frameWhether to return the generated video's last frame.
last_frame_image_urlPublic last-frame image URL; requires first_frame_image_url.
reference_audio_urlsPublic reference audio URLs; up to 10 audio files.
reference_image_urlsPublic reference image URLs; up to 30 images.
reference_video_urlsPublic reference video URLs; up to 10 videos.
enable_safety_checkerWhether RunAPI checks generated content for safety.
first_frame_image_urlPublic first-frame image URL for frame-guided generation.
prompt から本番向けの短尺クリップを生成します。
複数の方向性を素早く試します。
開発ツールにモデルコンテキストを渡して動画アセットを作成します。
このモデルの確認済み顧客フィードバックはまだありません。
quickstart に表示されるモデル ID を渡してください。
はい。呼び出しまたは単位ごとの従量課金です。
はい。variant はリクエストのパラメーターです。model ID を変更するだけで切り替えられ、コード変更、再認証、別の請求設定は不要です。全 variant が同じ API key とリクエスト形式を共有します。
streaming が利用可能な場合、RunAPI はエンドツーエンドで配信します。LLM モデルは token 単位の streaming に対応し、メディアモデルは非同期タスクの polling または webhook callback で結果を届けます。
公開 GitHub repo に issue を作成するか、[email protected] にメールしてください。該当する生成を調査できるよう task ID と model ID を添えてください。
いいえ。RunAPI API key だけでこの variant とカタログ内の全モデルを利用できます。提供元のアカウントは不要です。