# Seedance 2 Omni Reference VIP > seedance-2-vip-omni-reference yapay zeka modelini yüksek performanslı API ve esnek fiyatlandırma ile entegre edin. ## Genel Bakış - **Uç nokta**: `POST https://api.muapi.ai/api/v1/seedance-2-vip-omni-reference` - **Model Kimliği**: `seedance-2-vip-omni-reference` - **Kategori**: Resimden Videoya - **Varyant**: Omni Reference VIP - **Aile**: sd-2 - **Maliyet**: Çağrı başına 1.5 kredi (bazı modeller, parametreleri temel alarak maliyeti dinamik olarak hesaplar) ## API Kullanımı MuApi **gönder sonra anket yap** modelini kullanır: bir iş gönderin, bir "request_id" alın ve ardından "durum" "tamamlanana" kadar tahminlerin uç noktasını yoklayın. İsteğe bağlı olarak, iş tamamlandığında bir POST geri araması almak için gönderme çağrısında `?webhook=YOUR_URL`'yi iletin (oylamayı atlayın). **Kimlik Doğrulama**: MuApi anahtarınızı "x-api-key" başlığına gönderin. https://muapi.ai/access-keys adresinden bir tane alın. ### 1. İşi Gönder ```http POST https://api.muapi.ai/api/v1/seedance-2-vip-omni-reference Content-Type: application/json x-api-key: YOUR_API_KEY ``` **Minimum (yalnızca gerekli):** ```json { "prompt": "" } ``` **Tam örnek (tüm parametreler):** ```json { "prompt": "", "resolution": "720p", "images_list": "https://d3adwkbyhxyrtq.cloudfront.net/ai-images/186/712345784292/4a8c5c70-abcc-4920-873e-b0e219986453.jpg", "video_files": [], "audio_files": [], "aspect_ratio": "16:9", "duration": 5, "high_bitrate": false } ``` **Yanıt:** ```json { "request_id": "abc123", "status": "processing" } ``` ### 2. Sonucu Kontrol Et ```http GET https://api.muapi.ai/api/v1/predictions/{request_id}/result x-api-key: YOUR_API_KEY ``` Olası "durum" değerleri: "sıraya alındı", "beklemede", "işleniyor", "tamamlandı", "başarısız", "iptal edildi". Terminale kadar her 2-5 saniyede bir yoklama yapın. "Tamamlandığında" sonuç URL'leri "çıkışlar" dizisinde olur. **'Tamamlandığında' örnek yanıt:** ```json { "id": "abc123", "status": "completed", "outputs": [ "https://cdn.muapi.ai/.../output.png" ], "urls": { "get": "https://api.muapi.ai/api/v1/predictions/abc123/result" }, "created_at": "2026-05-08T12:34:56Z", "has_nsfw_contents": [] } ``` ### kıvrılma ```bash 1. İşi Gönder 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":""}' | jq -r .request_id) 2. Tamamlanana kadar yokla while :; do RESP=$(curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY") STATUS=$(echo "$RESP" | jq -r .status) [ "$STATUS" = "completed" ] && echo "$RESP" | jq .outputs && break [ "$STATUS" = "failed" ] && echo "$RESP" && exit 1 sleep 3 done ``` ### Python ```python 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":""}) 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) ``` ## Giriş Şeması API aşağıdaki giriş parametrelerini kabul eder: - **`prompt`** (`string`, _required_): Video description. Use @image1…@image9 to , @video1…@video3 for videos, and @audio1…@audio3 for audio. Use @character: for a Seedance 2 character sheet or @omni-character: for a trained omni-character. Multiple characters are supported. - **`resolution`** (`string`, _optional_): Output resolution. Price scales with resolution: 720p is cheapest, 4K is most expensive. - Varsayılan: `"720p"` - Seçenekler: `"720p"`, `"1080p"`, `"4k"` - **`images_list`** (`array`, _optional_): 9 URL(JPEG/PNG/WebP)。 N @imageN。 - **`video_files`** (`array`, _optional_): 3 URL(MP4, 15 )。 N @videoN。 - **`audio_files`** (`array`, _optional_): 3 files (MP3/WAV, total max 15s). Each Nth audio corresponds to @audioN in the prompt. - **`aspect_ratio`** (`string`, _optional_): İstenen en boy oranı. - Varsayılan: `"16:9"` - Seçenekler: `"21:9"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"` - **`duration`** (`int`, _optional_): ()。 - Varsayılan: `5` - **`high_bitrate`** (`boolean`, _optional_): ,。 - Varsayılan: `false` ## Çıkış Şeması Yoklama uç noktası aşağıdaki alanları döndürür: - **`id`** (`string`): İstek kimliği. - **`status`** (`string`): "Sıraya alındı", "beklemede", "işleniyor", "tamamlandı", "başarısız oldu", "iptal edildi" seçeneklerinden biri. - **`outputs`** (`array`): Oluşturulan görsellerin/videoların/seslerin URL'leri. 'Durum' 'tamamlanana' kadar boş. - **`urls.get`** (`string`): Bu tahmini yeniden getirmek için kendi kendine bağlantı. - **`error`** (`string` | `null`): 'Durum' 'başarısız' ise hata mesajı. - **`created_at`** (`string`): İsteğin oluşturulduğu zamanı gösteren ISO-8601 zaman damgası. - **`has_nsfw_contents`** (`array of boolean`): Çıkış başına NSFW algılama bayrakları. ## Web kancaları (isteğe bağlı) Gönderim URL'sine `?webhook=https://sunucunuz/yol' ifadesini ekleyin. İş bir terminal durumuna ulaştığında MuApi, URL'nize yoklama yanıtıyla aynı şekli POST yapacaktır; yoklama gerekmez. ## Temsilci Entegrasyonu MuApi bir MCP sunucusu ve CLI gönderir, böylece aracılar (Claude Code, Cursor, özel) HTTP kodu yazmadan bu uç noktayı arayabilirler: ```bash # CLI Yükle npm install -g muapi-cli # Bir Kez Kimlik Doğrula muapi auth login # Temsilcinize tüm MuApi modellerini MCP araçları olarak gösterin muapi mcp serve ``` MCP sunucusu, `seedance-2-vip-omni-reference` dahil olmak üzere her model için gönderme + anketi sarmalayan araçları kullanıma sunar. Kategoriye özgü kısayollar için 'muapi --help'e bakın ('muapi görüntüsü oluştur', 'görüntüden muapi video' vb.). ## İlgili Modeller - [Metinden Videoya](https://muapi.ai/tr/playground/seedance-2-text-to-video) - [Text to Video Fast](https://muapi.ai/tr/playground/seedance-2-text-to-video-fast) - [Resimden Videoya](https://muapi.ai/tr/playground/seedance-2-image-to-video) - [Image to Video Fast](https://muapi.ai/tr/playground/seedance-2-image-to-video-fast) - [First & Last Frame](https://muapi.ai/tr/playground/seedance-2-first-last-frame) - [First & Last Frame Fast](https://muapi.ai/tr/playground/seedance-2-first-last-frame-fast) - [Omni Reference](https://muapi.ai/tr/playground/seedance-2-omni-reference-no-video) - [Text to Video VIP](https://muapi.ai/tr/playground/seedance-2-vip-text-to-video) - [Text to Video VIP Fast](https://muapi.ai/tr/playground/seedance-2-vip-text-to-video-fast) - [Image to Video VIP](https://muapi.ai/tr/playground/seedance-2-vip-image-to-video) - [Image to Video VIP Fast](https://muapi.ai/tr/playground/seedance-2-vip-image-to-video-fast) - [First & Last Frame VIP](https://muapi.ai/tr/playground/seedance-2-vip-first-last-frame) - [First & Last Frame VIP Fast](https://muapi.ai/tr/playground/seedance-2-vip-first-last-frame-fast) - [Omni Reference VIP Fast](https://muapi.ai/tr/playground/seedance-2-vip-omni-reference-fast) - [Text to Video VIP 1080p](https://muapi.ai/tr/playground/seedance-2-vip-text-to-video-1080p) - [Text to Video VIP 1080p Fast](https://muapi.ai/tr/playground/seedance-2-vip-text-to-video-fast-1080p) - [Image to Video VIP 1080p](https://muapi.ai/tr/playground/seedance-2-vip-image-to-video-1080p) - [Image to Video VIP 1080p Fast](https://muapi.ai/tr/playground/seedance-2-vip-image-to-video-fast-1080p) - [Omni Reference VIP 1080p](https://muapi.ai/tr/playground/seedance-2-vip-omni-reference-1080p) - [Omni Reference VIP 1080p Fast](https://muapi.ai/tr/playground/seedance-2-vip-omni-reference-fast-1080p) - [First & Last Frame VIP 1080p](https://muapi.ai/tr/playground/seedance-2-vip-first-last-frame-1080p) - [Text to Video VIP 4K](https://muapi.ai/tr/playground/seedance-2-vip-text-to-video-4k) - [Image to Video VIP 4K](https://muapi.ai/tr/playground/seedance-2-vip-image-to-video-4k) - [First & Last Frame VIP 4K](https://muapi.ai/tr/playground/seedance-2-vip-first-last-frame-4k) - [Omni Reference VIP 4K](https://muapi.ai/tr/playground/seedance-2-vip-omni-reference-4k) - [Seedance 2 Spicy Text to Video](https://muapi.ai/tr/playground/seedance-2-spicy-text-to-video) - [Seedance 2 Spicy Text to Video Fast](https://muapi.ai/tr/playground/seedance-2-spicy-text-to-video-fast) - [Seedance 2 Spicy Image to Video](https://muapi.ai/tr/playground/seedance-2-spicy-image-to-video) - [Seedance 2 Spicy Image to Video Fast](https://muapi.ai/tr/playground/seedance-2-spicy-image-to-video-fast) - [Omni Reference Fast](https://muapi.ai/tr/playground/seedance-2-omni-reference-no-video-fast) - [Spicy Omni Reference](https://muapi.ai/tr/playground/seedance-2-spicy-omni-reference) - [Spicy Omni Reference Fast](https://muapi.ai/tr/playground/seedance-2-spicy-omni-reference-fast) - [Omni Reference VIP](https://muapi.ai/tr/playground/seedance-2-vip-omni-reference) ## Kaynaklar - [Oyun Alanı Sayfası](https://muapi.ai/tr/playground/seedance-2-vip-omni-reference) - [API Referansı](https://muapi.ai/tr/playground/seedance-2-vip-omni-reference/api) - [Küresel llms.txt](https://muapi.ai/tr/llms.txt)