Video · Alibaba

Wan API

テキスト→動画、画像→動画、動画編集、絵コンテをカバーする動画・画像スイート向けにWan APIにアクセスできます。

稼働中 · 18 variants · から $0.050
runapi.ai
curl -X POST https://runapi.ai/api/v1/wan/image_to_video \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-2.7-text-to-video",
  "image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
  "prompt": "自然な屋内ライティングと手持ちカメラの雰囲気で本棚に飛び乗る猫の5秒間の動画を生成してください。"
}'
import { WanClient } from "@runapi.ai/wan";

const client = new WanClient();
const result = await client.imageToVideo.run({
    model: "wan-2.7-text-to-video",
    image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
    prompt: "自然な屋内ライティングと手持ちカメラの雰囲気で本棚に飛び乗る猫の5秒間の動画を生成してください。",
});
<?php

require __DIR__ . "/vendor/autoload.php";

use RunApi\Wan\WanClient;

$client = new WanClient();
$result = $client->imageToVideo->run([
        'model' => 'wan-2.7-text-to-video',
        'image_url' => 'https://cdn.runapi.ai/public/samples/image.jpg',
        'prompt' => '自然な屋内ライティングと手持ちカメラの雰囲気で本棚に飛び乗る猫の5秒間の動画を生成してください。',
]);
require "runapi/wan"

client = RunApi::Wan::Client.new
result = client.image_to_video.run(
    model: "wan-2.7-text-to-video",
    image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
    prompt: "自然な屋内ライティングと手持ちカメラの雰囲気で本棚に飛び乗る猫の5秒間の動画を生成してください。"
)
npx skills add runapi-ai/wan -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

# Codex
codex plugin install runapi-mcp@agents

# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
@runapi.ai/wan v1
概要

WanはAlibabaの包括的な動画・画像生成スイートで、テキスト→動画、画像→動画、動画編集、音声→動画、絵コンテ生成をカバーしています。品質、速度、特殊なクリエイティブタスクのために最適化された複数のモデルバージョンにわたっています。

  • 品質とレイテンシ目標に合わせたモデルバリアント
  • 統合 API key
  • Model skill に docs、schema、セットアップメモを同梱
  • 失敗した生成は課金されません
バリアント

バリアント

Variant Billing From
wan-2.2-a14b-image-to-video-turbo call $0.400 見る →
wan-2.2-a14b-speech-to-video-turbo second $0.240 見る →
wan-2.2-a14b-text-to-video-turbo call $0.400 見る →
wan-2.2-animate-move second $0.130 見る →
wan-2.2-animate-replace second $0.130 見る →
wan-2.5-image-to-video second $0.120 見る →
wan-2.5-text-to-video second $0.120 見る →
wan-2.6-edit-video second $0.140 見る →
wan-2.6-flash-edit-video call $0.300 見る →
wan-2.6-flash-image-to-video call $0.300 見る →
wan-2.6-image-to-video second $0.140 見る →
wan-2.6-text-to-video second $0.140 見る →
wan-2.7-edit-video second $0.160 見る →
wan-2.7-image call $0.050 見る →
wan-2.7-image-pro call $0.120 見る →
wan-2.7-image-to-video second $0.160 見る →
wan-2.7-r2v second $0.160 見る →
wan-2.7-text-to-video second $0.160 見る →
MODELS

アプリ開発用に Wan skill をインストール

モデル docs、schema、料金メモ、セットアップ手順をコード作業環境に読み込みます。

# Install the model skill for app development workflows
npx skills add runapi-ai/wan -g
Installs docs, schemas, pricing context, and setup notes into your developer workspace.
Or use this setup request in your coding tool:
Install the Wan skill for this app:

1. Add runapi-ai/wan with the skills installer.
2. Load SKILL.md in this workspace.
3. Use its docs, schemas, pricing notes, and setup steps when adding model features.
4. Confirm the install path when done.
仕組み

この model skill で構築する方法

01

モデルを選ぶ

出力タイプ、品質基準、レイテンシ目標に合うモデルとバリアントを選びます。

02

一度だけ認証

対応するすべてのモデルに RunAPI key を使います。

03

skill をインストール

機能実装の前に model skill をコード作業環境へ追加します。

04

出力を受け取る

task ID でポーリングするか、生成完了時の callback を処理します。

背景

Wan の位置づけ

WanはAlibabaのフルスペクトラムの動画・画像モデルスイートで、利用可能なオープンウェイトの動画ファミリーの中で最も完全なものの一つです。RunAPI経由では、すべてのWanバージョンが1つのキーと統合された課金を共有します。

Provider
Alibaba
Modality
Video
RUNAPI を選ぶ理由

RunAPI 経由で Wan を使う理由

1つの API key

モデルやプロバイダーをまたいで同じ認証情報を使えます。

Skill-ready

model skill に schema、セットアップメモ、料金コンテキスト、モデル ID が含まれます。

予測しやすい請求

呼び出し前に従量料金を確認できます。

FAQ

よくある質問

このモデルはどう呼び出しますか?

model skill をインストールし、RunAPI key とセットアップメモに従ってください。

失敗した生成は課金されますか?

失敗した生成は課金されません

アプリケーションから呼び出せますか?

はい。コード作業環境に model skill をインストールし、モデル機能を追加するときに利用してください。

今すぐ開始

Wan で構築を開始。