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

HappyHorse 1.1 ตัดต่อวิดีโอ API: AI Video Editing

Edit and transform videos with HappyHorse 1.1 ตัดต่อวิดีโอ via the Muapi REST API. Pay per generation — no subscription needed.

การควบคุมโมเดลแบบโต้ตอบ

Happy Horse 1.1 Video Edit แก้ไขวิดีโอที่มีอยู่ด้วยคำสั่งภาษาธรรมชาติ พร้อมเลือกความละเอียดเอาต์พุตได้ที่ 720p/1080p

HappyHorse 1.1 ตัดต่อวิดีโอ ข้อมูลอ้างอิง API

จุดสิ้นสุด

POST https://api.muapi.ai/api/v1/happy-horse-1.1-video-edit

ส่งงานด้วยคีย์ Muapi API ของคุณในส่วนหัว x-api-key จากนั้นสำรวจความคิดเห็น https://api.muapi.ai/api/v1/predictions/{request_id}/result จนกว่าสถานะจะเสร็จสมบูรณ์

พารามิเตอร์

ชื่อประเภทจำเป็นคำอธิบาย
promptstringใช่วิดีโอ
resolutionstringไม่Output resolution. Price scales with resolution: 720p is cheaper, 1080p is more expensive.ตัวเลือก: 720p, 1080pค่าเริ่มต้น: "720p"
video_urlstringใช่URL วิดีโอ MP4/MOV (H.264) ระยะเวลา 3-60, <=100 MB, <=2160px, >=320px, >8 fps
images_listarrayไม่Optional 0-5 reference image URLs to guide the edit.
audio_settingstringไม่เสียง: 'อัตโนมัติ', 'ต้นกำเนิด' เสียงตัวเลือก: auto, originค่าเริ่มต้น: "auto"
seedintไม่เมล็ดพันธุ์ (0-2147483647) .ค่าเริ่มต้น: 0

ตัวอย่าง CURL

REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/happy-horse-1.1-video-edit \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"<prompt>","video_url":"https://example.com/your-video_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}/happy-horse-1.1-video-edit", headers=headers, json={"prompt":"<prompt>","video_url":"https://example.com/your-video_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.