🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

Wan 2.2 Speech to Video API: AI लिप-सिंक

Muapi REST API के माध्यम से Wan 2.2 Speech to Video का उपयोग करके ऑडियो पर होंठ सिंक करें। प्रति-उपयोग भुगतान — कोई सदस्यता आवश्यक नहीं।

इंटरैक्टिव मॉडल नियंत्रण

मॉडल wan2.2-speech-to-video, लचीली पे-एज-यू-गो बिलिंग और उच्च समवर्तीता के साथ MuAPI पर उपलब्ध है।

Wan 2.2 Speech to Video API संदर्भ

Endpoint

POST https://api.muapi.ai/api/v1/wan2.2-speech-to-video

x-api-key हेडर में अपनी Muapi API कुंजी के साथ एक कार्य सबमिट करें, फिर मतदान करें https://api.muapi.ai/api/v1/predictions/{request_id}/result until status is completed.

Parameters

Nameप्रकारRequiredविवरण
promptstringNovideoprompt
image_urlstringYesइनपुट छवि यूआरएल.
audio_urlstringYesऑडियो यूआरएल.
resolutionstringNoवीडियो संकल्प.विकल्प: 480p, 720pडिफ़ॉल्ट: "480p"

cURL example

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"

Python example

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)

Full docs and agent/MCP integration: llms.txt. Get an API key at muapi.ai/access-keys.