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

Seedance 2 Omni Reference VIP API: Ảnh sang video AI

chuyển ảnh thành video với Seedance 2 Omni Reference VIP qua MuAPI REST API. Trả theo lượt tạo — không cần gói đăng ký.

Điều khiển mô hình tương tác

ByteDance SD 2 VIP(Pro)。, 9 、3 3 。 @image1…@image9、@video1…@video3 @audio1…@audio3 。 @omni-character:<char_id> 。

Seedance 2 Omni Reference VIP Tham khảo API

Điểm cuối

POST https://api.muapi.ai/api/v1/seedance-2-vip-omni-reference

Gửi công việc có khóa API Muapi của bạn trong tiêu đề x-api-key, sau đó thăm dò ý kiến https://api.muapi.ai/api/v1/predictions/{request_id}/result cho đến khi trạng thái được hoàn thành.

Parameters

NameLoạiBắt buộcMô tả
promptstringCóVideo description. Use @image1…@image9 to , @video1…@video3 for videos, and @audio1…@audio3 for audio. Use @character:<request_id> for a Seedance 2 character sheet or @omni-character:<char_id> for a trained omni-character. Multiple characters are supported.
resolutionstringKhôngOutput resolution. Price scales with resolution: 720p is cheapest, 4K is most expensive.Tùy chọn: 720p, 1080p, 4kMặc định: "720p"
images_listarrayKhông 9 URL(JPEG/PNG/WebP)。 N @imageN。
video_filesarrayKhông 3 URL(MP4, 15 )。 N @videoN。
audio_filesarrayKhông 3 files (MP3/WAV, total max 15s). Each Nth audio corresponds to @audioN in the prompt.
aspect_ratiostringKhôngTỷ lệ khung hình mong muốn.Tùy chọn: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16Mặc định: "16:9"
durationintKhông()。Mặc định: 5
high_bitratebooleanKhông,。Mặc định: false

cURL example

REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/seedance-2-vip-omni-reference \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"<prompt>"}' | 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}/seedance-2-vip-omni-reference", headers=headers, json={"prompt":"<prompt>"})
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)

Tài liệu đầy đủ và tích hợp đại lý/MCP: llms.txt. Get an API key at muapi.ai/access-keys.