Kling 3.0 Pro Image to Video API: AI इमेज टू वीडियो जेनरेशन

Muapi REST API के माध्यम से Kling 3.0 Pro Image to Video का उपयोग करके तस्वीरों को वीडियो में एनिमेट करें। प्रति-उपयोग भुगतान — कोई सदस्यता आवश्यक नहीं।

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

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

Kling 3.0 Pro Image to Video API संदर्भ

Endpoint

POST https://api.muapi.ai/api/v1/kling-v3.0-pro-image-to-video

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

Parameters

Nameप्रकारRequiredविवरण
promptstringYesvideoprompt.
image_urlstringYesवीडियोएंट्रीइमेज यूआरएल.
last_imagestringNoEntryimageURL.
durationintNoवीडियो अवधि() .डिफ़ॉल्ट: 5
generate_audiobooleanNoवीडियोऑडियोडिफ़ॉल्ट: true

cURL example

REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/kling-v3.0-pro-image-to-video \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"<prompt>","image_url":"https://example.com/your-image_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}/kling-v3.0-pro-image-to-video", headers=headers, json={"prompt":"<prompt>","image_url":"https://example.com/your-image_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.