🔥 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: AI Image-to-Video

Animate images to video with Seedance 2 Omni Reference VIP via the Muapi REST API. Pay per generation — no subscription needed.

Interaktywne sterowanie modelem

Model seedance-2-vip-omni-reference jest dostępny w MuAPI z elastycznym rozliczaniem według zużycia i wysoką współbieżnością.

Seedance 2 Omni Reference VIP Dokumentacja API

Punkt końcowy

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

Prześlij zadanie, używając klucza Muapi API w nagłówku x-api-key, a następnie odpytuj https://api.muapi.ai/api/v1/predictions/{request_id}/result do czasu zakończenia stanu.

Parametry

ImięWpiszWymaganeOpis
promptstringTakVideo description. Use @image1…@image9 to reference images, @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.
resolutionstringNieOutput resolution. Price scales with resolution: 720p is cheapest, 4K is most expensive.Opcje: 720p, 1080p, 4kDomyślne: "720p"
images_listarrayNie9 Adres URL obrazu (JPEG/PNG/WebP) . N imageprompt @imageN.
video_filesarrayNie3 adres URL wideo (MP4, 15). N wideopodpowiedź @videoN.
audio_filesarrayNieUp to 3 reference audio files (MP3/WAV, total max 15s). Each Nth audio corresponds to @audioN in the prompt.
aspect_ratiostringNiewyjściowy współczynnik proporcji wideo.Opcje: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16Domyślne: "16:9"
durationintNieczas trwania filmu () .Domyślne: 5
high_bitratebooleanNie, .Domyślne: false

przykład cURL

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"

Przykład Pythona

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)

Pełna dokumentacja i integracja agenta/MCP: llms.txt. Zdobądź klucz API pod adresem muapi.ai/access-keys.