Wan 2.7 画像から動画生成モデルは、マルチモーダル入力(テキスト、画像、音声、動画)をサポートし、次の 3 つのタスクを実行します。最初のフレームから動画生成、最初と最後のフレームから動画生成、動画継続生成。
リファレンス:ユーザーガイド
新しい 画像から動画生成 API(wan2.7 モデル)は、上記の 3 つのタスクすべてをサポートします。以前の 最初のフレームからの画像から動画生成 API(wan2.6 以前)は、最初のフレームから動画生成のみをサポートします。
利用可能リージョン
モデル、エンドポイント URL、API キーは同じリージョンに属している必要があります。リージョンをまたいだ呼び出しは失敗します。
-
モデルの選択:ご利用のターゲットリージョンでモデルが利用可能であることを確認してください。
-
URL の選択:モデルのリージョンに一致するエンドポイント URL を選択してください。HTTP および DashScope SDK の両方の URL がサポートされています。
-
API キーの構成:リージョン用の API キー を取得し、環境変数として API キーを構成してください。
-
SDK のインストール:SDK を使用して API 呼び出しを行うには、DashScope SDK をインストールしてください。
このトピックのサンプルコードは、シンガポール リージョン向けです。
シンガポールリージョン向けのレガシドメイン https://dashscope-intl.aliyuncs.com はまもなく非推奨になります。できるだけ早く新しいドメイン https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com に移行してください。
HTTP
この API は 新しい画像から動画生成プロトコル を使用し、wan2.7 モデル のみをサポートします。
画像から動画生成タスクは通常 1~5 分かかりますので、API は非同期呼び出しを使用します。ワークフローは 2 ステップで構成されます。タスクを作成し、その後 結果をポーリング します。
ステップ 1:タスクを作成し、タスク ID を取得する
シンガポール
POST https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis
WorkspaceId は、実際の ワークスペース ID に置き換えてください。
北京
POST https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis
-
タスク作成後、返された
task_idを使用して結果をクエリします。task_idの有効期間は 24 時間です。重複するタスクを作成しないでください。代わりに、ポーリングを使用して結果を取得してください。 -
初心者向けのガイドについては、「Postman」をご参照ください。
リクエストパラメーター |
最初のフレームからの動画生成最初のフレーム画像と音声に基づいて動画を生成します。
最初と最後のフレームからの動画生成最初のフレームと最後のフレームを渡して動画を生成します。
動画の続き初期の動画クリップに基づいて後続のコンテンツを生成します。
|
|
Content-Type リクエストのコンテンツタイプです。必ず |
|
|
Authorization Model Studio API キーを使用してリクエストを認証します。例:Bearer sk-xxxx。 |
|
|
X-DashScope-Async 非同期処理を有効にします。HTTP リクエストは非同期呼び出しのみをサポートします。必ず 重要
このリクエストヘッダーが欠落している場合、「current user api does not support synchronous calls」というエラーが返されます。 |
|
リクエスト本文 |
|
|
model モデル名です。モデルとその料金の一覧については、「モデル料金」をご参照ください。 例:wan2.7-i2v-2026-04-25。 |
|
|
input プロンプトを含む基本的な入力情報です。 | |
|
parameters 動画処理パラメーター:解像度、持続時間、プロンプトリライト、ウォーターマーク。 |
応答パラメーター |
成功時の応答
エラー時の応答タスクの作成に失敗しました。「エラーコード」をご参照ください。
|
|
output タスクの出力情報です。 |
|
|
request_id トレースおよびトラブルシューティング用の一意のリクエスト識別子です。 |
|
|
code エラーコードです。失敗したリクエストでのみ返されます。「エラーコード」をご参照ください。 |
|
|
message 詳細なエラーメッセージです。失敗したリクエストでのみ返されます。「エラーコード」をご参照ください。 |
手順 2:タスク ID による結果のクエリ
シンガポール
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1/tasks/{task_id}
WorkspaceId は、実際のWorkspace IDに置き換えてください。
北京
GET https://dashscope.aliyuncs.com/api/v1/tasks/{task_id}
-
ポーリング推奨設定:動画生成には数分かかります。15 秒などの適切な間隔でポーリングメカニズムを使用してください。
-
タスク状態のトランジション:PENDING → RUNNING → SUCCEEDED または FAILED。
-
結果リンク:タスクが成功すると、24 時間有効な動画 URL が返されます。生成された動画をダウンロードし、OSS などの永続ストレージに保存してください。
-
task_idの有効期間:24 時間。この期間を過ぎると、クエリの結果としてタスクステータスがUNKNOWNになります。
リクエストパラメーター |
タスク結果のクエリ
|
ヘッダー |
|
|
Authorization Model Studio API キーを使用してリクエストを認証します。例:Bearer sk-xxxx。 |
|
パスパラメーター |
|
|
task_id タスクの ID です。 |
応答パラメーター |
タスク成功時動画 URL の有効期間は 24 時間のみで、その後自動的に消去されます。生成された動画は速やかに保存してください。 タスク失敗時タスクが失敗した場合、
タスククエリ期限切れ時
|
|
output タスク出力情報。 |
|
|
usage 使用量統計情報。成功したタスクに対してのみ計算されます。 |
|
|
request_id トレースおよびトラブルシューティング用の一意なリクエスト識別子。 |
DashScope SDK
SDK のパラメーター名は HTTP API のものと一致します。パラメーター構造は言語の規則に基づいてカプセル化されています。
画像から動画生成タスクは通常 1~5 分かかります。SDK は HTTP 非同期呼び出しプロセスをカプセル化し、同期および非同期の両方の呼び出しをサポートします。
実際の処理時間はタスクキューおよびサービス負荷によって異なります。結果を待機してください。
Python SDK
以下のコードを実行する前に、DashScope Python SDK のバージョンが 1.25.16 以上 であることを確認してください。
バージョンが古すぎると、「url error, please check url!」などのエラーが発生する可能性があります。詳細については、「SDK のインストール」を参照して更新してください。
dashscope.base_http_api_url をモデルのリージョンに基づいて設定します。
シンガポール
dashscope.base_http_api_url = 'https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1'
WorkspaceId は、実際の ワークスペース ID に置き換えてください。
北京
dashscope.base_http_api_url = 'https://dashscope.aliyuncs.com/api/v1'
同期呼び出し
リクエスト例
# -*- coding: utf-8 -*-
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope
import os
# これはシンガポールリージョンの URL です。URL はリージョンによって異なります。詳細については、https://www.alibabacloud.com/help/ja/model-studio/image-to-video-general-api-reference を参照してください。
dashscope.base_http_api_url = 'https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1'
# 環境変数が設定されていない場合は、次の行を api_key="sk-xxx" に置き換えてください。
# API キーはリージョンによって異なります。詳細については、https://www.alibabacloud.com/help/ja/model-studio/get-api-key を参照してください。
api_key = os.getenv("DASHSCOPE_API_KEY")
media = [
{
"type": "first_frame",
"url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png"
},
{
"type": "driving_audio",
"url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3"
}
]
def sample_sync_call():
print('----同期呼び出し中です。しばらくお待ちください。----')
rsp = VideoSynthesis.call(
api_key=api_key,
model="wan2.7-i2v-2026-04-25",
media=media,
resolution="720P",
duration=10,
watermark=True,
prompt="An urban fantasy art scene featuring a dynamic graffiti character. A boy made of spray paint comes to life on a concrete wall. He sings an English rap song at high speed while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night, lit by a single street lamp. This creates a cinematic atmosphere with high energy and amazing detail. The video's audio consists entirely of the rap, with no other dialogue or noise.",
)
if rsp.status_code == HTTPStatus.OK:
print(rsp.output.video_url)
else:
print('Failed, status_code: %s, code: %s, message: %s' %
(rsp.status_code, rsp.code, rsp.message))
if __name__ == '__main__':
sample_sync_call()
レスポンス例
video_url の有効期間は 24 時間です。動画を速やかにダウンロードしてください。
{
"status_code": 200,
"request_id": "ac5faf37-ddfa-9720-a0c5-xxxxxx",
"code": null,
"message": "",
"output": {
"task_id": "b97c6d86-ad73-4bb7-80ff-xxxxxx",
"task_status": "SUCCEEDED",
"video_url": "https://dashscope-a717.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx",
"submit_time": "2026-04-13 10:45:47.597",
"scheduled_time": "2026-04-13 10:45:56.342",
"end_time": "2026-04-13 10:47:26.273",
"orig_prompt": "An urban fantasy art scene. A dynamic graffiti character. A boy made of spray paint comes to life on a concrete wall. He performs a fast-paced English rap song while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. The light comes from a single street lamp, creating a cinematic atmosphere with high energy and incredible detail. The audio consists solely of the rap, with no other dialogue or background noise."
},
"usage": {
"video_count": 1,
"video_duration": 0,
"video_ratio": "",
"duration": 10,
"input_video_duration": 0,
"output_video_duration": 10,
"SR": 720
}
}
非同期呼び出し
リクエスト例
# -*- coding: utf-8 -*-
from http import HTTPStatus
from dashscope import VideoSynthesis
import dashscope
import os
# これはシンガポールリージョンの URL です。URL はリージョンによって異なります。ご利用のリージョンの URL を取得するには、https://www.alibabacloud.com/help/ja/model-studio/image-to-video-general-api-reference を参照してください。
dashscope.base_http_api_url = 'https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1'
# 環境変数が設定されていない場合は、次の行を api_key="sk-xxx" に置き換えてください。
# API キーはリージョンによって異なります。API キーの取得方法については、https://www.alibabacloud.com/help/ja/model-studio/get-api-key を参照してください。
api_key = os.getenv("DASHSCOPE_API_KEY")
media = [
{
"type": "first_frame",
"url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png"
},
{
"type": "driving_audio",
"url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3"
}
]
def sample_async_call():
# 非同期タスクを送信します。タスク情報が即座に返されます。
rsp = VideoSynthesis.async_call(
api_key=api_key,
model="wan2.7-i2v-2026-04-25",
media=media,
resolution="720P",
duration=10,
watermark=True,
prompt="A scene of urban fantasy art. A dynamic graffiti art character. A boy made of spray paint comes to life on a concrete wall. He sings an English rap song at high speed while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. The light comes from a single street lamp, creating a cinematic atmosphere full of high energy and amazing detail. The audio of the video consists entirely of the rap, with no other dialogue or noise.",
)
print(rsp)
if rsp.status_code == HTTPStatus.OK:
print("task_id: %s" % rsp.output.task_id)
else:
print('Failed, status_code: %s, code: %s, message: %s' %
(rsp.status_code, rsp.code, rsp.message))
# タスクステータスをクエリします。
status = VideoSynthesis.fetch(task=rsp, api_key=api_key)
if status.status_code == HTTPStatus.OK:
print(status.output.task_status)
else:
print('Failed, status_code: %s, code: %s, message: %s' %
(status.status_code, status.code, status.message))
# タスクの完了を待ちます。
rsp = VideoSynthesis.wait(task=rsp, api_key=api_key)
print(rsp)
if rsp.status_code == HTTPStatus.OK:
print(rsp.output.video_url)
else:
print('Failed, status_code: %s, code: %s, message: %s' %
(rsp.status_code, rsp.code, rsp.message))
if __name__ == '__main__':
sample_async_call()
レスポンス例
-
タスク作成時のレスポンス例
{ "status_code": 200, "request_id": "6dc3bf6c-be18-9268-9c27-xxxxxx", "code": "", "message": "", "output": { "task_id": "686391d9-7ecf-4290-a8e9-xxxxxx", "task_status": "PENDING", "video_url": "" }, "usage": null } -
タスク結果クエリ時のレスポンス例
video_url の有効期間は 24 時間です。動画を速やかにダウンロードしてください。
{ "status_code": 200, "request_id": "ac5faf37-ddfa-9720-a0c5-xxxxxx", "code": null, "message": "", "output": { "task_id": "b97c6d86-ad73-4bb7-80ff-xxxxxx", "task_status": "SUCCEEDED", "video_url": "https://dashscope-a717.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx", "submit_time": "2026-04-13 10:45:47.597", "scheduled_time": "2026-04-13 10:45:56.342", "end_time": "2026-04-13 10:47:26.273", "orig_prompt": "An urban fantasy art scene. A dynamic graffiti character. A boy made of spray paint comes to life on a concrete wall. He performs a fast-paced English rap song while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. The light comes from a single street lamp, creating a cinematic atmosphere with high energy and incredible detail. The audio consists solely of the rap, with no other dialogue or background noise." }, "usage": { "video_count": 1, "video_duration": 0, "video_ratio": "", "duration": 10, "input_video_duration": 0, "output_video_duration": 10, "SR": 720 } }
Java SDK
以下のコードを実行する前に、DashScope Java SDK のバージョンが 2.22.14 以上 であることを確認してください。
バージョンが古すぎると、「url error, please check url!」などのエラーが発生する可能性があります。詳細については、「SDK のインストール」を参照して更新してください。
Constants.baseHttpApiUrl をモデルのリージョンに基づいて設定します。
シンガポール
Constants.baseHttpApiUrl = "https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1"
WorkspaceId は、実際の ワークスペース ID に置き換えてください。
北京
Constants.baseHttpApiUrl = "https://dashscope.aliyuncs.com/api/v1"
同期呼び出し
同期呼び出しは、動画生成が完了して結果が返されるまでブロッキングされます。
リクエスト例
// Copyright (c) Alibaba, Inc. and its affiliates.
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesis;
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesisParam;
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesisResult;
import com.alibaba.dashscope.exception.ApiException;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.alibaba.dashscope.utils.Constants;
import com.alibaba.dashscope.utils.JsonUtils;
import java.util.ArrayList;
import java.util.List;
public class Image2Video {
static {
// これはシンガポールリージョンの URL です。北京リージョンのモデルを使用する場合は、URL を https://dashscope.aliyuncs.com/api/v1 に置き換えてください。
Constants.baseHttpApiUrl = "https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1";
}
// 環境変数が設定されていない場合は、次の行を apiKey="sk-xxx" に置き換えてください。
// API キーはリージョン固有です。API キーを取得するには、https://www.alibabacloud.com/help/ja/model-studio/get-api-key をご覧ください。
static String apiKey = System.getenv("DASHSCOPE_API_KEY");
public static void syncCall() {
VideoSynthesis videoSynthesis = new VideoSynthesis();
final String prompt = "A scene of urban fantasy art. A dynamic graffiti art character. A boy made of spray paint comes to life on a concrete wall. He sings an English rap song at high speed while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. The light comes from a single street lamp, creating a cinematic atmosphere full of high energy and amazing detail. The audio of the video consists entirely of his rap, with no other dialogue or noise.";
List<VideoSynthesisParam.Media> media = new ArrayList<VideoSynthesisParam.Media>(){{
add(VideoSynthesisParam.Media.builder()
.url("https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png")
.type("first_frame")
.build());
add(VideoSynthesisParam.Media.builder()
.url("https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3")
.type("driving_audio")
.build());
}};
VideoSynthesisParam param =
VideoSynthesisParam.builder()
.apiKey(apiKey)
.model("wan2.7-i2v-2026-04-25")
.prompt(prompt)
.media(media)
.watermark(true)
.duration(10)
.resolution("720P")
.build();
VideoSynthesisResult result = null;
try {
System.out.println("---同期呼び出し中です。しばらくお待ちください...----");
result = videoSynthesis.call(param);
} catch (ApiException | NoApiKeyException e){
throw new RuntimeException(e.getMessage());
} catch (InputRequiredException e) {
throw new RuntimeException(e);
}
System.out.println(JsonUtils.toJson(result));
}
public static void main(String[] args) {
syncCall();
}
}
レスポンス例
video_url の有効期間は 24 時間です。動画を速やかにダウンロードしてください。
{
"request_id": "78178b55-8399-9823-8173-xxxxxx",
"output": {
"task_id": "be457e1b-8a79-47ed-aeff-xxxxxx",
"task_status": "SUCCEEDED",
"video_url": "https://dashscope-a717.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx",
"orig_prompt": "An urban fantasy art scene featuring a dynamic graffiti art character. A boy made of spray paint comes to life on a concrete wall. He rapidly sings an English rap song while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. A single street lamp provides the light, creating a high-energy cinematic atmosphere with incredible detail. The audio consists entirely of his rap, with no other dialogue or background noise.",
"submit_time": "2026-04-13 10:57:36.795",
"scheduled_time": "2026-04-13 10:57:46.280",
"end_time": "2026-04-13 10:59:16.338"
},
"usage": {
"video_count": 1,
"duration": 10.0,
"input_video_duration": 0.0,
"output_video_duration": 10.0,
"SR": "720"
},
"status_code": 200,
"code": "",
"message": ""
}
非同期呼び出し
リクエスト例
// Copyright (c) Alibaba, Inc. and its affiliates.
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesis;
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesisParam;
import com.alibaba.dashscope.aigc.videosynthesis.VideoSynthesisResult;
import com.alibaba.dashscope.exception.ApiException;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.alibaba.dashscope.utils.Constants;
import com.alibaba.dashscope.utils.JsonUtils;
import java.util.ArrayList;
import java.util.List;
public class Image2Video {
static {
// これはシンガポールリージョンの URL です。北京リージョンのモデルを使用する場合は、URL を https://dashscope.aliyuncs.com/api/v1 に置き換えてください。
Constants.baseHttpApiUrl = "https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1";
}
// 環境変数が設定されていない場合は、次の行を apiKey = "sk-xxx" に置き換えてください。
// API キーはリージョン固有です。API キーの取得方法については、https://www.alibabacloud.com/help/ja/model-studio/get-api-key を参照してください。
static String apiKey = System.getenv("DASHSCOPE_API_KEY");
public static void asyncCall() {
VideoSynthesis videoSynthesis = new VideoSynthesis();
final String prompt = "A scene of urban fantasy art. A dynamic graffiti art character. A boy made of spray paint comes to life on a concrete wall. He sings an English rap song at high speed while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. The light comes from a single street lamp, creating a cinematic atmosphere full of high energy and amazing detail. The audio of the video consists entirely of his rap, with no other dialogue or noise.";
List<VideoSynthesisParam.Media> media = new ArrayList<VideoSynthesisParam.Media>(){{
add(VideoSynthesisParam.Media.builder()
.url("https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png")
.type("first_frame")
.build());
add(VideoSynthesisParam.Media.builder()
.url("https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3")
.type("driving_audio")
.build());
}};
VideoSynthesisParam param =
VideoSynthesisParam.builder()
.apiKey(apiKey)
.model("wan2.7-i2v-2026-04-25")
.prompt(prompt)
.media(media)
.watermark(true)
.duration(10)
.resolution("720P")
.build();
VideoSynthesisResult result = null;
try {
System.out.println("--- 非同期呼び出しを開始しています。しばらくお待ちください... ---");
result = videoSynthesis.asyncCall(param);
} catch (ApiException | NoApiKeyException e){
throw new RuntimeException(e.getMessage());
} catch (InputRequiredException e) {
throw new RuntimeException(e);
}
System.out.println(JsonUtils.toJson(result));
String taskId = result.getOutput().getTaskId();
System.out.println("taskId=" + taskId);
try {
result = videoSynthesis.wait(taskId, apiKey);
} catch (ApiException | NoApiKeyException e){
throw new RuntimeException(e.getMessage());
}
System.out.println(JsonUtils.toJson(result));
System.out.println(JsonUtils.toJson(result.getOutput()));
}
public static void main(String[] args) {
asyncCall();
}
}
レスポンス例
-
タスク作成時のレスポンス例
{ "request_id": "5dbf9dc5-4f4c-9605-85ea-xxxxxxxx", "output": { "task_id": "7277e20e-aa01-4709-xxxxxxxx", "task_status": "PENDING" } } -
タスク結果クエリ時のレスポンス例
video_url の有効期間は 24 時間です。動画を速やかにダウンロードしてください。
{ "request_id": "78178b55-8399-9823-8173-xxxxxx", "output": { "task_id": "be457e1b-8a79-47ed-aeff-xxxxxx", "task_status": "SUCCEEDED", "video_url": "https://dashscope-a717.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx", "orig_prompt": "An urban fantasy art scene featuring a dynamic graffiti art character. A boy made of spray paint comes to life on a concrete wall. He rapidly sings an English rap song while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. A single street lamp provides the light, creating a high-energy cinematic atmosphere with incredible detail. The audio consists entirely of his rap, with no other dialogue or background noise.", "submit_time": "2026-04-13 10:57:36.795", "scheduled_time": "2026-04-13 10:57:46.280", "end_time": "2026-04-13 10:59:16.338" }, "usage": { "video_count": 1, "duration": 10.0, "input_video_duration": 0.0, "output_video_duration": 10.0, "SR": "720" }, "status_code": 200, "code": "", "message": "" }
エラーコード
モデル呼び出しが失敗してエラーメッセージが返された場合は、「エラーコード」を参照して問題を解決してください。
よくある質問
Q:特定の縦横比(例:3:4)で動画を生成するにはどうすればよいですか?
A:出力の縦横比は 入力素材(最初のフレーム画像または最初の動画クリップ) によって決定されますが、正確に一致することは保証されません。わずかなドリフトが発生する可能性があります。
次の例は、最初のフレーム画像を入力として使用する場合のロジックを説明しています。
-
なぜドリフトが発生するのですか?
-
実行ロジック:システムは入力画像の縦横比をベースラインとして使用し、
resolution階層のターゲット総ピクセル数と組み合わせます。ビデオエンコーディングでは 幅と高さが 16 の倍数である必要がある ため、システムは最も近い有効な解像度に調整します。 -
計算例:750 x 1000 ピクセルの入力画像(3:4 比 = 0.75)で「720P」解像度(約 920,000 総ピクセル)を使用すると、816 x 1104 ピクセルの出力(比 ~0.739、約 900,000 総ピクセル)が生成されます。
-
-
推奨事項:
-
入力制御:ターゲット縦横比に一致する最初のフレームまたは動画クリップを使用します。
-
後処理:厳密な縦横比要件がある場合は、生成後に動画をトリミングするか、黒枠を追加します。
-
Q:動画ストレージアクセス用のドメイン名ホワイトリストを取得するにはどうすればよいですか?
A:モデルによって生成された動画は OSS に保存されます。API は一時的な公開 URL を返します。このダウンロード URL のファイアウォールホワイトリストを構成するには、次の点にご注意ください。基盤となるストレージは動的に変更される可能性があります。このトピックでは、古い情報によるアクセス障害を防ぐため、固定の OSS ドメイン名ホワイトリストを提供していません。セキュリティ制御要件がある場合は、アカウントマネージャーに連絡して最新の OSS ドメイン名リストを取得してください。