Wan 2.2 Speech to Video API: AIリップシンク
Muapi REST API経由でWan 2.2 Speech to Videoを使用して音声とリップシンク。従量課金制 — サブスクリプション不要。
インタラクティブなモデルコントロール
MuAPIの低遅延APIを通じてwan2.2-speech-to-videoモデルを統合。従量課金制で柔軟かつスケーラブルに利用可能です。
Muapi REST API経由でWan 2.2 Speech to Videoを使用して音声とリップシンク。従量課金制 — サブスクリプション不要。
MuAPIの低遅延APIを通じてwan2.2-speech-to-videoモデルを統合。従量課金制で柔軟かつスケーラブルに利用可能です。
POST https://api.muapi.ai/api/v1/wan2.2-speech-to-videox-api-keyヘッダーにMuapi APIキーを設定してタスクを送信し、 https://api.muapi.ai/api/v1/predictions/{request_id}/result ステータスがcompletedになるまでポーリングします。
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| prompt | string | いいえ | 生成する動画の内容を記述するプロンプト。 |
| image_url | string | はい | 処理の開始点となる入力元画像のURLまたはBase64データ。 |
| audio_url | string | はい | 生成プロセスを適切に制御するためのパラメータ設定(The URL for uploading audio files.)。 |
| resolution | string | いいえ | 出力メディアの解像度(720p、1080p、4Kなど)。選択肢: 480p, 720pデフォルト: "480p" |
REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/wan2.2-speech-to-video \
-H "x-api-key: $MUAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url":"https://example.com/your-image_url","audio_url":"https://example.com/your-audio_url"}' | jq -r .request_id)
curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"import os, time, requests
API = "https://api.muapi.ai/api/v1"
headers = {"x-api-key": os.environ["MUAPI_API_KEY"]}
r = requests.post(f"{API}/wan2.2-speech-to-video", headers=headers, json={"image_url":"https://example.com/your-image_url","audio_url":"https://example.com/your-audio_url"})
request_id = r.json()["request_id"]
while True:
res = requests.get(f"{API}/predictions/{request_id}/result", headers=headers).json()
if res["status"] == "completed":
print(res["outputs"]); break
if res["status"] == "failed":
raise RuntimeError(res.get("error"))
time.sleep(3)完全なドキュメントとエージェント/MCP統合: llms.txt. APIキーの取得はこちら: muapi.ai/access-keys.