Aset privat gambar asset://: temukan lalu periksa URL publik aslinya
Gambar Base64: periksa setelah dikonversi menjadi URL publik
video_urls, audio_urls, serta aset privat video/audio tidak diperiksa, karena model moderasi tidak mendukung video atau audio.ID model yang didukung: seedance-2.0, seedance-2.0-fast, seedance-2.0-mini, seedance-2.0-face, seedance-2.0-fast-face, seedance-2-0 (nama lama), dan seedance-2.5.Panggilan moderasi itu sendiri tidak ditagihkan kepada pengguna yang mengirim permintaan video.
Konten yang terdeteksi mengembalikan HTTP 400 (nsfw_content_detected) secara sinkron. Tugas dan task_id tidak dibuat, serta kuota pembuatan video tidak dipotong
Jika moderasi tidak tersedia, mengalami timeout, atau mengembalikan respons yang tidak valid, sistem menggunakan fail-open dan pembuatan video dilanjutkan. Opsi ini bukan jaminan mutlak keamanan konten
Input yang tidak dapat diubah menjadi URL gambar publik akan dilewati; model yang tidak didukung mengabaikan nsfw_check: true tanpa pemberitahuan
Contoh:
{ "model": "seedance-2.5", "prompt": "a cat walking on the beach", "image_urls": ["https://cdn.example.com/ref.png"], "nsfw_check": true}
Respons saat terdeteksi:
{ "error": { "message": "Your request was rejected by content moderation (`nsfw_check` is enabled). Flagged categories: sexual, violence/graphic.", "type": "nsfw_content_detected", "param": "", "code": "nsfw_content_detected" }}
Wajib untuk pembuatan biasa dan draf. Dilarang saat menggunakan draft_task_id: prompt draf diwarisi otomatis.Prompt. Reference media with @图片1 / @视频1 / @音频1 (1-based index matching array order). English aliases in prompts may also be used depending on model behavior; keep indices aligned with arrays.Example: "Use @视频1 for first-person framing throughout, @音频1 as BGM, first frame is @图片1"
Unsupported values like 2k / 4k return a sync 400.Pengecualian mode draf: draft: true hanya mendukung 480p dan default-nya sama; draft_task_id hanya mendukung 1080p dan default-nya sama.
Sub-task type hint: auto / reference / edit / extend.Passing reference / edit / extend validates that type’s constraints at submit time. Invalid requests return 400, create no task, and charge nothing. See Task types and constraints.
The service infers task type from references and prompt intent. The last three types hard-constrain size / duration; violations fail asynchronously after the job starts (e.g. InvalidParameter.TaskTypeConstraint):
Task type
Trigger
Constraints
Text-to-video
Text only
None
Reference-to-video
References + normal descriptive prompt
None. Avoid words like “edit / extend / continue / delete / replace” in the prompt to prevent misclassification
Video edit
References + prompt with “edit video / add / delete / modify / replace”, etc.
size must be adaptive, duration must be -1; source video 4~30s
Video extend
References + prompt with “extend forward/backward / continue / sequel”
size must be adaptive
First / first–last frame
image_with_roles uses first_frame / last_frame
size must be adaptive (also checked at submit time)
Turn async errors into sync errors with omni_reference_task_type
Passing reference / edit / extend declares the sub-task type so its constraints are validated at submit time. Invalid requests return 400 immediately: no task is created and nothing is charged — you do not have to poll until failed.
Value
Meaning
Constraints checked at submit
auto (default)
Model infers the type
None (violations fail asynchronously)
reference
Reference-to-video
None (size / duration unrestricted)
edit
Video edit
At least one item in video_urls; size must be adaptive (or omitted); duration must be -1 (or omitted, see below); source video 4~30s
extend
Video extend
At least one item in video_urls; size must be adaptive (or omitted)
Notes:
If edit omits duration, the platform sets it to -1. Omitting duration otherwise defaults to 5 seconds, which conflicts with the upstream edit requirement of -1. The trade-off is a 30-second prepaid hold (same as duration: -1); unused amount is refunded after completion. For a smaller hold, skip edit and use default auto.
If edit sends duration explicitly, it must be -1. Any other value returns 400 (output length follows the source video).
⚠️ You can still fail asynchronously with InvalidParameter.TaskTypeMismatch. Upstream re-classifies the job from the prompt; a mismatch with your declared type is rejected. Keep prompt wording aligned (edit: “edit / delete / replace…”; extend: “extend forward/backward / continue…”).
All Seedance 2.5 channels share the same validation and upstream payload; switching channels does not change this behavior.
You can pass public URLs as references, or upload into the library first and use asset://. Prefer the library when:
Real human faces must use the library — raw URLs are blocked by content moderation; only approved library assets can be used
Assets are reused often — upload once, skip repeated moderation on later jobs, faster submits
URLs are signed temporary links — the platform stores a durable copy on ingest so later use does not depend on the original URL staying alive
Library assets are synced to all available channels so multi-channel routing can use them wherever the job lands
The library is shared with the 2.0 family; approved asset:// IDs work in both 2.0 and 2.5 generation requests. Full submit fields: also see Private avatar assets.
Violations return 400 immediately (which asset index and which rule), without starting moderation or consuming moderation quota:
Media
Limits
Image
jpeg / png / webp / bmp / tiff / gif / heic / heif; side length [300, 6000]px; aspect ratio [0.4, 2.5]; each <30MB
Video
mp4 / mov; each ≤200MB; duration by model: 2.0 family [2, 15]s, 2.5 [2, 30]s
Audio
wav / mp3; each ≤15MB; duration tiers same as video
Error example:
{ "error": { "code": "invalid_asset_material", "message": "video #1: duration must be between 2s and 15s for seedance-2.0 (got 30s)" }}
For 30s video assets, submit with "model": "seedance-2.5" (2.0 cannot use assets longer than 15s).
If the platform cannot probe the media (e.g. network blip), it may pass through and leave the decision to moderation.
Reference approved assets with asset:// in image_urls / image_with_roles / video_urls / audio_urls:
{ "model": "seedance-2.5", "prompt": "The person in @图片1 walks along the beach", "image_urls": ["asset://cm9xxxxxxxx"], "duration": 8}
Multi-channel: after ingest, assets sync to all available channels so any routed channel can use them. If a channel’s copy is missing, the platform may re-upload from the original URL as a fallback (if that URL is already expired, that channel is skipped and another takes over).
Q: How long does moderation take?
Images usually seconds; video and real-person assets may take minutes. Poll the task id until a terminal status.Q: Moderation failed with no clear reason?
Some failures omit a detailed reason (often a transient fetch failure). The platform already retries once; if it still fails, change the URL (ensure it is publicly downloadable) and resubmit.Q: Same asset for both 2.0 and 2.5 — upload twice?
No. Upload once; asset:// works for both generations. Cross-channel / cross-model sync is handled by the platform.Q: Can I pass a real-person face as a raw URL?
Real-person assets must go through the library first.
Buat draf 480p untuk memeriksa tampilan, lalu gunakan ID tugasnya untuk membuat video final 1080p. Video final memakai ulang prompt, media referensi, durasi, rasio, seed, pengaturan audio, dan tipe tugas agar sesuai dengan draf.
Tambahkan "draft": true ke permintaan biasa. Batas media dan tipe tugas tetap sama. Jika resolution dihilangkan, digunakan 480p; 720p atau 1080p menghasilkan 400.
Lakukan kueri setiap 5–15 detik. pending: antrean; processing: sedang dibuat; completed: sukses; failed: gagal. URL video ada di array data.result.videos[].url; baca url[0].
Video final mengembalikan ID tugas baru. Kueri hasil melalui GET /v1/tasks/{task_id}.Bidang berikut diwarisi dari draf. Jangan kirim ulang: nilai yang sama pun menghasilkan 400:prompt, image_urls, image_with_roles, video_urls, audio_urls, duration, size, aspect_ratio, seed, generate_audio, audio, omni_reference_task_type, generation_type, camerafixed, web_search, tools.Opsi output berikut dapat diubah:
Parameter
Keterangan
output_format
mp4 (default) atau mov
return_last_frame
Mengembalikan frame terakhir; jika dihilangkan, memakai default model, bukan pengaturan draf
watermark
Menambahkan watermark; jika dihilangkan, memakai default model, bukan pengaturan draf
draft: true dan draft_task_id saling eksklusif. Draf maupun video final tidak mendukung service_tier.Draf berlaku 3 hari sejak dibuat. Tugas tidak ditemukan, milik pengguna lain, belum sukses, bukan draf, atau kedaluwarsa menghasilkan 400 saat pengiriman video final, tanpa membuat tugas atau menagih biaya.
Video final harus memakai rute yang sama dengan draf; sistem menghubungkannya secara otomatis. Jika rute sementara tidak tersedia, pengiriman menghasilkan 400. Coba lagi nanti dengan draft_task_id yang sama.Draf yang belum kedaluwarsa dapat menghasilkan beberapa video final. Masing-masing merupakan tugas independen dengan tagihan terpisah.
Draf ditagih sebagai video 480p biasa. Durasi video referensi input dihitung seperti biasa, total maksimal 30 detik.Video final ditagih pada 1080p. Pilih tingkat 1080P-input jika langkah 1 menyertakan video referensi asli, atau tingkat standar 1080P jika tidak. Penyelesaian tagihan menggunakan harga per token pada tingkat yang dipilih.Detik input yang ditagih untuk video final berasal dari total durasi video referensi asli pada langkah 1, maksimal 30 detik. Video Draft yang dihasilkan tidak dihitung sebagai input video. POST video final tetap merujuk ke draft_task_id; jangan kirim ulang media referensi atau kolom lain yang diwarisi. Tidak mengirim ulang media bukan berarti durasi referensi asli dikecualikan dari penagihan.Misalnya, jika langkah 1 meminta output 11 detik dengan video referensi asli berdurasi total 22 detik, estimasikan token video final menggunakan 11 + 22 = 33 detik dan harga per token untuk tingkat 1080P-input.
Durasi draf
Reservasi draf
Reservasi video final
4–30 detik eksplisit
Durasi yang ditentukan pada 480p, referensi dihitung seperti biasa
Durasi output yang sama ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai
duration: -1 atau edit tanpa durasi yang dinormalisasi ke -1
Output maksimal 30 detik, referensi dihitung seperti biasa
Output hingga 30 detik ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai
duration dihilangkan pada kasus lain
Output 5 detik, referensi dihitung seperti biasa
Output 5 detik ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai
Setelah sukses, tagihan disesuaikan dengan token aktual: kelebihan dikembalikan dan kekurangan ditagih. Kegagalan mendapat pengembalian penuh. Tarif dan diskon mengikuti harga model.
Token draf = (detik video input + detik output) × lebar × tinggi × 24 ÷ 1024Estimasi token video final = (detik video referensi asli langkah 1 + detik output final) × lebar × tinggi × 24 ÷ 1024
Lebar dan tinggi adalah dimensi piksel output tugas terkait. Setelah sukses, data.usage.completion_tokens mengembalikan token untuk rekonsiliasi tagihan.
{ "model": "seedance-2.5", "prompt": "Edit the video: remove all passers-by in @视频1, keep only the main character", "video_urls": ["https://example.com/input.mp4"], "size": "adaptive", "duration": -1, "output_format": "mov"}
{ "model": "seedance-2.5", "prompt": "A person walking naturally on a city street in sunlight", "image_urls": ["asset://cm9xxxxxxxx"], "duration": 5, "resolution": "720p"}
{ "model": "seedance-2.5", "prompt": "Generate a short tech-news video intro based on the latest information", "size": "16:9", "resolution": "720p", "duration": 8, "tools": [{"type": "web_search"}]}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"APIMart","colors":{"primary":"#2563EB","light":"#3B82F6","dark":"#1D4ED8"},"favicon":"https://mintcdn.com/apicore/1GnRrmOhqkTFCvFb/logo/logo.png?fit=max\u0026auto=format\u0026n=1GnRrmOhqkTFCvFb\u0026q=85\u0026s=609be15c3f1f4e4b765c5945c2871ae9","navbar":{"links":[{"icon":"x-twitter","href":"https://x.com/APIMart_","label":""},{"icon":"discord","href":"https://discord.gg/V8zqssyZ5c","label":""},{"icon":"weixin","href":"https://cdn.apimart.ai/social-media/wechat.jpg","label":""}],"primary":{"type":"button","label":"Dashboard","href":"https://apimart.ai"}},"footer":{"socials":{"x":"https://x.com/APIMart_","website":"https://apimart.ai","discord":"https://discord.gg/V8zqssyZ5c"}},"seo":{"metatags":{"og:site_name":"APIMart","og:type":"website","keywords":"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA","twitter:card":"summary_large_image","twitter:site":"@APIMart_","twitter:creator":"@APIMart_"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"en"},{"language":"zh-Hans","href":"cn"},{"language":"ja","href":"ja"},{"language":"ko","href":"ko"},{"language":"ru","href":"ru"},{"language":"de","href":"de"},{"language":"fr","href":"fr"},{"language":"pt","href":"pt"},{"language":"id","href":"id"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"apicore","hasAudioNarration":false,"actualSubdomain":"apicore","customDomains":["docs.apimart.ai"],"gitSource":{"type":"github","owner":"apimart-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae1c97b1297abb2484bbfc0"},"entitlements":{},"buildId":"6af57dd6043c55511fa5398d","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"zh-Hans","tag":"API 手册","count":175},{"language":"de","tag":"API-Handbuch","count":175},{"language":"en","tag":"API Manual","count":175},{"language":"es","tag":"Manual de la API","count":175},{"language":"fr","tag":"Manuel API","count":175},{"language":"id","tag":"Panduan API","count":175},{"language":"ja","tag":"APIマニュアル","count":175},{"language":"ko","tag":"API 매뉴얼","count":175},{"language":"pt","tag":"Manual da API","count":175},{"language":"ru","tag":"Руководство API","count":175},{"language":"zh-Hans","tag":"图像系列","count":55},{"language":"de","tag":"Bildserie","count":55},{"language":"en","tag":"Image Series","count":55},{"language":"es","tag":"Serie de imágenes","count":55},{"language":"fr","tag":"Série Image","count":55},{"language":"id","tag":"Seri Gambar","count":55},{"language":"ja","tag":"画像シリーズ","count":55},{"language":"ko","tag":"이미지 시리즈","count":55},{"language":"pt","tag":"Série de Imagem","count":55},{"language":"ru","tag":"Серия изображений","count":55},{"language":"zh-Hans","tag":"音频系列","count":51},{"language":"de","tag":"Audioserie","count":51},{"language":"en","tag":"Audio Series","count":51},{"language":"es","tag":"Serie de audio","count":51},{"language":"fr","tag":"Série Audio","count":51},{"language":"id","tag":"Seri Audio","count":51},{"language":"ja","tag":"オーディオシリーズ","count":51},{"language":"ko","tag":"오디오 시리즈","count":51},{"language":"pt","tag":"Série de Áudio","count":51},{"language":"ru","tag":"Аудиосерия","count":51},{"language":"zh-Hans","tag":"视频系列","count":47},{"language":"de","tag":"Videoserie","count":47},{"language":"en","tag":"Video Series","count":47},{"language":"es","tag":"Serie de video","count":47},{"language":"fr","tag":"Série Vidéo","count":47},{"language":"id","tag":"Seri Video","count":47},{"language":"ja","tag":"動画シリーズ","count":47},{"language":"ko","tag":"비디오 시리즈","count":47},{"language":"pt","tag":"Série de Vídeo","count":47},{"language":"ru","tag":"Видеосерия","count":47},{"language":"zh-Hans","tag":"Suno","count":35},{"language":"de","tag":"Suno","count":35},{"language":"en","tag":"Suno","count":35},{"language":"es","tag":"Suno","count":35},{"language":"fr","tag":"Suno","count":35},{"language":"id","tag":"Suno","count":35},{"language":"ja","tag":"Suno","count":35},{"language":"ko","tag":"Suno","count":35},{"language":"pt","tag":"Suno","count":35},{"language":"ru","tag":"Suno","count":35},{"language":"zh-Hans","tag":"Midjourney","count":19},{"language":"de","tag":"Midjourney","count":19},{"language":"en","tag":"Midjourney","count":19},{"language":"es","tag":"Midjourney","count":19},{"language":"fr","tag":"Midjourney","count":19},{"language":"id","tag":"Midjourney","count":19},{"language":"ja","tag":"Midjourney","count":19},{"language":"ko","tag":"Midjourney","count":19},{"language":"pt","tag":"Midjourney","count":19},{"language":"ru","tag":"Midjourney","count":19},{"language":"zh-Hans","tag":"Flow Music","count":14},{"language":"de","tag":"Flow Music","count":14},{"language":"en","tag":"Flow Music","count":14},{"language":"es","tag":"Flow Music","count":14},{"language":"fr","tag":"Flow Music","count":14},{"language":"id","tag":"Flow Music","count":14},{"language":"ja","tag":"Flow Music","count":14},{"language":"ko","tag":"Flow Music","count":14},{"language":"pt","tag":"Flow Music","count":14},{"language":"ru","tag":"Flow Music","count":14},{"language":"ja","tag":"よくある質問","count":12},{"language":"ko","tag":"자주 묻는 질문","count":12},{"language":"zh-Hans","tag":"集成指南","count":11},{"language":"de","tag":"Integrationen","count":11},{"language":"en","tag":"Integrations","count":11},{"language":"es","tag":"Integraciones","count":11},{"language":"fr","tag":"Intégrations","count":11},{"language":"id","tag":"Integrasi","count":11},{"language":"ja","tag":"統合ガイド","count":11},{"language":"ko","tag":"통합 가이드","count":11},{"language":"pt","tag":"Integrações","count":11},{"language":"ru","tag":"Интеграции","count":11},{"language":"zh-Hans","tag":"文字系列","count":10},{"language":"de","tag":"Textserie","count":10},{"language":"en","tag":"Text Series","count":10},{"language":"es","tag":"Serie de texto","count":10},{"language":"fr","tag":"Série Texte","count":10},{"language":"id","tag":"Seri Teks","count":10},{"language":"ja","tag":"テキストシリーズ","count":10},{"language":"ko","tag":"텍스트 시리즈","count":10},{"language":"pt","tag":"Série de Texto","count":10},{"language":"ru","tag":"Текстовая серия","count":10},{"language":"zh-Hans","tag":"概览","count":7},{"language":"de","tag":"Übersicht","count":7},{"language":"en","tag":"Overview","count":7},{"language":"es","tag":"Visión general","count":7},{"language":"fr","tag":"Aperçu","count":7},{"language":"id","tag":"Ikhtisar","count":7},{"language":"pt","tag":"Visão Geral","count":7},{"language":"ru","tag":"Обзор","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[id^=\"param-\"] a[href^=\"#param-\"]{display:none}[id^=\"param-\"] button[data-component-part=\"field-name\"]{display:inline-flex;align-items:center;gap:6px;margin:-2px -4px;padding:2px 4px;border-radius:6px;cursor:copy;user-select:text;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover{background:rgb(37 99 235 / 8%)}[id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(100 116 139);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover::after{background-color:rgb(37 99 235)}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"copied\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(5 150 105);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"failed\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(220 38 38);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat}html.dark [id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{background-color:rgb(203 213 225)}"}],"page":{"pagePath":"id/api-reference/videos/seedance-2-5/generation","slug":"/id/api-reference/videos/seedance-2-5/generation","pageMetadata":{"title":"seedance-2.5 Video Generation","description":" - Async API; returns task_id for polling\n- Text-to-video / multimodal reference / edit / extend / first–last frame\n- Up to 30s per job; up to 30 images + 10 videos + 10 audios as references\n- Resolution supports 480p / 720p / 1080p; mp4 or mov output ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-2-5/generation"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Async API; returns task_id for polling\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Text-to-video / multimodal reference / edit / extend / first–last frame\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Up to 30s per job; up to 30 images + 10 videos + 10 audios as references\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Resolution supports 480p / 720p / 1080p; mp4 or mov output\"\n }), \"\\n\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Main changes vs 2.0`}),`: max duration 15s → `,_jsx(_components.strong,{children:`30s`}),`; references 9 images + 3 videos + 3 audios → `,_jsx(_components.strong,{children:`30 images + 10 videos + 10 audios`}),`; `,_jsx(_components.strong,{children:`audio-only`}),` reference supported; `,_jsx(_components.strong,{children:`mov`}),` output added.`,_jsx(_components.br,{}),`\n`,_jsx(_components.strong,{children:`Note`}),`: resolution supports `,_jsx(_components.strong,{children:`480p / 720p / 1080p`}),` (2.0’s 4k is `,_jsx(_components.strong,{children:`not`}),` available on 2.5).`]})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Bearer token auth. Get a key from the `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`API Key page`}),`.`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request parameters`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Fixed value: `,_jsx(_components.code,{children:`seedance-2.5`})]})}),`\n`,_jsxs(ParamField,{body:`nsfw_check`,type:`boolean`,default:`false`,id:`param-nsfw-check`,children:[_jsx(_components.p,{children:`Menentukan apakah moderasi konten dijalankan sebelum tugas video dikirim.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: periksa prompt dan gambar input dengan `,_jsx(_components.code,{children:`omni-moderation-latest`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` atau dihilangkan: tidak mengirim permintaan moderasi, tanpa biaya atau latensi moderasi tambahan (default)`]}),`\n`]}),_jsx(_components.p,{children:`Konten yang diperiksa:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Teks: `,_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`negative_prompt`})]}),`\n`,_jsxs(_components.li,{children:[`Gambar: `,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`image_with_roles[].url`}),`, `,_jsx(_components.code,{children:`first_frame_image`}),`, `,_jsx(_components.code,{children:`last_frame_image`})]}),`\n`,_jsxs(_components.li,{children:[`Aset privat gambar `,_jsx(_components.code,{children:`asset://`}),`: temukan lalu periksa URL publik aslinya`]}),`\n`,_jsx(_components.li,{children:`Gambar Base64: periksa setelah dikonversi menjadi URL publik`}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`video_urls`}),`, `,_jsx(_components.code,{children:`audio_urls`}),`, serta aset privat video/audio `,_jsx(_components.strong,{children:`tidak diperiksa`}),`, karena model moderasi tidak mendukung video atau audio.`]}),_jsxs(_components.p,{children:[`ID model yang didukung: `,_jsx(_components.code,{children:`seedance-2.0`}),`, `,_jsx(_components.code,{children:`seedance-2.0-fast`}),`, `,_jsx(_components.code,{children:`seedance-2.0-mini`}),`, `,_jsx(_components.code,{children:`seedance-2.0-face`}),`, `,_jsx(_components.code,{children:`seedance-2.0-fast-face`}),`, `,_jsx(_components.code,{children:`seedance-2-0`}),` (nama lama), dan `,_jsx(_components.code,{children:`seedance-2.5`}),`.`]}),_jsx(_components.p,{children:`Panggilan moderasi itu sendiri tidak ditagihkan kepada pengguna yang mengirim permintaan video.`}),_jsx(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Konten yang terdeteksi mengembalikan HTTP 400 (`,_jsx(_components.code,{children:`nsfw_content_detected`}),`) secara sinkron. Tugas dan `,_jsx(_components.code,{children:`task_id`}),` tidak dibuat, serta kuota pembuatan video tidak dipotong`]}),`\n`,_jsxs(_components.li,{children:[`Jika moderasi tidak tersedia, mengalami timeout, atau mengembalikan respons yang tidak valid, sistem menggunakan `,_jsx(_components.strong,{children:`fail-open`}),` dan pembuatan video dilanjutkan. Opsi ini bukan jaminan mutlak keamanan konten`]}),`\n`,_jsxs(_components.li,{children:[`Input yang tidak dapat diubah menjadi URL gambar publik akan dilewati; model yang tidak didukung mengabaikan `,_jsx(_components.code,{children:`nsfw_check: true`}),` tanpa pemberitahuan`]}),`\n`]})}),_jsx(_components.p,{children:`Contoh:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a cat walking on the beach\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/ref.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nsfw_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Respons saat terdeteksi:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"Your request was rejected by content moderation (`nsfw_check` is enabled). Flagged categories: sexual, violence/graphic.\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nsfw_content_detected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nsfw_content_detected\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{body:`draft`,type:`boolean`,id:`param-draft`,children:[_jsxs(_components.p,{children:[`Tetapkan `,_jsx(_components.code,{children:`true`}),` untuk membuat draf 480p. Hanya `,_jsx(_components.code,{children:`seedance-2.5`}),` yang mendukungnya. Jika dihilangkan, permintaan diproses sebagai pembuatan biasa.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`resolution`}),` hanya boleh `,_jsx(_components.code,{children:`480p`}),`; jika dihilangkan, menggunakan `,_jsx(_components.code,{children:`480p`})]}),`\n`,_jsxs(_components.li,{children:[`Tidak dapat digabungkan dengan `,_jsx(_components.code,{children:`draft_task_id`})]}),`\n`,_jsxs(_components.li,{children:[`Draf berlaku `,_jsx(_components.strong,{children:`3 hari sejak dibuat`}),` dan setelah berhasil dapat menghasilkan video final 1080p`]}),`\n`]}),_jsxs(_components.p,{children:[`Lihat alur di `,_jsx(_components.a,{href:`#mode-draf`,children:`Mode draf`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`draft_task_id`,type:`string`,id:`param-draft-task-id`,children:[_jsxs(_components.p,{children:[`Membuat video final 1080p dari draf yang selesai. Isi ID tugas APIMart dari respons pengiriman draf (`,_jsx(_components.code,{children:`data[0].task_id`}),`), bukan URL video.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Hanya `,_jsx(_components.code,{children:`seedance-2.5`}),`; gunakan model yang sama dengan draf`]}),`\n`,_jsx(_components.li,{children:`Draf harus milik pengguna API Key saat ini, selesai dengan sukses, dan belum lebih dari 3 hari sejak dibuat`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`resolution`}),` hanya boleh `,_jsx(_components.code,{children:`1080p`}),`; jika dihilangkan, menggunakan `,_jsx(_components.code,{children:`1080p`})]}),`\n`,_jsxs(_components.li,{children:[`Tidak dapat digabungkan dengan `,_jsx(_components.code,{children:`draft: true`}),`; jangan kirim ulang bidang warisan seperti `,_jsx(_components.code,{children:`prompt`}),`, media referensi, atau durasi`]}),`\n`]}),_jsxs(_components.p,{children:[`Bidang yang dapat diubah dan batasan: `,_jsx(_components.a,{href:`#mode-draf`,children:`Mode draf`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:[_jsxs(_components.p,{children:[`Wajib untuk pembuatan biasa dan draf. Dilarang saat menggunakan `,_jsx(_components.code,{children:`draft_task_id`}),`: prompt draf diwarisi otomatis.`]}),_jsxs(_components.p,{children:[`Prompt. Reference media with `,_jsx(_components.code,{children:`@图片1`}),` / `,_jsx(_components.code,{children:`@视频1`}),` / `,_jsx(_components.code,{children:`@音频1`}),` (1-based index matching array order). English aliases in prompts may also be used depending on model behavior; keep indices aligned with arrays.`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"Use @视频1 for first-person framing throughout, @音频1 as BGM, first frame is @图片1\"`})]})]}),`\n`,_jsxs(ParamField,{body:`resolution`,type:`string`,default:`720p`,id:`param-resolution`,children:[_jsxs(_components.p,{children:[`Resolution — `,_jsx(_components.strong,{children:`only`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`480p`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`720p`}),` (default)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`1080p`})}),`\n`]}),_jsxs(_components.p,{children:[`Unsupported values like `,_jsx(_components.code,{children:`2k`}),` / `,_jsx(_components.code,{children:`4k`}),` return a sync `,_jsx(_components.strong,{children:`400`}),`.`]}),_jsxs(_components.p,{children:[`Pengecualian mode draf: `,_jsx(_components.code,{children:`draft: true`}),` hanya mendukung `,_jsx(_components.code,{children:`480p`}),` dan default-nya sama; `,_jsx(_components.code,{children:`draft_task_id`}),` hanya mendukung `,_jsx(_components.code,{children:`1080p`}),` dan default-nya sama.`]})]}),`\n`,_jsxs(ParamField,{body:`size`,type:`string`,default:`adaptive`,id:`param-size`,children:[_jsxs(_components.p,{children:[`Aspect ratio (field name `,_jsx(_components.code,{children:`aspect_ratio`}),` is also accepted).`]}),_jsxs(_components.p,{children:[`Values: `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, `,_jsx(_components.code,{children:`9:16`}),`, `,_jsx(_components.code,{children:`21:9`}),`, `,_jsx(_components.code,{children:`adaptive`}),` (default)`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`Edit, extend, and first/last-frame jobs have hard `,_jsx(_components.code,{children:`size`}),` constraints — see `,_jsx(_components.a,{href:`#task-types-and-constraints`,children:`Task types and constraints`}),`.`]})})]}),`\n`,_jsxs(ParamField,{body:`duration`,type:`integer`,default:`5`,id:`param-duration`,children:[_jsx(_components.p,{children:`Duration in seconds:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4`}),` ~ `,_jsx(_components.code,{children:`30`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`-1`}),`: model picks duration (pre-charge at the `,_jsx(_components.strong,{children:`30s`}),` cap; settle to actual length after completion)`]}),`\n`]}),_jsxs(_components.p,{children:[`If omitted: generate and bill `,_jsx(_components.strong,{children:`5`}),` seconds.`]})]}),`\n`,_jsxs(ParamField,{body:`generate_audio`,type:`boolean`,default:`true`,id:`param-generate-audio`,children:[_jsxs(_components.p,{children:[`Whether to generate audio (alias field name: `,_jsx(_components.code,{children:`audio`}),`).`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: with audio (default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),`: silent video`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`watermark`,type:`boolean`,default:`false`,id:`param-watermark`,children:_jsxs(_components.p,{children:[`Add an “AI generated” watermark. Default `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ParamField,{body:`seed`,type:`integer`,id:`param-seed`,children:_jsx(_components.p,{children:`Random seed. Different seeds usually yield different results for the same request; the same seed is similar but not guaranteed identical.`})}),`\n`,_jsxs(ParamField,{body:`output_format`,type:`string`,default:`mp4`,id:`param-output-format`,children:[_jsx(_components.p,{children:`Output container:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mp4`}),` (default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mov`}),`: higher color precision — `,_jsx(_components.strong,{children:`recommended`}),` for edit / extend workflows`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`omni_reference_task_type`,type:`string`,default:`auto`,id:`param-omni-reference-task-type`,children:[_jsxs(_components.p,{children:[`Sub-task type hint: `,_jsx(_components.code,{children:`auto`}),` / `,_jsx(_components.code,{children:`reference`}),` / `,_jsx(_components.code,{children:`edit`}),` / `,_jsx(_components.code,{children:`extend`}),`.`]}),_jsxs(_components.p,{children:[`Passing `,_jsx(_components.code,{children:`reference`}),` / `,_jsx(_components.code,{children:`edit`}),` / `,_jsx(_components.code,{children:`extend`}),` validates that type’s constraints `,_jsx(_components.strong,{children:`at submit time`}),`. Invalid requests return `,_jsx(_components.strong,{children:`400`}),`, create no task, and charge nothing. See `,_jsx(_components.a,{href:`#task-types-and-constraints`,children:`Task types and constraints`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`array\u003cstring>`,id:`param-image-urls`,children:[_jsxs(_components.p,{children:[`Reference image URLs, all treated as `,_jsx(_components.code,{children:`reference_image`}),`.`]}),_jsx(_components.p,{children:`Supports:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Public URL: `,_jsx(_components.code,{children:`https://example.com/pic.jpg`})]}),`\n`,_jsxs(_components.li,{children:[`Private asset: `,_jsx(_components.code,{children:`asset://cm9xxxxxxxx`})]}),`\n`]}),_jsxs(_components.p,{children:[`For first/last frames use `,_jsx(_components.code,{children:`image_with_roles`}),`.`]}),_jsx(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Max `,_jsx(_components.strong,{children:`30`}),` images`]}),`\n`,_jsxs(_components.li,{children:[`Prefer `,_jsx(_components.code,{children:`image_with_roles`}),` for first/last-frame roles`]}),`\n`]})})]}),`\n`,_jsxs(ParamField,{body:`image_with_roles`,type:`array\u003cobject>`,id:`param-image-with-roles`,children:[_jsx(_components.p,{children:`Images with explicit roles.`}),_jsxs(Expandable,{title:`Fields`,children:[_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsxs(_components.p,{children:[`Image URL or `,_jsx(_components.code,{children:`asset://...`})]})}),_jsx(ParamField,{body:`role`,type:`string`,required:true,id:`param-role`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`first_frame`}),`: first frame (1 image)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last_frame`}),`: last frame (1 image, usually with first frame)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reference_image`}),`: reference image (up to 30 total)`]}),`\n`]})})]}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/first.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"first_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/last.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`video_urls`}),` / `,_jsx(_components.code,{children:`audio_urls`}),` are present, `,_jsx(_components.code,{children:`first_frame`}),` / `,_jsx(_components.code,{children:`last_frame`}),` are auto-converted to `,_jsx(_components.code,{children:`reference_image`}),` (multimodal reference job).`]})})]}),`\n`,_jsxs(ParamField,{body:`video_urls`,type:`array\u003cstring>`,id:`param-video-urls`,children:[_jsxs(_components.p,{children:[`Reference videos (`,_jsx(_components.code,{children:`reference_video`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Input`}),`: video URL or asset ID (`,_jsx(_components.code,{children:`asset://...`}),`).`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`#reference-video-specs`,children:`Reference video specs`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`audio_urls`,type:`array\u003cstring>`,id:`param-audio-urls`,children:[_jsxs(_components.p,{children:[`Reference audio URLs (`,_jsx(_components.code,{children:`reference_audio`}),`). Public URLs or `,_jsx(_components.code,{children:`asset://...`}),`.`]}),_jsxs(_components.p,{children:[`Max `,_jsx(_components.strong,{children:`10`}),`; total duration ≤ `,_jsx(_components.strong,{children:`30s`}),` (each clip 2~30s).`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`2.5 supports `,_jsx(_components.strong,{children:`audio-only`}),` reference (no image/video required).`]})})]}),`\n`,_jsx(ParamField,{body:`return_last_frame`,type:`boolean`,default:`false`,id:`param-return-last-frame`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the successful result also includes the last-frame image for chaining.`]})}),`\n`,_jsxs(ParamField,{body:`tools`,type:`array\u003cobject>`,id:`param-tools`,children:[_jsx(_components.p,{children:`Tool list for enhancements such as web search.`}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"web_search\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`]})})}),_jsx(Expandable,{title:`Fields`,children:_jsxs(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:[_jsx(_components.p,{children:`Tool type`}),_jsx(_components.p,{children:`Values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`web_search`}),` — web search; generation can ground on online information`]}),`\n`]})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`media-limits`,children:`Media limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Media`}),_jsx(_components.th,{children:`Limits`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Images`}),_jsx(_components.td,{children:`≤30; jpeg / png / webp / bmp / tiff / gif / heic / heif; aspect ratio [0.4, 2.5]; side length [300, 6000]px; each \u003c30MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Videos`}),_jsxs(_components.td,{children:[`See `,_jsx(_components.a,{href:`#reference-video-specs`,children:`Reference video specs`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Audio`}),_jsxs(_components.td,{children:[`≤10; wav / mp3; each [2, 30]s and `,_jsx(_components.strong,{children:`total ≤30s`}),`; each ≤15MB`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`reference-video-specs`,children:`Reference video specs`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Input`}),`: video URL or asset ID (`,_jsx(_components.code,{children:`asset://...`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Container`}),`: `,_jsx(_components.code,{children:`mp4`}),`, `,_jsx(_components.code,{children:`mov`}),` — codecs in the table below`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Resolution`}),`: `,_jsx(_components.code,{children:`480p`}),`, `,_jsx(_components.code,{children:`720p`}),`, `,_jsx(_components.code,{children:`1080p`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Duration`}),`: each clip [2, 30] s; up to `,_jsx(_components.strong,{children:`10`}),` reference videos; `,_jsx(_components.strong,{children:`total duration of all videos ≤ 30s`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Per-video dimensions`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Aspect ratio (width/height): [0.4, 2.5]`}),`\n`,_jsx(_components.li,{children:`Side length (px): [300, 6000]`}),`\n`,_jsx(_components.li,{children:`Total pixels: [640×640=409600, 3326×2494=8295044], i.e. width × height must fall in [409600, 8295044]`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Size`}),`: each video ≤ `,_jsx(_components.strong,{children:`200 MB`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Frame rate (FPS)`}),`: [24, 60]`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`supported-codecs`,children:`Supported codecs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Container`}),_jsx(_components.th,{children:`Video codec`}),_jsx(_components.th,{children:`Audio codec`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mp4`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`H.264 / H.265`}),_jsx(_components.td,{children:`AAC / MP3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mov`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`H.264 / H.265`}),_jsx(_components.td,{children:`AAC / MP3`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`task-types-and-constraints`,children:`Task types and constraints`}),`\n`,_jsxs(_components.p,{children:[`The service infers task type from references and `,_jsx(_components.strong,{children:`prompt intent`}),`. The last three types hard-constrain `,_jsx(_components.code,{children:`size`}),` / `,_jsx(_components.code,{children:`duration`}),`; violations fail `,_jsx(_components.strong,{children:`asynchronously after the job starts`}),` (e.g. `,_jsx(_components.code,{children:`InvalidParameter.TaskTypeConstraint`}),`):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Task type`}),_jsx(_components.th,{children:`Trigger`}),_jsx(_components.th,{children:`Constraints`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Text-to-video`}),_jsx(_components.td,{children:`Text only`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference-to-video`}),_jsx(_components.td,{children:`References + normal descriptive prompt`}),_jsxs(_components.td,{children:[`None. `,_jsx(_components.strong,{children:`Avoid`}),` words like “edit / extend / continue / delete / replace” in the prompt to prevent misclassification`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Video edit`}),_jsx(_components.td,{children:`References + prompt with “edit video / add / delete / modify / replace”, etc.`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),`, `,_jsx(_components.code,{children:`duration`}),` must be `,_jsx(_components.code,{children:`-1`}),`; source video 4~30s`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Video extend`}),_jsx(_components.td,{children:`References + prompt with “extend forward/backward / continue / sequel”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`First / first–last frame`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_with_roles`}),` uses `,_jsx(_components.code,{children:`first_frame`}),` / `,_jsx(_components.code,{children:`last_frame`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),` (also checked at submit time)`]})]})]})]}),`\n`,_jsxs(Heading,{level:`3`,id:`turn-async-errors-into-sync-errors-with-omni_reference_task_type`,children:[`Turn async errors into sync errors with `,_jsx(_components.code,{children:`omni_reference_task_type`})]}),`\n`,_jsxs(_components.p,{children:[`Passing `,_jsx(_components.code,{children:`reference`}),` / `,_jsx(_components.code,{children:`edit`}),` / `,_jsx(_components.code,{children:`extend`}),` declares the sub-task type so its constraints are `,_jsx(_components.strong,{children:`validated at submit time`}),`. Invalid requests return 400 immediately: no task is created and nothing is charged — you do not have to poll until `,_jsx(_components.code,{children:`failed`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`Constraints checked at submit`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`auto`}),` (default)`]}),_jsx(_components.td,{children:`Model infers the type`}),_jsxs(_components.td,{children:[`None (violations fail `,_jsx(_components.strong,{children:`asynchronously`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference`})}),_jsx(_components.td,{children:`Reference-to-video`}),_jsxs(_components.td,{children:[`None (`,_jsx(_components.code,{children:`size`}),` / `,_jsx(_components.code,{children:`duration`}),` unrestricted)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit`})}),_jsx(_components.td,{children:`Video edit`}),_jsxs(_components.td,{children:[`At least one item in `,_jsx(_components.code,{children:`video_urls`}),`; `,_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),` (or omitted); `,_jsx(_components.code,{children:`duration`}),` must be `,_jsx(_components.code,{children:`-1`}),` (or omitted, see below); source video 4~30s`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extend`})}),_jsx(_components.td,{children:`Video extend`}),_jsxs(_components.td,{children:[`At least one item in `,_jsx(_components.code,{children:`video_urls`}),`; `,_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),` (or omitted)`]})]})]})]}),`\n`,_jsx(_components.p,{children:`Notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`If `,_jsx(_components.code,{children:`edit`}),` omits `,_jsx(_components.code,{children:`duration`}),`, the platform sets it to `,_jsx(_components.code,{children:`-1`}),`.`]}),` Omitting `,_jsx(_components.code,{children:`duration`}),` otherwise defaults to 5 seconds, which conflicts with the upstream `,_jsx(_components.code,{children:`edit`}),` requirement of `,_jsx(_components.code,{children:`-1`}),`. The trade-off is a `,_jsx(_components.strong,{children:`30-second prepaid hold`}),` (same as `,_jsx(_components.code,{children:`duration: -1`}),`); unused amount is refunded after completion. For a smaller hold, skip `,_jsx(_components.code,{children:`edit`}),` and use default `,_jsx(_components.code,{children:`auto`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`If `,_jsx(_components.code,{children:`edit`}),` sends `,_jsx(_components.code,{children:`duration`}),` explicitly, it must be `,_jsx(_components.code,{children:`-1`}),`.`]}),` Any other value returns 400 (output length follows the source video).`]}),`\n`,_jsxs(_components.li,{children:[`⚠️ `,_jsxs(_components.strong,{children:[`You can still fail asynchronously with `,_jsx(_components.code,{children:`InvalidParameter.TaskTypeMismatch`}),`.`]}),` Upstream re-classifies the job from the prompt; a mismatch with your declared type is rejected. Keep prompt wording aligned (`,_jsx(_components.code,{children:`edit`}),`: “edit / delete / replace…”; `,_jsx(_components.code,{children:`extend`}),`: “extend forward/backward / continue…”).`]}),`\n`,_jsx(_components.li,{children:`All Seedance 2.5 channels share the same validation and upstream payload; switching channels does not change this behavior.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`asset-library`,children:`Asset library`}),`\n`,_jsxs(_components.p,{children:[`You can pass public URLs as references, or upload into the library first and use `,_jsx(_components.code,{children:`asset://`}),`. `,_jsx(_components.strong,{children:`Prefer the library`}),` when:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Real human faces must use the library`}),` — raw URLs are blocked by content moderation; only approved library assets can be used`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Assets are reused often`}),` — upload once, skip repeated moderation on later jobs, faster submits`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`URLs are signed temporary links`}),` — the platform stores a durable copy on ingest so later use does not depend on the original URL staying alive`]}),`\n`,_jsxs(_components.li,{children:[`Library assets are `,_jsx(_components.strong,{children:`synced to all available channels`}),` so multi-channel routing can use them wherever the job lands`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The library is `,_jsx(_components.strong,{children:`shared`}),` with the 2.0 family; approved `,_jsx(_components.code,{children:`asset://`}),` IDs work in both 2.0 and 2.5 generation requests. Full submit fields: also see `,_jsx(_components.a,{href:`/id/api-reference/videos/seedance-2-0/private-avatar`,children:`Private avatar assets`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`upload-assets`,children:`Upload assets`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`POST /v1/seedance2/private-avatar/assets`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Content-Type: application/json`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --request POST \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --url https://api.apimart.ai/v1/seedance2/private-avatar/assets \\\\`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"group\": { \"name\": \"my-assets\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset_type\": \"Image\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assets\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"url\": \"https://example.com/a.png\", \"name\": \"a\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"url\": \"https://example.com/b.png\", \"name\": \"b\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Model the assets will be used with (defaults to 2.0). `,_jsx(_components.strong,{children:`Sets the duration tier`}),`; for 2.5 pass `,_jsx(_components.code,{children:`seedance-2.5`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`group`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Asset group; created automatically if omitted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asset_type`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Image`}),` / `,_jsx(_components.code,{children:`Video`}),` / `,_jsx(_components.code,{children:`Audio`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assets[].url`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Public media URL`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assets[].name`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Asset name`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The response includes a local task `,_jsx(_components.code,{children:`id`}),`. Poll with `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`Get task status`}),` (`,_jsx(_components.code,{children:`GET /v1/tasks/{id}`}),`). After approval, list assets to obtain the `,_jsx(_components.code,{children:`asset://`}),` ID.`]}),`\n`,_jsx(Heading,{level:`3`,id:`media-limits-validated-at-submit`,children:`Media limits (validated at submit)`}),`\n`,_jsxs(_components.p,{children:[`Violations return `,_jsx(_components.strong,{children:`400 immediately`}),` (which asset index and which rule), without starting moderation or consuming moderation quota:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Media`}),_jsx(_components.th,{children:`Limits`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Image`}),_jsx(_components.td,{children:`jpeg / png / webp / bmp / tiff / gif / heic / heif; side length [300, 6000]px; aspect ratio [0.4, 2.5]; each \u003c30MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Video`}),_jsxs(_components.td,{children:[`mp4 / mov; each ≤200MB; duration `,_jsx(_components.strong,{children:`by model`}),`: 2.0 family [2, 15]s, `,_jsx(_components.strong,{children:`2.5 [2, 30]s`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Audio`}),_jsx(_components.td,{children:`wav / mp3; each ≤15MB; duration tiers same as video`})]})]})]}),`\n`,_jsx(_components.p,{children:`Error example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_asset_material\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video #1: duration must be between 2s and 15s for seedance-2.0 (got 30s)\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`For 30s video assets, submit with `,_jsx(_components.code,{children:`\"model\": \"seedance-2.5\"`}),` (2.0 cannot use assets longer than 15s).`,_jsx(_components.br,{}),`\n`,`If the platform cannot probe the media (e.g. network blip), it may pass through and leave the decision to moderation.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`use-in-generation-requests`,children:`Use in generation requests`}),`\n`,_jsxs(_components.p,{children:[`Reference approved assets with `,_jsx(_components.code,{children:`asset://`}),` in `,_jsx(_components.code,{children:`image_urls`}),` / `,_jsx(_components.code,{children:`image_with_roles`}),` / `,_jsx(_components.code,{children:`video_urls`}),` / `,_jsx(_components.code,{children:`audio_urls`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The person in @图片1 walks along the beach\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asset://cm9xxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Multi-channel: after ingest, assets sync to all available channels so any routed channel can use them. If a channel’s copy is missing, the platform may re-upload from the original URL as a fallback (if that URL is already expired, that channel is skipped and another takes over).`}),`\n`,_jsx(Heading,{level:`3`,id:`management-apis-quick-reference`,children:`Management APIs (quick reference)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Path`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets`})}),_jsx(_components.td,{children:`List assets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets/{asset_id}`})}),_jsx(_components.td,{children:`Asset detail (incl. moderation status)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PATCH`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets/{asset_id}`})}),_jsx(_components.td,{children:`Update asset metadata`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DELETE`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets/{asset_id}`})}),_jsx(_components.td,{children:`Delete asset`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST`}),` / `,_jsx(_components.code,{children:`GET`}),` / `,_jsx(_components.code,{children:`PATCH`}),` / `,_jsx(_components.code,{children:`DELETE`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/groups[/{id}]`})}),_jsx(_components.td,{children:`Asset group management`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Asset APIs are `,_jsx(_components.strong,{children:`free of charge`}),` (auth + rate limits only); they do not create billing records.`]}),`\n`,_jsx(Heading,{level:`3`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: How long does moderation take?`}),_jsx(_components.br,{}),`\n`,`Images usually seconds; video and real-person assets may take minutes. Poll the task `,_jsx(_components.code,{children:`id`}),` until a terminal status.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: Moderation failed with no clear reason?`}),_jsx(_components.br,{}),`\n`,`Some failures omit a detailed reason (often a transient fetch failure). The platform already retries once; if it still fails, change the URL (ensure it is publicly downloadable) and resubmit.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: Same asset for both 2.0 and 2.5 — upload twice?`}),_jsx(_components.br,{}),`\n`,`No. Upload once; `,_jsx(_components.code,{children:`asset://`}),` works for both generations. Cross-channel / cross-model sync is handled by the platform.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: Can I pass a real-person face as a raw URL?`}),_jsx(_components.br,{}),`\n`,`Real-person assets must go through the library first.`]}),`\n`,_jsx(Heading,{level:`2`,id:`billing`,children:`Billing`}),`\n`,_jsxs(_components.p,{children:[`Aturan ini berlaku untuk pembuatan biasa dan draf. Untuk video final, lihat `,_jsx(_components.a,{href:`#penagihan-mode-draf`,children:`Penagihan mode draf`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Billed by `,_jsx(_components.strong,{children:`seconds × resolution tier`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`With reference video input`}),`: billable seconds = total input video duration (≤30s) + output duration, at the input-reference rate tier.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`duration = -1`}),` (auto): pre-charge at the `,_jsx(_components.strong,{children:`30s`}),` cap; settle to actual output after completion.`]}),`\n`,_jsxs(_components.li,{children:[`Omit `,_jsx(_components.code,{children:`duration`}),`: generate and bill `,_jsx(_components.strong,{children:`5`}),` seconds.`]}),`\n`,_jsxs(_components.li,{children:[`Failed jobs or content moderation blocks: `,_jsx(_components.strong,{children:`full refund`}),` (charge only on successful output).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`mode-draf`,children:`Mode draf`}),`\n`,_jsxs(_components.p,{children:[`Buat draf 480p untuk memeriksa tampilan, lalu gunakan ID tugasnya untuk membuat video final 1080p. Video final memakai ulang prompt, media referensi, durasi, rasio, `,_jsx(_components.code,{children:`seed`}),`, pengaturan audio, dan tipe tugas agar sesuai dengan draf.`]}),`\n`,_jsx(Heading,{level:`3`,id:`langkah-1-membuat-draf-480p`,children:`Langkah 1: Membuat draf 480p`}),`\n`,_jsxs(_components.p,{children:[`Tambahkan `,_jsx(_components.code,{children:`\"draft\": true`}),` ke permintaan biasa. Batas media dan tipe tugas tetap sama. Jika `,_jsx(_components.code,{children:`resolution`}),` dihilangkan, digunakan `,_jsx(_components.code,{children:`480p`}),`; `,_jsx(_components.code,{children:`720p`}),` atau `,_jsx(_components.code,{children:`1080p`}),` menghasilkan 400.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X POST `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.apimart.ai/v1/videos/generations'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Seekor rubah duduk di rumput, kamera perlahan menjauh dan angin sepoi menggerakkan bulunya\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_urls\": [\"https://example.com/reference.png\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"draft\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Baca ID draf dari `,_jsx(_components.code,{children:`data[0].task_id`}),`. Poll `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`status tugas`}),` dan kirim video final hanya setelah `,_jsx(_components.code,{children:`data.status=completed`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.apimart.ai/v1/tasks/task_01KZEVX5R6DM5K9T698P1SDKCR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Lakukan kueri setiap 5–15 detik. `,_jsx(_components.code,{children:`pending`}),`: antrean; `,_jsx(_components.code,{children:`processing`}),`: sedang dibuat; `,_jsx(_components.code,{children:`completed`}),`: sukses; `,_jsx(_components.code,{children:`failed`}),`: gagal. URL video ada di array `,_jsx(_components.code,{children:`data.result.videos[].url`}),`; baca `,_jsx(_components.code,{children:`url[0]`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`langkah-2-membuat-video-final-1080p`,children:`Langkah 2: Membuat video final 1080p`}),`\n`,_jsxs(_components.p,{children:[`Isi `,_jsx(_components.code,{children:`draft_task_id`}),` dengan ID dari langkah 1. Jika `,_jsx(_components.code,{children:`resolution`}),` dihilangkan, digunakan `,_jsx(_components.code,{children:`1080p`}),`; resolusi lain menghasilkan 400.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X POST `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.apimart.ai/v1/videos/generations'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"draft_task_id\": \"task_01KZEVX5R6DM5K9T698P1SDKCR\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"mov\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"return_last_frame\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Video final mengembalikan ID tugas baru. Kueri hasil melalui `,_jsx(_components.code,{children:`GET /v1/tasks/{task_id}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Bidang berikut diwarisi dari draf. `,_jsx(_components.strong,{children:`Jangan kirim ulang: nilai yang sama pun menghasilkan 400`}),`:`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`image_with_roles`}),`, `,_jsx(_components.code,{children:`video_urls`}),`, `,_jsx(_components.code,{children:`audio_urls`}),`, `,_jsx(_components.code,{children:`duration`}),`, `,_jsx(_components.code,{children:`size`}),`, `,_jsx(_components.code,{children:`aspect_ratio`}),`, `,_jsx(_components.code,{children:`seed`}),`, `,_jsx(_components.code,{children:`generate_audio`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`omni_reference_task_type`}),`, `,_jsx(_components.code,{children:`generation_type`}),`, `,_jsx(_components.code,{children:`camerafixed`}),`, `,_jsx(_components.code,{children:`web_search`}),`, `,_jsx(_components.code,{children:`tools`}),`.`]}),`\n`,_jsx(_components.p,{children:`Opsi output berikut dapat diubah:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Keterangan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_format`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mp4`}),` (default) atau `,_jsx(_components.code,{children:`mov`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`return_last_frame`})}),_jsx(_components.td,{children:`Mengembalikan frame terakhir; jika dihilangkan, memakai default model, bukan pengaturan draf`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`watermark`})}),_jsx(_components.td,{children:`Menambahkan watermark; jika dihilangkan, memakai default model, bukan pengaturan draf`})]})]})]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`draft: true`}),` dan `,_jsx(_components.code,{children:`draft_task_id`}),` saling eksklusif. Draf maupun video final tidak mendukung `,_jsx(_components.code,{children:`service_tier`}),`.`]}),_jsx(_components.p,{children:`Draf berlaku 3 hari sejak dibuat. Tugas tidak ditemukan, milik pengguna lain, belum sukses, bukan draf, atau kedaluwarsa menghasilkan 400 saat pengiriman video final, tanpa membuat tugas atau menagih biaya.`})]}),`\n`,_jsxs(_components.p,{children:[`Video final harus memakai rute yang sama dengan draf; sistem menghubungkannya secara otomatis. Jika rute sementara tidak tersedia, pengiriman menghasilkan 400. Coba lagi nanti dengan `,_jsx(_components.code,{children:`draft_task_id`}),` yang sama.`]}),`\n`,_jsx(_components.p,{children:`Draf yang belum kedaluwarsa dapat menghasilkan beberapa video final. Masing-masing merupakan tugas independen dengan tagihan terpisah.`}),`\n`,_jsx(Heading,{level:`3`,id:`penagihan-mode-draf`,children:`Penagihan mode draf`}),`\n`,_jsx(_components.p,{children:`Draf ditagih sebagai video 480p biasa. Durasi video referensi input dihitung seperti biasa, total maksimal 30 detik.`}),`\n`,_jsxs(_components.p,{children:[`Video final ditagih pada `,_jsx(_components.strong,{children:`1080p`}),`. Pilih tingkat `,_jsx(_components.code,{children:`1080P-input`}),` jika langkah 1 menyertakan video referensi asli, atau tingkat standar `,_jsx(_components.code,{children:`1080P`}),` jika tidak. Penyelesaian tagihan menggunakan harga per token pada tingkat yang dipilih.`]}),`\n`,_jsxs(_components.p,{children:[`Detik input yang ditagih untuk video final berasal dari total durasi video referensi asli pada langkah 1, maksimal 30 detik. `,_jsx(_components.strong,{children:`Video Draft yang dihasilkan tidak dihitung sebagai input video.`}),` POST video final tetap merujuk ke `,_jsx(_components.code,{children:`draft_task_id`}),`; jangan kirim ulang media referensi atau kolom lain yang diwarisi. Tidak mengirim ulang media bukan berarti durasi referensi asli dikecualikan dari penagihan.`]}),`\n`,_jsxs(_components.p,{children:[`Misalnya, jika langkah 1 meminta output 11 detik dengan video referensi asli berdurasi total 22 detik, estimasikan token video final menggunakan `,_jsx(_components.code,{children:`11 + 22 = 33`}),` detik dan harga per token untuk tingkat `,_jsx(_components.code,{children:`1080P-input`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Durasi draf`}),_jsx(_components.th,{children:`Reservasi draf`}),_jsx(_components.th,{children:`Reservasi video final`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`4–30 detik eksplisit`}),_jsx(_components.td,{children:`Durasi yang ditentukan pada 480p, referensi dihitung seperti biasa`}),_jsx(_components.td,{children:`Durasi output yang sama ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration: -1`}),` atau `,_jsx(_components.code,{children:`edit`}),` tanpa durasi yang dinormalisasi ke `,_jsx(_components.code,{children:`-1`})]}),_jsx(_components.td,{children:`Output maksimal 30 detik, referensi dihitung seperti biasa`}),_jsx(_components.td,{children:`Output hingga 30 detik ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` dihilangkan pada kasus lain`]}),_jsx(_components.td,{children:`Output 5 detik, referensi dihitung seperti biasa`}),_jsx(_components.td,{children:`Output 5 detik ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai`})]})]})]}),`\n`,_jsx(_components.p,{children:`Setelah sukses, tagihan disesuaikan dengan token aktual: kelebihan dikembalikan dan kekurangan ditagih. Kegagalan mendapat pengembalian penuh. Tarif dan diskon mengikuti harga model.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Token draf = (detik video input + detik output) × lebar × tinggi × 24 ÷ 1024`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Estimasi token video final = (detik video referensi asli langkah 1 + detik output final) × lebar × tinggi × 24 ÷ 1024`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Lebar dan tinggi adalah dimensi piksel output tugas terkait. Setelah sukses, `,_jsx(_components.code,{children:`data.usage.completion_tokens`}),` mengembalikan token untuk rekonsiliasi tagihan.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-examples`,children:`Request examples`}),`\n`,_jsx(Heading,{level:`3`,id:`text-to-video-30s`,children:`Text-to-video (30s)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cinematic 30-second steampunk miniature landscape sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`multimodal-reference-image-+-video-+-audio`,children:`Multimodal reference (image + video + audio)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Use @视频1 for first-person framing, @音频1 as BGM, first frame is @图片1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/pic1.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/pic2.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/ref.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/bgm.mp3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`11`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`video-edit`,children:`Video edit`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Edit the video: remove all passers-by in @视频1, keep only the main character\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/input.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"adaptive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mov\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`first–last-frame`,children:`First–last frame`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The girl in the image says `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`cheese`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` to the camera, 360-degree orbit shot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_with_roles\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/first.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"first_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/last.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"adaptive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`private-asset`,children:`Private asset`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A person walking naturally on a city street in sunlight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asset://cm9xxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`web-search`,children:`Web search`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Generate a short tech-news video intro based on the latest information\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"web_search\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`common-errors`,children:`Common errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Symptom`}),_jsx(_components.th,{children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`400 unsupported `,_jsx(_components.code,{children:`resolution`})]}),_jsxs(_components.td,{children:[`Passed unsupported values such as `,_jsx(_components.code,{children:`2k`}),` / `,_jsx(_components.code,{children:`4k`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`400 `,_jsx(_components.code,{children:`This model only supports duration 4-30 seconds, or -1`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` out of range`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`400 `,_jsx(_components.code,{children:`first_frame/last_frame tasks only support ratio=adaptive`})]}),_jsx(_components.td,{children:`First/last-frame job with a fixed aspect ratio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Async failure (edit / extend style message)`}),_jsxs(_components.td,{children:[`Prompt classified as edit/extend but `,_jsx(_components.code,{children:`size`}),` / `,_jsx(_components.code,{children:`duration`}),` violate that type’s rules`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Async failure `,_jsx(_components.code,{children:`SensitiveContentDetected`})]}),_jsx(_components.td,{children:`Media or output failed moderation`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-submit`,children:`Response (submit)`}),`\n`,_jsx(ResponseField,{name:`code`,type:`integer`,id:`param-code`,children:_jsxs(_components.p,{children:[`Status code; `,_jsx(_components.code,{children:`200`}),` on success`]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsxs(_components.p,{children:[`Submit response with `,_jsx(_components.code,{children:`status`}),` / `,_jsx(_components.code,{children:`task_id`})]}),_jsxs(Expandable,{title:`Array item`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Initially `,_jsx(_components.code,{children:`submitted`})]})}),_jsx(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id`,children:_jsxs(_components.p,{children:[`Task ID for `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`status polling`})]})})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`completed-task-get-/v1/tasks/task_id`,children:[`Completed task (`,_jsx(_components.code,{children:`GET /v1/tasks/{task_id}`}),`)`]}),`\n`,_jsxs(_components.p,{children:[`After submit, poll with `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`Get task status`}),`. When `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`completed`}),`, the payload looks like this.`]}),`\n`,_jsx(Heading,{level:`3`,id:`completed-response-example`,children:`Completed response example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KZEWTMH6TG3Z1X2QRP2B9ZG9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786132648`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786132748`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actual_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3104`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.104`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"completion_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38800`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"videos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/video/…-video_task_01KZEWTMH6TG3Z1X2QRP2B9ZG9.mp4\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786219148`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`completed-fields`,children:`Completed fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Task ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.status`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`completed`}),` when done`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.progress`})}),_jsx(_components.td,{children:`int`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`100`}),` when done`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`data.created`}),` / `,_jsx(_components.code,{children:`data.completed`})]}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Submit / finish time (Unix seconds)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.actual_time`})}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Elapsed seconds = completed − created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.estimated_time`})}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Platform ETA in seconds (reference only)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.cost`})}),_jsx(_components.td,{children:`float`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Actual charge in USD`}),` for this job (includes discounts; matches billing logs)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.credits_cost`})}),_jsx(_components.td,{children:`float`}),_jsxs(_components.td,{children:[`Credits charged = `,_jsx(_components.code,{children:`cost × 10`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.usage.completion_tokens`})}),_jsx(_components.td,{children:`int`}),_jsxs(_components.td,{children:[`Tokens consumed. Settlement: `,_jsx(_components.code,{children:`cost = completion_tokens ÷ 10⁶ × token unit price × discount`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.result.videos[].url`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`string[]`})}),_jsxs(_components.td,{children:[`Video URL(s). `,_jsx(_components.strong,{children:`This is an array`}),` — use `,_jsx(_components.code,{children:`url[0]`}),`. Values are `,_jsx(_components.strong,{children:`long-lived platform CDN URLs`}),` after re-hosting`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.result.videos[].expires_at`})}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Expiry timestamp (kept for compatibility; re-hosted URLs are long-lived)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.result.videos[].last_frame_url`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Last-frame image (only if submit used `,_jsx(_components.code,{children:`return_last_frame=true`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Failed tasks (`,_jsx(_components.code,{children:`status=failed`}),`): `,_jsx(_components.code,{children:`cost`}),` is always `,_jsx(_components.code,{children:`0`}),` (pre-charge fully refunded); reason in `,_jsx(_components.code,{children:`data.error.message`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`usage`}),` may be missing for a few seconds after completion (settlement lag); query again shortly`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`differences-from-2-0`,children:`Differences from 2.0`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Feature`}),_jsx(_components.th,{children:`2.0`}),_jsx(_components.th,{children:`2.5`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Model`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`seedance-2.0`}),`, etc.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.5`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duration`}),_jsx(_components.td,{children:`~4–15s`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`4–30s`}),`, or `,_jsx(_components.code,{children:`-1`}),` auto`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Resolution`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`480p / 720p / 1080p / 4k`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`480p / 720p / 1080p`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference images`}),_jsx(_components.td,{children:`≤9`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`≤30`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference videos`}),_jsx(_components.td,{children:`≤3, total ~\u003c15s`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`≤10, total ≤30s`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference audio`}),_jsx(_components.td,{children:`≤3, total ≤15s`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`≤10, total ≤30s`}),`; audio-only OK`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Output format`}),_jsx(_components.td,{children:`Mainly mp4`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`mp4 / mov`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Watermark`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`watermark`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Private `,_jsx(_components.code,{children:`asset://`})]}),_jsx(_components.td,{children:`Supported`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Shared`}),` with the same private APIs`]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"seedance-2.5 Video Generation","description":" - Async API; returns task_id for polling\n- Text-to-video / multimodal reference / edit / extend / first–last frame\n- Up to 30s per job; up to 30 images + 10 videos + 10 audios as references\n- Resolution supports 480p / 720p / 1080p; mp4 or mov output ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-2-5/generation"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Main changes vs 2.0`}),`: max duration 15s → `,_jsx(_components.strong,{children:`30s`}),`; references 9 images + 3 videos + 3 audios → `,_jsx(_components.strong,{children:`30 images + 10 videos + 10 audios`}),`; `,_jsx(_components.strong,{children:`audio-only`}),` reference supported; `,_jsx(_components.strong,{children:`mov`}),` output added.`,_jsx(_components.br,{}),`\n`,_jsx(_components.strong,{children:`Note`}),`: resolution supports `,_jsx(_components.strong,{children:`480p / 720p / 1080p`}),` (2.0’s 4k is `,_jsx(_components.strong,{children:`not`}),` available on 2.5).`]})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --request POST \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --url https://api.apimart.ai/v1/videos/generations \\\\`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A cinematic 30-second steampunk miniature landscape sequence\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"720p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 30`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`url = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.apimart.ai/v1/videos/generations\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload = {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cinematic 30-second steampunk miniature landscape sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: 30,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers = {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response = requests.post(url, json=payload, headers=headers)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`print(response.json())`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`23`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` url = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.apimart.ai/v1/videos/generations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` payload = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` model: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` prompt: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cinematic 30-second steampunk miniature landscape sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` size: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resolution: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` duration: 30,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Authorization: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`fetch(url, {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` method: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers: headers,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body: JSON.stringify(payload),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .then((response) => response.json())`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .then((data) => console.log(data))`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((error) => console.error(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, error));`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`37`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`37`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`package`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` main`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bytes\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"encoding/json\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fmt\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"io/ioutil\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"net/http\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`func`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` main() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` url := `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.apimart.ai/v1/videos/generations\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` payload := `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`map`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[string]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`interface`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{}{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cinematic 30-second steampunk miniature landscape sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: 30,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` jsonData, _ := json.Marshal(payload)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` req, _ := http.NewRequest(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, url, bytes.NewBuffer(jsonData))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` req.Header.Set(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` req.Header.Set(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client := \u0026http.Client{}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp, err := client.Do(req)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` err != `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` panic(err)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` defer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp.Body.Close()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body, _ := ioutil.ReadAll(resp.Body)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fmt.Println(string(body))`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Java`,numberOfLines:`33`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`33`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.net.http.HttpClient;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.net.http.HttpRequest;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.net.http.HttpResponse;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.net.URI;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Main {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` static`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` void`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` main(String[] args) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`throws`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Exception {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` String url = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.apimart.ai/v1/videos/generations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` String payload = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A cinematic 30-second steampunk miniature landscape sequence\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"720p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 30`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HttpClient client = HttpClient.newHttpClient();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HttpRequest request = HttpRequest.newBuilder()`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .uri(URI.create(url))`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .header(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .header(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .POST(HttpRequest.BodyPublishers.ofString(payload))`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .build();`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HttpResponse\u003cString> response = client.send(request,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HttpResponse.BodyHandlers.ofString());`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` System.out.println(response.body());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`26`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c?php`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$url = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.apimart.ai/v1/videos/generations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$payload = [`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cinematic 30-second steampunk miniature landscape sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => 30`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ch = curl_init($url);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`curl_setopt($ch, CURLOPT_RETURNTRANSFER, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`curl_setopt($ch, CURLOPT_POST, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`curl_setopt($ch, CURLOPT_HTTPHEADER, [`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$response = curl_exec($ch);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`curl_close($ch);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $response;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?>`})}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KMCGF6BQGN3X28H3KSR50X5T\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid request parameters\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_request_error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`401`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authentication failed. Please check your API key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"authentication_error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`402`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`402`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Insufficient balance. Please top up and try again\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment_required\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`429`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`429`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Too many requests. Please try again later\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rate_limit_error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`500`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Internal server error. Please try again later\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"server_error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Bearer token auth. Get a key from the `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`API Key page`}),`.`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request parameters`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Fixed value: `,_jsx(_components.code,{children:`seedance-2.5`})]})}),`\n`,_jsxs(ParamField,{body:`nsfw_check`,type:`boolean`,default:`false`,id:`param-nsfw-check`,children:[_jsx(_components.p,{children:`Menentukan apakah moderasi konten dijalankan sebelum tugas video dikirim.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: periksa prompt dan gambar input dengan `,_jsx(_components.code,{children:`omni-moderation-latest`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` atau dihilangkan: tidak mengirim permintaan moderasi, tanpa biaya atau latensi moderasi tambahan (default)`]}),`\n`]}),_jsx(_components.p,{children:`Konten yang diperiksa:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Teks: `,_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`negative_prompt`})]}),`\n`,_jsxs(_components.li,{children:[`Gambar: `,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`image_with_roles[].url`}),`, `,_jsx(_components.code,{children:`first_frame_image`}),`, `,_jsx(_components.code,{children:`last_frame_image`})]}),`\n`,_jsxs(_components.li,{children:[`Aset privat gambar `,_jsx(_components.code,{children:`asset://`}),`: temukan lalu periksa URL publik aslinya`]}),`\n`,_jsx(_components.li,{children:`Gambar Base64: periksa setelah dikonversi menjadi URL publik`}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`video_urls`}),`, `,_jsx(_components.code,{children:`audio_urls`}),`, serta aset privat video/audio `,_jsx(_components.strong,{children:`tidak diperiksa`}),`, karena model moderasi tidak mendukung video atau audio.`]}),_jsxs(_components.p,{children:[`ID model yang didukung: `,_jsx(_components.code,{children:`seedance-2.0`}),`, `,_jsx(_components.code,{children:`seedance-2.0-fast`}),`, `,_jsx(_components.code,{children:`seedance-2.0-mini`}),`, `,_jsx(_components.code,{children:`seedance-2.0-face`}),`, `,_jsx(_components.code,{children:`seedance-2.0-fast-face`}),`, `,_jsx(_components.code,{children:`seedance-2-0`}),` (nama lama), dan `,_jsx(_components.code,{children:`seedance-2.5`}),`.`]}),_jsx(_components.p,{children:`Panggilan moderasi itu sendiri tidak ditagihkan kepada pengguna yang mengirim permintaan video.`}),_jsx(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Konten yang terdeteksi mengembalikan HTTP 400 (`,_jsx(_components.code,{children:`nsfw_content_detected`}),`) secara sinkron. Tugas dan `,_jsx(_components.code,{children:`task_id`}),` tidak dibuat, serta kuota pembuatan video tidak dipotong`]}),`\n`,_jsxs(_components.li,{children:[`Jika moderasi tidak tersedia, mengalami timeout, atau mengembalikan respons yang tidak valid, sistem menggunakan `,_jsx(_components.strong,{children:`fail-open`}),` dan pembuatan video dilanjutkan. Opsi ini bukan jaminan mutlak keamanan konten`]}),`\n`,_jsxs(_components.li,{children:[`Input yang tidak dapat diubah menjadi URL gambar publik akan dilewati; model yang tidak didukung mengabaikan `,_jsx(_components.code,{children:`nsfw_check: true`}),` tanpa pemberitahuan`]}),`\n`]})}),_jsx(_components.p,{children:`Contoh:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a cat walking on the beach\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/ref.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nsfw_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Respons saat terdeteksi:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"Your request was rejected by content moderation (`nsfw_check` is enabled). Flagged categories: sexual, violence/graphic.\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nsfw_content_detected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nsfw_content_detected\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{body:`draft`,type:`boolean`,id:`param-draft`,children:[_jsxs(_components.p,{children:[`Tetapkan `,_jsx(_components.code,{children:`true`}),` untuk membuat draf 480p. Hanya `,_jsx(_components.code,{children:`seedance-2.5`}),` yang mendukungnya. Jika dihilangkan, permintaan diproses sebagai pembuatan biasa.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`resolution`}),` hanya boleh `,_jsx(_components.code,{children:`480p`}),`; jika dihilangkan, menggunakan `,_jsx(_components.code,{children:`480p`})]}),`\n`,_jsxs(_components.li,{children:[`Tidak dapat digabungkan dengan `,_jsx(_components.code,{children:`draft_task_id`})]}),`\n`,_jsxs(_components.li,{children:[`Draf berlaku `,_jsx(_components.strong,{children:`3 hari sejak dibuat`}),` dan setelah berhasil dapat menghasilkan video final 1080p`]}),`\n`]}),_jsxs(_components.p,{children:[`Lihat alur di `,_jsx(_components.a,{href:`#mode-draf`,children:`Mode draf`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`draft_task_id`,type:`string`,id:`param-draft-task-id`,children:[_jsxs(_components.p,{children:[`Membuat video final 1080p dari draf yang selesai. Isi ID tugas APIMart dari respons pengiriman draf (`,_jsx(_components.code,{children:`data[0].task_id`}),`), bukan URL video.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Hanya `,_jsx(_components.code,{children:`seedance-2.5`}),`; gunakan model yang sama dengan draf`]}),`\n`,_jsx(_components.li,{children:`Draf harus milik pengguna API Key saat ini, selesai dengan sukses, dan belum lebih dari 3 hari sejak dibuat`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`resolution`}),` hanya boleh `,_jsx(_components.code,{children:`1080p`}),`; jika dihilangkan, menggunakan `,_jsx(_components.code,{children:`1080p`})]}),`\n`,_jsxs(_components.li,{children:[`Tidak dapat digabungkan dengan `,_jsx(_components.code,{children:`draft: true`}),`; jangan kirim ulang bidang warisan seperti `,_jsx(_components.code,{children:`prompt`}),`, media referensi, atau durasi`]}),`\n`]}),_jsxs(_components.p,{children:[`Bidang yang dapat diubah dan batasan: `,_jsx(_components.a,{href:`#mode-draf`,children:`Mode draf`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:[_jsxs(_components.p,{children:[`Wajib untuk pembuatan biasa dan draf. Dilarang saat menggunakan `,_jsx(_components.code,{children:`draft_task_id`}),`: prompt draf diwarisi otomatis.`]}),_jsxs(_components.p,{children:[`Prompt. Reference media with `,_jsx(_components.code,{children:`@图片1`}),` / `,_jsx(_components.code,{children:`@视频1`}),` / `,_jsx(_components.code,{children:`@音频1`}),` (1-based index matching array order). English aliases in prompts may also be used depending on model behavior; keep indices aligned with arrays.`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"Use @视频1 for first-person framing throughout, @音频1 as BGM, first frame is @图片1\"`})]})]}),`\n`,_jsxs(ParamField,{body:`resolution`,type:`string`,default:`720p`,id:`param-resolution`,children:[_jsxs(_components.p,{children:[`Resolution — `,_jsx(_components.strong,{children:`only`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`480p`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`720p`}),` (default)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`1080p`})}),`\n`]}),_jsxs(_components.p,{children:[`Unsupported values like `,_jsx(_components.code,{children:`2k`}),` / `,_jsx(_components.code,{children:`4k`}),` return a sync `,_jsx(_components.strong,{children:`400`}),`.`]}),_jsxs(_components.p,{children:[`Pengecualian mode draf: `,_jsx(_components.code,{children:`draft: true`}),` hanya mendukung `,_jsx(_components.code,{children:`480p`}),` dan default-nya sama; `,_jsx(_components.code,{children:`draft_task_id`}),` hanya mendukung `,_jsx(_components.code,{children:`1080p`}),` dan default-nya sama.`]})]}),`\n`,_jsxs(ParamField,{body:`size`,type:`string`,default:`adaptive`,id:`param-size`,children:[_jsxs(_components.p,{children:[`Aspect ratio (field name `,_jsx(_components.code,{children:`aspect_ratio`}),` is also accepted).`]}),_jsxs(_components.p,{children:[`Values: `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, `,_jsx(_components.code,{children:`9:16`}),`, `,_jsx(_components.code,{children:`21:9`}),`, `,_jsx(_components.code,{children:`adaptive`}),` (default)`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`Edit, extend, and first/last-frame jobs have hard `,_jsx(_components.code,{children:`size`}),` constraints — see `,_jsx(_components.a,{href:`#task-types-and-constraints`,children:`Task types and constraints`}),`.`]})})]}),`\n`,_jsxs(ParamField,{body:`duration`,type:`integer`,default:`5`,id:`param-duration`,children:[_jsx(_components.p,{children:`Duration in seconds:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4`}),` ~ `,_jsx(_components.code,{children:`30`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`-1`}),`: model picks duration (pre-charge at the `,_jsx(_components.strong,{children:`30s`}),` cap; settle to actual length after completion)`]}),`\n`]}),_jsxs(_components.p,{children:[`If omitted: generate and bill `,_jsx(_components.strong,{children:`5`}),` seconds.`]})]}),`\n`,_jsxs(ParamField,{body:`generate_audio`,type:`boolean`,default:`true`,id:`param-generate-audio`,children:[_jsxs(_components.p,{children:[`Whether to generate audio (alias field name: `,_jsx(_components.code,{children:`audio`}),`).`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: with audio (default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),`: silent video`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`watermark`,type:`boolean`,default:`false`,id:`param-watermark`,children:_jsxs(_components.p,{children:[`Add an “AI generated” watermark. Default `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ParamField,{body:`seed`,type:`integer`,id:`param-seed`,children:_jsx(_components.p,{children:`Random seed. Different seeds usually yield different results for the same request; the same seed is similar but not guaranteed identical.`})}),`\n`,_jsxs(ParamField,{body:`output_format`,type:`string`,default:`mp4`,id:`param-output-format`,children:[_jsx(_components.p,{children:`Output container:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mp4`}),` (default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mov`}),`: higher color precision — `,_jsx(_components.strong,{children:`recommended`}),` for edit / extend workflows`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`omni_reference_task_type`,type:`string`,default:`auto`,id:`param-omni-reference-task-type`,children:[_jsxs(_components.p,{children:[`Sub-task type hint: `,_jsx(_components.code,{children:`auto`}),` / `,_jsx(_components.code,{children:`reference`}),` / `,_jsx(_components.code,{children:`edit`}),` / `,_jsx(_components.code,{children:`extend`}),`.`]}),_jsxs(_components.p,{children:[`Passing `,_jsx(_components.code,{children:`reference`}),` / `,_jsx(_components.code,{children:`edit`}),` / `,_jsx(_components.code,{children:`extend`}),` validates that type’s constraints `,_jsx(_components.strong,{children:`at submit time`}),`. Invalid requests return `,_jsx(_components.strong,{children:`400`}),`, create no task, and charge nothing. See `,_jsx(_components.a,{href:`#task-types-and-constraints`,children:`Task types and constraints`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`array\u003cstring>`,id:`param-image-urls`,children:[_jsxs(_components.p,{children:[`Reference image URLs, all treated as `,_jsx(_components.code,{children:`reference_image`}),`.`]}),_jsx(_components.p,{children:`Supports:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Public URL: `,_jsx(_components.code,{children:`https://example.com/pic.jpg`})]}),`\n`,_jsxs(_components.li,{children:[`Private asset: `,_jsx(_components.code,{children:`asset://cm9xxxxxxxx`})]}),`\n`]}),_jsxs(_components.p,{children:[`For first/last frames use `,_jsx(_components.code,{children:`image_with_roles`}),`.`]}),_jsx(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Max `,_jsx(_components.strong,{children:`30`}),` images`]}),`\n`,_jsxs(_components.li,{children:[`Prefer `,_jsx(_components.code,{children:`image_with_roles`}),` for first/last-frame roles`]}),`\n`]})})]}),`\n`,_jsxs(ParamField,{body:`image_with_roles`,type:`array\u003cobject>`,id:`param-image-with-roles`,children:[_jsx(_components.p,{children:`Images with explicit roles.`}),_jsxs(Expandable,{title:`Fields`,children:[_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsxs(_components.p,{children:[`Image URL or `,_jsx(_components.code,{children:`asset://...`})]})}),_jsx(ParamField,{body:`role`,type:`string`,required:true,id:`param-role`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`first_frame`}),`: first frame (1 image)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last_frame`}),`: last frame (1 image, usually with first frame)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reference_image`}),`: reference image (up to 30 total)`]}),`\n`]})})]}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/first.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"first_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/last.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`video_urls`}),` / `,_jsx(_components.code,{children:`audio_urls`}),` are present, `,_jsx(_components.code,{children:`first_frame`}),` / `,_jsx(_components.code,{children:`last_frame`}),` are auto-converted to `,_jsx(_components.code,{children:`reference_image`}),` (multimodal reference job).`]})})]}),`\n`,_jsxs(ParamField,{body:`video_urls`,type:`array\u003cstring>`,id:`param-video-urls`,children:[_jsxs(_components.p,{children:[`Reference videos (`,_jsx(_components.code,{children:`reference_video`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Input`}),`: video URL or asset ID (`,_jsx(_components.code,{children:`asset://...`}),`).`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`#reference-video-specs`,children:`Reference video specs`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`audio_urls`,type:`array\u003cstring>`,id:`param-audio-urls`,children:[_jsxs(_components.p,{children:[`Reference audio URLs (`,_jsx(_components.code,{children:`reference_audio`}),`). Public URLs or `,_jsx(_components.code,{children:`asset://...`}),`.`]}),_jsxs(_components.p,{children:[`Max `,_jsx(_components.strong,{children:`10`}),`; total duration ≤ `,_jsx(_components.strong,{children:`30s`}),` (each clip 2~30s).`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`2.5 supports `,_jsx(_components.strong,{children:`audio-only`}),` reference (no image/video required).`]})})]}),`\n`,_jsx(ParamField,{body:`return_last_frame`,type:`boolean`,default:`false`,id:`param-return-last-frame`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the successful result also includes the last-frame image for chaining.`]})}),`\n`,_jsxs(ParamField,{body:`tools`,type:`array\u003cobject>`,id:`param-tools`,children:[_jsx(_components.p,{children:`Tool list for enhancements such as web search.`}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"web_search\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`]})})}),_jsx(Expandable,{title:`Fields`,children:_jsxs(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:[_jsx(_components.p,{children:`Tool type`}),_jsx(_components.p,{children:`Values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`web_search`}),` — web search; generation can ground on online information`]}),`\n`]})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`media-limits`,children:`Media limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Media`}),_jsx(_components.th,{children:`Limits`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Images`}),_jsx(_components.td,{children:`≤30; jpeg / png / webp / bmp / tiff / gif / heic / heif; aspect ratio [0.4, 2.5]; side length [300, 6000]px; each \u003c30MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Videos`}),_jsxs(_components.td,{children:[`See `,_jsx(_components.a,{href:`#reference-video-specs`,children:`Reference video specs`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Audio`}),_jsxs(_components.td,{children:[`≤10; wav / mp3; each [2, 30]s and `,_jsx(_components.strong,{children:`total ≤30s`}),`; each ≤15MB`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`reference-video-specs`,children:`Reference video specs`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Input`}),`: video URL or asset ID (`,_jsx(_components.code,{children:`asset://...`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Container`}),`: `,_jsx(_components.code,{children:`mp4`}),`, `,_jsx(_components.code,{children:`mov`}),` — codecs in the table below`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Resolution`}),`: `,_jsx(_components.code,{children:`480p`}),`, `,_jsx(_components.code,{children:`720p`}),`, `,_jsx(_components.code,{children:`1080p`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Duration`}),`: each clip [2, 30] s; up to `,_jsx(_components.strong,{children:`10`}),` reference videos; `,_jsx(_components.strong,{children:`total duration of all videos ≤ 30s`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Per-video dimensions`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Aspect ratio (width/height): [0.4, 2.5]`}),`\n`,_jsx(_components.li,{children:`Side length (px): [300, 6000]`}),`\n`,_jsx(_components.li,{children:`Total pixels: [640×640=409600, 3326×2494=8295044], i.e. width × height must fall in [409600, 8295044]`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Size`}),`: each video ≤ `,_jsx(_components.strong,{children:`200 MB`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Frame rate (FPS)`}),`: [24, 60]`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`supported-codecs`,children:`Supported codecs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Container`}),_jsx(_components.th,{children:`Video codec`}),_jsx(_components.th,{children:`Audio codec`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mp4`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`H.264 / H.265`}),_jsx(_components.td,{children:`AAC / MP3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mov`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`H.264 / H.265`}),_jsx(_components.td,{children:`AAC / MP3`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`task-types-and-constraints`,children:`Task types and constraints`}),`\n`,_jsxs(_components.p,{children:[`The service infers task type from references and `,_jsx(_components.strong,{children:`prompt intent`}),`. The last three types hard-constrain `,_jsx(_components.code,{children:`size`}),` / `,_jsx(_components.code,{children:`duration`}),`; violations fail `,_jsx(_components.strong,{children:`asynchronously after the job starts`}),` (e.g. `,_jsx(_components.code,{children:`InvalidParameter.TaskTypeConstraint`}),`):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Task type`}),_jsx(_components.th,{children:`Trigger`}),_jsx(_components.th,{children:`Constraints`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Text-to-video`}),_jsx(_components.td,{children:`Text only`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference-to-video`}),_jsx(_components.td,{children:`References + normal descriptive prompt`}),_jsxs(_components.td,{children:[`None. `,_jsx(_components.strong,{children:`Avoid`}),` words like “edit / extend / continue / delete / replace” in the prompt to prevent misclassification`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Video edit`}),_jsx(_components.td,{children:`References + prompt with “edit video / add / delete / modify / replace”, etc.`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),`, `,_jsx(_components.code,{children:`duration`}),` must be `,_jsx(_components.code,{children:`-1`}),`; source video 4~30s`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Video extend`}),_jsx(_components.td,{children:`References + prompt with “extend forward/backward / continue / sequel”`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`First / first–last frame`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_with_roles`}),` uses `,_jsx(_components.code,{children:`first_frame`}),` / `,_jsx(_components.code,{children:`last_frame`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),` (also checked at submit time)`]})]})]})]}),`\n`,_jsxs(Heading,{level:`3`,id:`turn-async-errors-into-sync-errors-with-omni_reference_task_type`,children:[`Turn async errors into sync errors with `,_jsx(_components.code,{children:`omni_reference_task_type`})]}),`\n`,_jsxs(_components.p,{children:[`Passing `,_jsx(_components.code,{children:`reference`}),` / `,_jsx(_components.code,{children:`edit`}),` / `,_jsx(_components.code,{children:`extend`}),` declares the sub-task type so its constraints are `,_jsx(_components.strong,{children:`validated at submit time`}),`. Invalid requests return 400 immediately: no task is created and nothing is charged — you do not have to poll until `,_jsx(_components.code,{children:`failed`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`Constraints checked at submit`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`auto`}),` (default)`]}),_jsx(_components.td,{children:`Model infers the type`}),_jsxs(_components.td,{children:[`None (violations fail `,_jsx(_components.strong,{children:`asynchronously`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference`})}),_jsx(_components.td,{children:`Reference-to-video`}),_jsxs(_components.td,{children:[`None (`,_jsx(_components.code,{children:`size`}),` / `,_jsx(_components.code,{children:`duration`}),` unrestricted)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit`})}),_jsx(_components.td,{children:`Video edit`}),_jsxs(_components.td,{children:[`At least one item in `,_jsx(_components.code,{children:`video_urls`}),`; `,_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),` (or omitted); `,_jsx(_components.code,{children:`duration`}),` must be `,_jsx(_components.code,{children:`-1`}),` (or omitted, see below); source video 4~30s`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extend`})}),_jsx(_components.td,{children:`Video extend`}),_jsxs(_components.td,{children:[`At least one item in `,_jsx(_components.code,{children:`video_urls`}),`; `,_jsx(_components.code,{children:`size`}),` must be `,_jsx(_components.code,{children:`adaptive`}),` (or omitted)`]})]})]})]}),`\n`,_jsx(_components.p,{children:`Notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`If `,_jsx(_components.code,{children:`edit`}),` omits `,_jsx(_components.code,{children:`duration`}),`, the platform sets it to `,_jsx(_components.code,{children:`-1`}),`.`]}),` Omitting `,_jsx(_components.code,{children:`duration`}),` otherwise defaults to 5 seconds, which conflicts with the upstream `,_jsx(_components.code,{children:`edit`}),` requirement of `,_jsx(_components.code,{children:`-1`}),`. The trade-off is a `,_jsx(_components.strong,{children:`30-second prepaid hold`}),` (same as `,_jsx(_components.code,{children:`duration: -1`}),`); unused amount is refunded after completion. For a smaller hold, skip `,_jsx(_components.code,{children:`edit`}),` and use default `,_jsx(_components.code,{children:`auto`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`If `,_jsx(_components.code,{children:`edit`}),` sends `,_jsx(_components.code,{children:`duration`}),` explicitly, it must be `,_jsx(_components.code,{children:`-1`}),`.`]}),` Any other value returns 400 (output length follows the source video).`]}),`\n`,_jsxs(_components.li,{children:[`⚠️ `,_jsxs(_components.strong,{children:[`You can still fail asynchronously with `,_jsx(_components.code,{children:`InvalidParameter.TaskTypeMismatch`}),`.`]}),` Upstream re-classifies the job from the prompt; a mismatch with your declared type is rejected. Keep prompt wording aligned (`,_jsx(_components.code,{children:`edit`}),`: “edit / delete / replace…”; `,_jsx(_components.code,{children:`extend`}),`: “extend forward/backward / continue…”).`]}),`\n`,_jsx(_components.li,{children:`All Seedance 2.5 channels share the same validation and upstream payload; switching channels does not change this behavior.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`asset-library`,children:`Asset library`}),`\n`,_jsxs(_components.p,{children:[`You can pass public URLs as references, or upload into the library first and use `,_jsx(_components.code,{children:`asset://`}),`. `,_jsx(_components.strong,{children:`Prefer the library`}),` when:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Real human faces must use the library`}),` — raw URLs are blocked by content moderation; only approved library assets can be used`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Assets are reused often`}),` — upload once, skip repeated moderation on later jobs, faster submits`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`URLs are signed temporary links`}),` — the platform stores a durable copy on ingest so later use does not depend on the original URL staying alive`]}),`\n`,_jsxs(_components.li,{children:[`Library assets are `,_jsx(_components.strong,{children:`synced to all available channels`}),` so multi-channel routing can use them wherever the job lands`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The library is `,_jsx(_components.strong,{children:`shared`}),` with the 2.0 family; approved `,_jsx(_components.code,{children:`asset://`}),` IDs work in both 2.0 and 2.5 generation requests. Full submit fields: also see `,_jsx(_components.a,{href:`/id/api-reference/videos/seedance-2-0/private-avatar`,children:`Private avatar assets`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`upload-assets`,children:`Upload assets`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`POST /v1/seedance2/private-avatar/assets`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Content-Type: application/json`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --request POST \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --url https://api.apimart.ai/v1/seedance2/private-avatar/assets \\\\`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"group\": { \"name\": \"my-assets\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset_type\": \"Image\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assets\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"url\": \"https://example.com/a.png\", \"name\": \"a\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"url\": \"https://example.com/b.png\", \"name\": \"b\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Model the assets will be used with (defaults to 2.0). `,_jsx(_components.strong,{children:`Sets the duration tier`}),`; for 2.5 pass `,_jsx(_components.code,{children:`seedance-2.5`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`group`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Asset group; created automatically if omitted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asset_type`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Image`}),` / `,_jsx(_components.code,{children:`Video`}),` / `,_jsx(_components.code,{children:`Audio`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assets[].url`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Public media URL`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assets[].name`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Asset name`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The response includes a local task `,_jsx(_components.code,{children:`id`}),`. Poll with `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`Get task status`}),` (`,_jsx(_components.code,{children:`GET /v1/tasks/{id}`}),`). After approval, list assets to obtain the `,_jsx(_components.code,{children:`asset://`}),` ID.`]}),`\n`,_jsx(Heading,{level:`3`,id:`media-limits-validated-at-submit`,children:`Media limits (validated at submit)`}),`\n`,_jsxs(_components.p,{children:[`Violations return `,_jsx(_components.strong,{children:`400 immediately`}),` (which asset index and which rule), without starting moderation or consuming moderation quota:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Media`}),_jsx(_components.th,{children:`Limits`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Image`}),_jsx(_components.td,{children:`jpeg / png / webp / bmp / tiff / gif / heic / heif; side length [300, 6000]px; aspect ratio [0.4, 2.5]; each \u003c30MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Video`}),_jsxs(_components.td,{children:[`mp4 / mov; each ≤200MB; duration `,_jsx(_components.strong,{children:`by model`}),`: 2.0 family [2, 15]s, `,_jsx(_components.strong,{children:`2.5 [2, 30]s`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Audio`}),_jsx(_components.td,{children:`wav / mp3; each ≤15MB; duration tiers same as video`})]})]})]}),`\n`,_jsx(_components.p,{children:`Error example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_asset_material\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video #1: duration must be between 2s and 15s for seedance-2.0 (got 30s)\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`For 30s video assets, submit with `,_jsx(_components.code,{children:`\"model\": \"seedance-2.5\"`}),` (2.0 cannot use assets longer than 15s).`,_jsx(_components.br,{}),`\n`,`If the platform cannot probe the media (e.g. network blip), it may pass through and leave the decision to moderation.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`use-in-generation-requests`,children:`Use in generation requests`}),`\n`,_jsxs(_components.p,{children:[`Reference approved assets with `,_jsx(_components.code,{children:`asset://`}),` in `,_jsx(_components.code,{children:`image_urls`}),` / `,_jsx(_components.code,{children:`image_with_roles`}),` / `,_jsx(_components.code,{children:`video_urls`}),` / `,_jsx(_components.code,{children:`audio_urls`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The person in @图片1 walks along the beach\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asset://cm9xxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Multi-channel: after ingest, assets sync to all available channels so any routed channel can use them. If a channel’s copy is missing, the platform may re-upload from the original URL as a fallback (if that URL is already expired, that channel is skipped and another takes over).`}),`\n`,_jsx(Heading,{level:`3`,id:`management-apis-quick-reference`,children:`Management APIs (quick reference)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Path`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets`})}),_jsx(_components.td,{children:`List assets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets/{asset_id}`})}),_jsx(_components.td,{children:`Asset detail (incl. moderation status)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PATCH`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets/{asset_id}`})}),_jsx(_components.td,{children:`Update asset metadata`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DELETE`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/assets/{asset_id}`})}),_jsx(_components.td,{children:`Delete asset`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST`}),` / `,_jsx(_components.code,{children:`GET`}),` / `,_jsx(_components.code,{children:`PATCH`}),` / `,_jsx(_components.code,{children:`DELETE`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/seedance2/private-avatar/groups[/{id}]`})}),_jsx(_components.td,{children:`Asset group management`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Asset APIs are `,_jsx(_components.strong,{children:`free of charge`}),` (auth + rate limits only); they do not create billing records.`]}),`\n`,_jsx(Heading,{level:`3`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: How long does moderation take?`}),_jsx(_components.br,{}),`\n`,`Images usually seconds; video and real-person assets may take minutes. Poll the task `,_jsx(_components.code,{children:`id`}),` until a terminal status.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: Moderation failed with no clear reason?`}),_jsx(_components.br,{}),`\n`,`Some failures omit a detailed reason (often a transient fetch failure). The platform already retries once; if it still fails, change the URL (ensure it is publicly downloadable) and resubmit.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: Same asset for both 2.0 and 2.5 — upload twice?`}),_jsx(_components.br,{}),`\n`,`No. Upload once; `,_jsx(_components.code,{children:`asset://`}),` works for both generations. Cross-channel / cross-model sync is handled by the platform.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Q: Can I pass a real-person face as a raw URL?`}),_jsx(_components.br,{}),`\n`,`Real-person assets must go through the library first.`]}),`\n`,_jsx(Heading,{level:`2`,id:`billing`,children:`Billing`}),`\n`,_jsxs(_components.p,{children:[`Aturan ini berlaku untuk pembuatan biasa dan draf. Untuk video final, lihat `,_jsx(_components.a,{href:`#penagihan-mode-draf`,children:`Penagihan mode draf`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Billed by `,_jsx(_components.strong,{children:`seconds × resolution tier`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`With reference video input`}),`: billable seconds = total input video duration (≤30s) + output duration, at the input-reference rate tier.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`duration = -1`}),` (auto): pre-charge at the `,_jsx(_components.strong,{children:`30s`}),` cap; settle to actual output after completion.`]}),`\n`,_jsxs(_components.li,{children:[`Omit `,_jsx(_components.code,{children:`duration`}),`: generate and bill `,_jsx(_components.strong,{children:`5`}),` seconds.`]}),`\n`,_jsxs(_components.li,{children:[`Failed jobs or content moderation blocks: `,_jsx(_components.strong,{children:`full refund`}),` (charge only on successful output).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`mode-draf`,children:`Mode draf`}),`\n`,_jsxs(_components.p,{children:[`Buat draf 480p untuk memeriksa tampilan, lalu gunakan ID tugasnya untuk membuat video final 1080p. Video final memakai ulang prompt, media referensi, durasi, rasio, `,_jsx(_components.code,{children:`seed`}),`, pengaturan audio, dan tipe tugas agar sesuai dengan draf.`]}),`\n`,_jsx(Heading,{level:`3`,id:`langkah-1-membuat-draf-480p`,children:`Langkah 1: Membuat draf 480p`}),`\n`,_jsxs(_components.p,{children:[`Tambahkan `,_jsx(_components.code,{children:`\"draft\": true`}),` ke permintaan biasa. Batas media dan tipe tugas tetap sama. Jika `,_jsx(_components.code,{children:`resolution`}),` dihilangkan, digunakan `,_jsx(_components.code,{children:`480p`}),`; `,_jsx(_components.code,{children:`720p`}),` atau `,_jsx(_components.code,{children:`1080p`}),` menghasilkan 400.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X POST `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.apimart.ai/v1/videos/generations'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Seekor rubah duduk di rumput, kamera perlahan menjauh dan angin sepoi menggerakkan bulunya\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_urls\": [\"https://example.com/reference.png\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"draft\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Baca ID draf dari `,_jsx(_components.code,{children:`data[0].task_id`}),`. Poll `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`status tugas`}),` dan kirim video final hanya setelah `,_jsx(_components.code,{children:`data.status=completed`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.apimart.ai/v1/tasks/task_01KZEVX5R6DM5K9T698P1SDKCR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Lakukan kueri setiap 5–15 detik. `,_jsx(_components.code,{children:`pending`}),`: antrean; `,_jsx(_components.code,{children:`processing`}),`: sedang dibuat; `,_jsx(_components.code,{children:`completed`}),`: sukses; `,_jsx(_components.code,{children:`failed`}),`: gagal. URL video ada di array `,_jsx(_components.code,{children:`data.result.videos[].url`}),`; baca `,_jsx(_components.code,{children:`url[0]`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`langkah-2-membuat-video-final-1080p`,children:`Langkah 2: Membuat video final 1080p`}),`\n`,_jsxs(_components.p,{children:[`Isi `,_jsx(_components.code,{children:`draft_task_id`}),` dengan ID dari langkah 1. Jika `,_jsx(_components.code,{children:`resolution`}),` dihilangkan, digunakan `,_jsx(_components.code,{children:`1080p`}),`; resolusi lain menghasilkan 400.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X POST `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.apimart.ai/v1/videos/generations'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"seedance-2.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"draft_task_id\": \"task_01KZEVX5R6DM5K9T698P1SDKCR\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"mov\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"return_last_frame\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Video final mengembalikan ID tugas baru. Kueri hasil melalui `,_jsx(_components.code,{children:`GET /v1/tasks/{task_id}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Bidang berikut diwarisi dari draf. `,_jsx(_components.strong,{children:`Jangan kirim ulang: nilai yang sama pun menghasilkan 400`}),`:`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`image_with_roles`}),`, `,_jsx(_components.code,{children:`video_urls`}),`, `,_jsx(_components.code,{children:`audio_urls`}),`, `,_jsx(_components.code,{children:`duration`}),`, `,_jsx(_components.code,{children:`size`}),`, `,_jsx(_components.code,{children:`aspect_ratio`}),`, `,_jsx(_components.code,{children:`seed`}),`, `,_jsx(_components.code,{children:`generate_audio`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`omni_reference_task_type`}),`, `,_jsx(_components.code,{children:`generation_type`}),`, `,_jsx(_components.code,{children:`camerafixed`}),`, `,_jsx(_components.code,{children:`web_search`}),`, `,_jsx(_components.code,{children:`tools`}),`.`]}),`\n`,_jsx(_components.p,{children:`Opsi output berikut dapat diubah:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Keterangan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_format`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mp4`}),` (default) atau `,_jsx(_components.code,{children:`mov`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`return_last_frame`})}),_jsx(_components.td,{children:`Mengembalikan frame terakhir; jika dihilangkan, memakai default model, bukan pengaturan draf`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`watermark`})}),_jsx(_components.td,{children:`Menambahkan watermark; jika dihilangkan, memakai default model, bukan pengaturan draf`})]})]})]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`draft: true`}),` dan `,_jsx(_components.code,{children:`draft_task_id`}),` saling eksklusif. Draf maupun video final tidak mendukung `,_jsx(_components.code,{children:`service_tier`}),`.`]}),_jsx(_components.p,{children:`Draf berlaku 3 hari sejak dibuat. Tugas tidak ditemukan, milik pengguna lain, belum sukses, bukan draf, atau kedaluwarsa menghasilkan 400 saat pengiriman video final, tanpa membuat tugas atau menagih biaya.`})]}),`\n`,_jsxs(_components.p,{children:[`Video final harus memakai rute yang sama dengan draf; sistem menghubungkannya secara otomatis. Jika rute sementara tidak tersedia, pengiriman menghasilkan 400. Coba lagi nanti dengan `,_jsx(_components.code,{children:`draft_task_id`}),` yang sama.`]}),`\n`,_jsx(_components.p,{children:`Draf yang belum kedaluwarsa dapat menghasilkan beberapa video final. Masing-masing merupakan tugas independen dengan tagihan terpisah.`}),`\n`,_jsx(Heading,{level:`3`,id:`penagihan-mode-draf`,children:`Penagihan mode draf`}),`\n`,_jsx(_components.p,{children:`Draf ditagih sebagai video 480p biasa. Durasi video referensi input dihitung seperti biasa, total maksimal 30 detik.`}),`\n`,_jsxs(_components.p,{children:[`Video final ditagih pada `,_jsx(_components.strong,{children:`1080p`}),`. Pilih tingkat `,_jsx(_components.code,{children:`1080P-input`}),` jika langkah 1 menyertakan video referensi asli, atau tingkat standar `,_jsx(_components.code,{children:`1080P`}),` jika tidak. Penyelesaian tagihan menggunakan harga per token pada tingkat yang dipilih.`]}),`\n`,_jsxs(_components.p,{children:[`Detik input yang ditagih untuk video final berasal dari total durasi video referensi asli pada langkah 1, maksimal 30 detik. `,_jsx(_components.strong,{children:`Video Draft yang dihasilkan tidak dihitung sebagai input video.`}),` POST video final tetap merujuk ke `,_jsx(_components.code,{children:`draft_task_id`}),`; jangan kirim ulang media referensi atau kolom lain yang diwarisi. Tidak mengirim ulang media bukan berarti durasi referensi asli dikecualikan dari penagihan.`]}),`\n`,_jsxs(_components.p,{children:[`Misalnya, jika langkah 1 meminta output 11 detik dengan video referensi asli berdurasi total 22 detik, estimasikan token video final menggunakan `,_jsx(_components.code,{children:`11 + 22 = 33`}),` detik dan harga per token untuk tingkat `,_jsx(_components.code,{children:`1080P-input`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Durasi draf`}),_jsx(_components.th,{children:`Reservasi draf`}),_jsx(_components.th,{children:`Reservasi video final`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`4–30 detik eksplisit`}),_jsx(_components.td,{children:`Durasi yang ditentukan pada 480p, referensi dihitung seperti biasa`}),_jsx(_components.td,{children:`Durasi output yang sama ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration: -1`}),` atau `,_jsx(_components.code,{children:`edit`}),` tanpa durasi yang dinormalisasi ke `,_jsx(_components.code,{children:`-1`})]}),_jsx(_components.td,{children:`Output maksimal 30 detik, referensi dihitung seperti biasa`}),_jsx(_components.td,{children:`Output hingga 30 detik ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` dihilangkan pada kasus lain`]}),_jsx(_components.td,{children:`Output 5 detik, referensi dihitung seperti biasa`}),_jsx(_components.td,{children:`Output 5 detik ditambah durasi video referensi asli langkah 1, pada tingkat 1080p yang sesuai`})]})]})]}),`\n`,_jsx(_components.p,{children:`Setelah sukses, tagihan disesuaikan dengan token aktual: kelebihan dikembalikan dan kekurangan ditagih. Kegagalan mendapat pengembalian penuh. Tarif dan diskon mengikuti harga model.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Token draf = (detik video input + detik output) × lebar × tinggi × 24 ÷ 1024`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Estimasi token video final = (detik video referensi asli langkah 1 + detik output final) × lebar × tinggi × 24 ÷ 1024`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Lebar dan tinggi adalah dimensi piksel output tugas terkait. Setelah sukses, `,_jsx(_components.code,{children:`data.usage.completion_tokens`}),` mengembalikan token untuk rekonsiliasi tagihan.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-examples`,children:`Request examples`}),`\n`,_jsx(Heading,{level:`3`,id:`text-to-video-30s`,children:`Text-to-video (30s)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cinematic 30-second steampunk miniature landscape sequence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`multimodal-reference-image-+-video-+-audio`,children:`Multimodal reference (image + video + audio)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Use @视频1 for first-person framing, @音频1 as BGM, first frame is @图片1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/pic1.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/pic2.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/ref.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/bgm.mp3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`11`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`video-edit`,children:`Video edit`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Edit the video: remove all passers-by in @视频1, keep only the main character\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/input.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"adaptive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mov\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`first–last-frame`,children:`First–last frame`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The girl in the image says `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`cheese`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` to the camera, 360-degree orbit shot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_with_roles\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/first.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"first_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/last.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_frame\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"adaptive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`private-asset`,children:`Private asset`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A person walking naturally on a city street in sunlight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asset://cm9xxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`web-search`,children:`Web search`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Generate a short tech-news video intro based on the latest information\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"web_search\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`common-errors`,children:`Common errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Symptom`}),_jsx(_components.th,{children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`400 unsupported `,_jsx(_components.code,{children:`resolution`})]}),_jsxs(_components.td,{children:[`Passed unsupported values such as `,_jsx(_components.code,{children:`2k`}),` / `,_jsx(_components.code,{children:`4k`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`400 `,_jsx(_components.code,{children:`This model only supports duration 4-30 seconds, or -1`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` out of range`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`400 `,_jsx(_components.code,{children:`first_frame/last_frame tasks only support ratio=adaptive`})]}),_jsx(_components.td,{children:`First/last-frame job with a fixed aspect ratio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Async failure (edit / extend style message)`}),_jsxs(_components.td,{children:[`Prompt classified as edit/extend but `,_jsx(_components.code,{children:`size`}),` / `,_jsx(_components.code,{children:`duration`}),` violate that type’s rules`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Async failure `,_jsx(_components.code,{children:`SensitiveContentDetected`})]}),_jsx(_components.td,{children:`Media or output failed moderation`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-submit`,children:`Response (submit)`}),`\n`,_jsx(ResponseField,{name:`code`,type:`integer`,id:`param-code`,children:_jsxs(_components.p,{children:[`Status code; `,_jsx(_components.code,{children:`200`}),` on success`]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsxs(_components.p,{children:[`Submit response with `,_jsx(_components.code,{children:`status`}),` / `,_jsx(_components.code,{children:`task_id`})]}),_jsxs(Expandable,{title:`Array item`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Initially `,_jsx(_components.code,{children:`submitted`})]})}),_jsx(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id`,children:_jsxs(_components.p,{children:[`Task ID for `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`status polling`})]})})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`completed-task-get-/v1/tasks/task_id`,children:[`Completed task (`,_jsx(_components.code,{children:`GET /v1/tasks/{task_id}`}),`)`]}),`\n`,_jsxs(_components.p,{children:[`After submit, poll with `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`Get task status`}),`. When `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`completed`}),`, the payload looks like this.`]}),`\n`,_jsx(Heading,{level:`3`,id:`completed-response-example`,children:`Completed response example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KZEWTMH6TG3Z1X2QRP2B9ZG9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786132648`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786132748`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actual_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3104`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.104`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"completion_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38800`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"videos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/video/…-video_task_01KZEWTMH6TG3Z1X2QRP2B9ZG9.mp4\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786219148`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`completed-fields`,children:`Completed fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Task ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.status`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`completed`}),` when done`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.progress`})}),_jsx(_components.td,{children:`int`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`100`}),` when done`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`data.created`}),` / `,_jsx(_components.code,{children:`data.completed`})]}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Submit / finish time (Unix seconds)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.actual_time`})}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Elapsed seconds = completed − created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.estimated_time`})}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Platform ETA in seconds (reference only)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.cost`})}),_jsx(_components.td,{children:`float`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Actual charge in USD`}),` for this job (includes discounts; matches billing logs)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.credits_cost`})}),_jsx(_components.td,{children:`float`}),_jsxs(_components.td,{children:[`Credits charged = `,_jsx(_components.code,{children:`cost × 10`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.usage.completion_tokens`})}),_jsx(_components.td,{children:`int`}),_jsxs(_components.td,{children:[`Tokens consumed. Settlement: `,_jsx(_components.code,{children:`cost = completion_tokens ÷ 10⁶ × token unit price × discount`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.result.videos[].url`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`string[]`})}),_jsxs(_components.td,{children:[`Video URL(s). `,_jsx(_components.strong,{children:`This is an array`}),` — use `,_jsx(_components.code,{children:`url[0]`}),`. Values are `,_jsx(_components.strong,{children:`long-lived platform CDN URLs`}),` after re-hosting`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.result.videos[].expires_at`})}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Expiry timestamp (kept for compatibility; re-hosted URLs are long-lived)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.result.videos[].last_frame_url`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Last-frame image (only if submit used `,_jsx(_components.code,{children:`return_last_frame=true`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Failed tasks (`,_jsx(_components.code,{children:`status=failed`}),`): `,_jsx(_components.code,{children:`cost`}),` is always `,_jsx(_components.code,{children:`0`}),` (pre-charge fully refunded); reason in `,_jsx(_components.code,{children:`data.error.message`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`usage`}),` may be missing for a few seconds after completion (settlement lag); query again shortly`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`differences-from-2-0`,children:`Differences from 2.0`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Feature`}),_jsx(_components.th,{children:`2.0`}),_jsx(_components.th,{children:`2.5`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Model`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`seedance-2.0`}),`, etc.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.5`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duration`}),_jsx(_components.td,{children:`~4–15s`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`4–30s`}),`, or `,_jsx(_components.code,{children:`-1`}),` auto`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Resolution`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`480p / 720p / 1080p / 4k`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`480p / 720p / 1080p`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference images`}),_jsx(_components.td,{children:`≤9`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`≤30`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference videos`}),_jsx(_components.td,{children:`≤3, total ~\u003c15s`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`≤10, total ≤30s`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference audio`}),_jsx(_components.td,{children:`≤3, total ≤15s`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`≤10, total ≤30s`}),`; audio-only OK`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Output format`}),_jsx(_components.td,{children:`Mainly mp4`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`mp4 / mov`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Watermark`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`watermark`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Private `,_jsx(_components.code,{children:`asset://`})]}),_jsx(_components.td,{children:`Supported`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Shared`}),` with the same private APIs`]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"seedance-2.5 Video Generation","description":" - Async API; returns task_id for polling\n- Text-to-video / multimodal reference / edit / extend / first–last frame\n- Up to 30s per job; up to 30 images + 10 videos + 10 audios as references\n- Resolution supports 480p / 720p / 1080p; mp4 or mov output ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-2-5/generation"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Request parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Media limits","slug":"media-limits","depth":2,"children":[{"title":"Reference video specs","slug":"reference-video-specs","depth":3,"children":[]},{"title":"Supported codecs","slug":"supported-codecs","depth":4,"children":[]}]},{"title":"Task types and constraints","slug":"task-types-and-constraints","depth":2,"children":[{"title":"Turn async errors into sync errors with omni_reference_task_type","slug":"turn-async-errors-into-sync-errors-with-omni_reference_task_type","depth":3,"children":[]}]},{"title":"Asset library","slug":"asset-library","depth":2,"children":[{"title":"Upload assets","slug":"upload-assets","depth":3,"children":[]},{"title":"Media limits (validated at submit)","slug":"media-limits-validated-at-submit","depth":3,"children":[]},{"title":"Use in generation requests","slug":"use-in-generation-requests","depth":3,"children":[]},{"title":"Management APIs (quick reference)","slug":"management-apis-quick-reference","depth":3,"children":[]},{"title":"FAQ","slug":"faq","depth":3,"children":[]}]},{"title":"Billing","slug":"billing","depth":2,"children":[]},{"title":"Mode draf","slug":"mode-draf","depth":2,"children":[{"title":"Langkah 1: Membuat draf 480p","slug":"langkah-1-membuat-draf-480p","depth":3,"children":[]},{"title":"Langkah 2: Membuat video final 1080p","slug":"langkah-2-membuat-video-final-1080p","depth":3,"children":[]},{"title":"Penagihan mode draf","slug":"penagihan-mode-draf","depth":3,"children":[]}]},{"title":"Request examples","slug":"request-examples","depth":2,"children":[{"title":"Text-to-video (30s)","slug":"text-to-video-30s","depth":3,"children":[]},{"title":"Multimodal reference (image + video + audio)","slug":"multimodal-reference-image-+-video-+-audio","depth":3,"children":[]},{"title":"Video edit","slug":"video-edit","depth":3,"children":[]},{"title":"First–last frame","slug":"first–last-frame","depth":3,"children":[]},{"title":"Private asset","slug":"private-asset","depth":3,"children":[]},{"title":"Web search","slug":"web-search","depth":3,"children":[]}]},{"title":"Common errors","slug":"common-errors","depth":2,"children":[]},{"title":"Response (submit)","slug":"response-submit","depth":2,"children":[]},{"title":"Completed task (GET /v1/tasks/{task_id})","slug":"completed-task-get-/v1/tasks/task_id","depth":2,"children":[{"title":"Completed response example","slug":"completed-response-example","depth":3,"children":[]},{"title":"Completed fields","slug":"completed-fields","depth":3,"children":[]},{"title":"Notes","slug":"notes","depth":3,"children":[]}]},{"title":"Differences from 2.0","slug":"differences-from-2-0","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> --request POST \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> --url https://api.apimart.ai/v1/videos/generations \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> --header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> --header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> --data \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"seedance-2.5\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"A cinematic 30-second steampunk miniature landscape sequence\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\": \"16:9\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"720p\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\": 30\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">url = \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.apimart.ai/v1/videos/generations\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">payload = {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"seedance-2.5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A cinematic 30-second steampunk miniature landscape sequence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"16:9\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"720p\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: 30,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers = {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response = requests.post(url, json=payload, headers=headers)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">print(response.json())\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"23\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">const\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> url = \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.apimart.ai/v1/videos/generations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">const\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> payload = {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> model: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"seedance-2.5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> prompt: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A cinematic 30-second steampunk miniature landscape sequence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> size: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"16:9\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> resolution: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"720p\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> duration: 30,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">};\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">const\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> headers = {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> Authorization: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">};\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">fetch(url, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> method: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> headers: headers,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> body: JSON.stringify(payload),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">})\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .then((response) => response.json())\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .then((data) => console.log(data))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">catch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">((error) => console.error(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Error:\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, error));\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Go","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"go\">\u003ccode language=\"go\" numberOfLines=\"37\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">package\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> main\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"bytes\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"encoding/json\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"fmt\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"io/ioutil\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"net/http\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">func\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> main() {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> url := \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.apimart.ai/v1/videos/generations\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> payload := \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">map\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">[string]\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">interface\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{}{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"seedance-2.5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A cinematic 30-second steampunk miniature landscape sequence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"16:9\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"720p\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: 30,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> jsonData, _ := json.Marshal(payload)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> req, _ := http.NewRequest(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, url, bytes.NewBuffer(jsonData))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> req.Header.Set(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> req.Header.Set(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> client := \u0026#x26;http.Client{}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> resp, err := client.Do(req)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> if\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> err != \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">nil\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> panic(err)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> defer\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> resp.Body.Close()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> body, _ := ioutil.ReadAll(resp.Body)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> fmt.Println(string(body))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Java","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"java\">\u003ccode language=\"java\" numberOfLines=\"33\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> java.net.http.HttpClient;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> java.net.http.HttpRequest;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> java.net.http.HttpResponse;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> java.net.URI;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">public\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> class\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> Main {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> public\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> static\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> void\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> main(String[] args) \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">throws\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> Exception {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> String url = \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.apimart.ai/v1/videos/generations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> String payload = \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"seedance-2.5\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"A cinematic 30-second steampunk miniature landscape sequence\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\": \"16:9\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"720p\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\": 30\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> HttpClient client = HttpClient.newHttpClient();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> HttpRequest request = HttpRequest.newBuilder()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .uri(URI.create(url))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .header(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .header(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .POST(HttpRequest.BodyPublishers.ofString(payload))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .build();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> HttpResponse\u0026#x3C;String> response = client.send(request,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> HttpResponse.BodyHandlers.ofString());\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> System.out.println(response.body());\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PHP","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"php\">\u003ccode language=\"php\" numberOfLines=\"26\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">\u0026#x3C;?php\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">$url = \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.apimart.ai/v1/videos/generations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">$payload = [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> => \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"seedance-2.5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> => \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A cinematic 30-second steampunk miniature landscape sequence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> => \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"16:9\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> => \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"720p\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> => 30\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">];\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">$ch = curl_init($url);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">curl_setopt($ch, CURLOPT_RETURNTRANSFER, \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">curl_setopt($ch, CURLOPT_POST, \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">curl_setopt($ch, CURLOPT_HTTPHEADER, [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">$response = curl_exec($ch);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">curl_close($ch);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">echo\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> $response;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">?>\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"submitted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"task_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_01KMCGF6BQGN3X28H3KSR50X5T\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">400\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid request parameters\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"invalid_request_error\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">401\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authentication failed. Please check your API key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"authentication_error\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"402","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">402\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Insufficient balance. Please top up and try again\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"payment_required\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"429","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">429\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Too many requests. Please try again later\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"rate_limit_error\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"500","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">500\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Internal server error. Please try again later\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"server_error\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"seedance-2.5 Video Generation","path":"/v1/videos/generations","servers":[{"url":"https://api.apimart.ai"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer token auth. Get a key from the API Key page .","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Fixed value: `seedance-2.5`","required":true}],"nsfw_check":[{"type":"boolean","description":"Menentukan apakah moderasi konten dijalankan sebelum tugas video dikirim. `true` : periksa prompt dan gambar input dengan `omni-moderation-latest` `false` atau dihilangkan: tidak mengirim permintaan moderasi, tanpa biaya atau latensi moderasi tambahan (default) Konten yang diperiksa: Teks: `prompt` , `negative_prompt` Gambar: `image_urls` , `image_with_roles[].url` , `first_frame_image` , `last_frame_image` Aset privat gambar `asset://` : temukan lalu periksa URL publik aslinya Gambar Base64: periksa setelah dikonversi menjadi URL publik `video_urls` , `audio_urls` , serta aset privat video/audio tidak diperiksa , karena model moderasi tidak mendukung video atau audio. ID model yang didukung: `seedance-2.0` , `seedance-2.0-fast` , `seedance-2.0-mini` , `seedance-2.0-face` , `seedance-2.0-fast-face` , `seedance-2-0` (nama lama), dan `seedance-2.5` . Panggilan moderasi itu sendiri tidak ditagihkan kepada pengguna yang mengirim permintaan video. Contoh: Respons saat terdeteksi:"}],"draft":[{"type":"boolean","description":"Tetapkan `true` untuk membuat draf 480p. Hanya `seedance-2.5` yang mendukungnya. Jika dihilangkan, permintaan diproses sebagai pembuatan biasa. `resolution` hanya boleh `480p` ; jika dihilangkan, menggunakan `480p` Tidak dapat digabungkan dengan `draft_task_id` Draf berlaku 3 hari sejak dibuat dan setelah berhasil dapat menghasilkan video final 1080p Lihat alur di Mode draf ."}],"draft_task_id":[{"type":"string","description":"Membuat video final 1080p dari draf yang selesai. Isi ID tugas APIMart dari respons pengiriman draf ( `data[0].task_id` ), bukan URL video. Hanya `seedance-2.5` ; gunakan model yang sama dengan draf Draf harus milik pengguna API Key saat ini, selesai dengan sukses, dan belum lebih dari 3 hari sejak dibuat `resolution` hanya boleh `1080p` ; jika dihilangkan, menggunakan `1080p` Tidak dapat digabungkan dengan `draft: true` ; jangan kirim ulang bidang warisan seperti `prompt` , media referensi, atau durasi Bidang yang dapat diubah dan batasan: Mode draf ."}],"prompt":[{"type":"string","description":"Wajib untuk pembuatan biasa dan draf. Dilarang saat menggunakan `draft_task_id` : prompt draf diwarisi otomatis. Prompt. Reference media with `@图片1` / `@视频1` / `@音频1` (1-based index matching array order). English aliases in prompts may also be used depending on model behavior; keep indices aligned with arrays. Example: `\"Use @视频1 for first-person framing throughout, @音频1 as BGM, first frame is @图片1\"`"}],"resolution":[{"type":"string","description":"Resolution — only : `480p` `720p` (default) `1080p` Unsupported values like `2k` / `4k` return a sync 400 . Pengecualian mode draf: `draft: true` hanya mendukung `480p` dan default-nya sama; `draft_task_id` hanya mendukung `1080p` dan default-nya sama."}],"size":[{"type":"string","description":"Aspect ratio (field name `aspect_ratio` is also accepted). Values: `16:9` , `4:3` , `1:1` , `3:4` , `9:16` , `21:9` , `adaptive` (default)"}],"duration":[{"type":"integer","description":"Duration in seconds: `4` ~ `30` `-1` : model picks duration (pre-charge at the 30s cap; settle to actual length after completion) If omitted: generate and bill 5 seconds."}],"generate_audio":[{"type":"boolean","description":"Whether to generate audio (alias field name: `audio` ). `true` : with audio (default) `false` : silent video"}],"watermark":[{"type":"boolean","description":"Add an “AI generated” watermark. Default `false` ."}],"seed":[{"type":"integer","description":"Random seed. Different seeds usually yield different results for the same request; the same seed is similar but not guaranteed identical."}],"output_format":[{"type":"string","description":"Output container: `mp4` (default) `mov` : higher color precision — recommended for edit / extend workflows"}],"omni_reference_task_type":[{"type":"string","description":"Sub-task type hint: `auto` / `reference` / `edit` / `extend` . Passing `reference` / `edit` / `extend` validates that type’s constraints at submit time . Invalid requests return 400 , create no task, and charge nothing. See Task types and constraints ."}],"image_urls":[{"type":"array","items":[{"type":"string"}],"description":"Reference image URLs, all treated as `reference_image` . Supports: Public URL: `https://example.com/pic.jpg` Private asset: `asset://cm9xxxxxxxx` For first/last frames use `image_with_roles` ."}],"image_with_roles":[{"type":"array","items":[{"type":"object","properties":{"url":[{"type":"string","description":"Image URL or `asset://...`","required":true}],"role":[{"type":"string","description":"`first_frame` : first frame (1 image) `last_frame` : last frame (1 image, usually with first frame) `reference_image` : reference image (up to 30 total)","required":true}]}}],"description":"Images with explicit roles. Example:"}],"video_urls":[{"type":"array","items":[{"type":"string"}],"description":"Reference videos ( `reference_video` ). Input : video URL or asset ID ( `asset://...` ). See Reference video specs ."}],"audio_urls":[{"type":"array","items":[{"type":"string"}],"description":"Reference audio URLs ( `reference_audio` ). Public URLs or `asset://...` . Max 10 ; total duration ≤ 30s (each clip 2~30s)."}],"return_last_frame":[{"type":"boolean","description":"When `true` , the successful result also includes the last-frame image for chaining."}],"tools":[{"type":"array","items":[{"type":"object","properties":{"type":[{"type":"string","description":"Tool type Values: `web_search` — web search; generation can ground on online information","required":true}]}}],"description":"Tool list for enhancements such as web search. Example:"}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","nsfw_check":true,"draft":true,"draft_task_id":"\u003cstring>","prompt":"\u003cstring>","resolution":"\u003cstring>","size":"\u003cstring>","duration":123,"generate_audio":true,"watermark":true,"seed":123,"output_format":"\u003cstring>","omni_reference_task_type":"\u003cstring>","image_urls":["\u003cstring>"],"image_with_roles":[{"url":"\u003cstring>","role":"\u003cstring>"}],"video_urls":["\u003cstring>"],"audio_urls":["\u003cstring>"],"return_last_frame":true,"tools":[{"type":"\u003cstring>"}]}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"integer","description":"Status code; `200` on success"}],"data":[{"type":"array","items":[{"type":"object","properties":{"status":[{"type":"string","description":"Initially `submitted`"}],"task_id":[{"type":"string","description":"Task ID for status polling"}]}}],"description":"Submit response with `status` / `task_id`"}]}}],"examples":{"example":{"value":{"code":123,"data":[{"status":"\u003cstring>","task_id":"\u003cstring>"}]}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/apicore/1f7e29c94a916812/cn-domain-rewrite.js","/_mintlify/custom/apicore/afc6076845564106/param-field-copy.js"],"subdomain":"apicore","siteName":"APIMart","title":"seedance-2.5 Video Generation - APIMart","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/videos/seedance-2-5/generation","matchLevel":1},"zh-Hans":{"href":"/cn/api-reference/videos/seedance-2-5/generation","matchLevel":1},"ja":{"href":"/ja/api-reference/videos/seedance-2-5/generation","matchLevel":1},"ko":{"href":"/ko/api-reference/videos/seedance-2-5/generation","matchLevel":1},"ru":{"href":"/ru/api-reference/videos/seedance-2-5/generation","matchLevel":1},"de":{"href":"/de/api-reference/videos/seedance-2-5/generation","matchLevel":1},"fr":{"href":"/fr/api-reference/videos/seedance-2-5/generation","matchLevel":1},"pt":{"href":"/pt/api-reference/videos/seedance-2-5/generation","matchLevel":1},"id":{"href":"/id/api-reference/videos/seedance-2-5/generation","matchLevel":0},"es":{"href":"/es/api-reference/videos/seedance-2-5/generation","matchLevel":1}}},"lastModified":"2026-10-26T03:46:06.855Z","originalFileLocation":"id/api-reference/videos/seedance-2-5/generation.mdx","locale":"id"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"- Async API; returns task_id for polling - Text-to-video / multimodal reference / edit / extend / first–last frame - Up to 30s per job; up to 30 images + 10 videos + 10 audios as references - Resolution supports 480p / 720p / 1080p; mp4 or mov output\">\u003cmeta data-mint-head name=\"keywords\" content=\"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA\">\u003cmeta data-mint-head name=\"application-name\" content=\"APIMart\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"seedance-2.5 Video Generation - APIMart\">\u003cmeta data-mint-head property=\"og:description\" content=\"- Async API; returns task_id for polling - Text-to-video / multimodal reference / edit / extend / first–last frame - Up to 30s per job; up to 30 images + 10 videos + 10 audios as references - Resolution supports 480p / 720p / 1080p; mp4 or mov output\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"APIMart\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=seedance-2-5\u0026amp;title=seedance-2.5+Video+Generation\u0026amp;description=+-+Async+API%3B+returns+task_id+for+polling%0A-+Text-to-video+%2F+multimodal+reference+%2F+edit+%2F+extend+%2F+first%E2%80%93last+frame%0A-+Up+to+30s+per+job%3B+up+to+30+images+%2B+10+vi\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=e4e3437d680fb5cf41829acb52367abc2c1911f6ad41e7c7760413e1433998a6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"seedance-2.5 Video Generation - APIMart\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"- Async API; returns task_id for polling - Text-to-video / multimodal reference / edit / extend / first–last frame - Up to 30s per job; up to 30 images + 10 videos + 10 audios as references - Resolution supports 480p / 720p / 1080p; mp4 or mov output\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=seedance-2-5\u0026amp;title=seedance-2.5+Video+Generation\u0026amp;description=+-+Async+API%3B+returns+task_id+for+polling%0A-+Text-to-video+%2F+multimodal+reference+%2F+edit+%2F+extend+%2F+first%E2%80%93last+frame%0A-+Up+to+30s+per+job%3B+up+to+30+images+%2B+10+vi\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=e4e3437d680fb5cf41829acb52367abc2c1911f6ad41e7c7760413e1433998a6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"APIMart\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@APIMart_\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/id/api-reference/videos/seedance-2-5/generation.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.apimart.ai/en/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://docs.apimart.ai/cn/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.apimart.ai/ja/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.apimart.ai/ko/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.apimart.ai/ru/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.apimart.ai/de/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.apimart.ai/fr/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.apimart.ai/pt/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.apimart.ai/es/api-reference/videos/seedance-2-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.apimart.ai/en/api-reference/videos/seedance-2-5/generation\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.apimart.ai/#organization\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.apimart.ai#website\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation#webpage\",\"url\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation\",\"name\":\"seedance-2.5 Video Generation\",\"description\":\"- Async API; returns task_id for polling - Text-to-video / multimodal reference / edit / extend / first–last frame - Up to 30s per job; up to 30 images + 10 videos + 10 audios as references - Resolution supports 480p / 720p / 1080p; mp4 or mov output\",\"dateModified\":\"2026-10-26T03:46:06.855Z\",\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Seri Video\",\"item\":\"https://docs.apimart.ai/id/api-reference/videos/apimart-zoe/generation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"seedance-2.5 Video Generation\",\"item\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation#apireference\",\"headline\":\"seedance-2.5 Video Generation\",\"name\":\"seedance-2.5 Video Generation\",\"description\":\"- Async API; returns task_id for polling - Text-to-video / multimodal reference / edit / extend / first–last frame - Up to 30s per job; up to 30 images + 10 videos + 10 audios as references - Resolution supports 480p / 720p / 1080p; mp4 or mov output\",\"url\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.apimart.ai/id/api-reference/videos/seedance-2-5/generation#webpage\"},\"dateModified\":\"2026-10-26T03:46:06.855Z\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"APIMart\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"APIMart\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/id/api-reference/videos/seedance-2-5/generation.md","siteName":"APIMart","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/en/api-reference/videos/seedance-2-5/generation"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/cn/api-reference/videos/seedance-2-5/generation"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/videos/seedance-2-5/generation"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/videos/seedance-2-5/generation"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/videos/seedance-2-5/generation"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/videos/seedance-2-5/generation"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/videos/seedance-2-5/generation"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/api-reference/videos/seedance-2-5/generation"}]},{"language":"id","tabs":[{"tab":"Panduan API","groups":[{"group":"Ikhtisar","pages":[{"title":"APIMart — Gateway API yang Kompatibel dengan OpenAI (GPT-5, Claude, Gemini)","href":"/id"}]},{"group":"Model","pages":[{"title":"API metadata daftar model","api":"GET https://api.apimart.ai/v1/models","href":"/id/api-reference/texts/models/list"}]},{"group":"Seri Teks","icon":"text","pages":[{"title":"API Chat Umum (Streaming Bawaan)","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/id/api-reference/texts/general/chat-completions"},{"title":"API Chat Umum (Non-Streaming Bawaan)","api":"POST https://api.apimart.ai/api/v1/chat/completions","href":"/id/api-reference/texts/general/chat-completions-nostream"},{"title":"Claude Messages API","api":"POST https://api.apimart.ai/v1/messages","href":"/id/api-reference/texts/general/claude-messages"},{"title":"Format Native Gemini","api":"POST https://api.apimart.ai/v1beta/models/{model}:{method}","href":"/id/api-reference/texts/gemini/quickstart"},{"title":"OpenAI Multimodal Responses API","api":"POST https://api.apimart.ai/v1/responses","href":"/id/api-reference/texts/openai/responses"},{"title":"Panduan Cache Konteks OpenAI","sidebarTitle":"Cache Konteks OpenAI","icon":"database","href":"/id/api-reference/texts/openai/context-cache"},{"title":"Panduan Penggunaan Cache Konteks Gemini","sidebarTitle":"Cache Konteks Gemini","icon":"database","href":"/id/api-reference/texts/gemini/context-cache"},{"title":"Panduan Penggunaan Cache Konteks Claude","sidebarTitle":"Cache Konteks Claude","icon":"database","href":"/id/api-reference/texts/general/claude-context-cache"},{"group":"qwen3.8-max","icon":"message","pages":[{"title":"qwen3.8-max Integration Guide","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/id/api-reference/texts/qwen3.8-max/guide"},{"title":"Model Pricing API","api":"GET https://api.apimart.ai/api/pricing/model?model=qwen3.8-max","href":"/id/api-reference/texts/qwen3.8-max/pricing"}]}]},{"group":"Seri Gambar","icon":"image","pages":[{"group":"Nano banana 2.1","icon":"image","pages":[{"title":"Nano banana 2.1 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-nano-banana-2.1/generation"}]},{"group":"Nano banana2","icon":"image","pages":[{"title":"Nano banana2 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-3.1-flash/generation"},{"title":"Nano Banana Lite Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-3.1-flash/generation-lite"}]},{"group":"Nano banana Pro","icon":"image","pages":[{"title":"Nano banana Pro Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-3-pro/generation"}]},{"group":"Nano banana","icon":"image","pages":[{"title":"Nano banana Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-2.5-flash/generation"}]},{"group":"Imagen-4.0","icon":"image","pages":[{"title":"Imagen 4.0 Apimart Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/imagen-4.0-apimart/generation"}]},{"group":"GPT-Image(1/1.5)","icon":"image","pages":[{"title":"GPT-Image(1/1.5) Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-1/generation"}]},{"group":"GPT-Image-2","icon":"image","pages":[{"title":"GPT-Image-2 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2/generation"},{"title":"GPT-Image-2 Official Channel Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2/official"}]},{"group":"GPT-Image-2.5","icon":"image","pages":[{"title":"Pembuatan Gambar GPT-Image-2.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.5/generation"}]},{"group":"GPT-Image-2.5 Ext","icon":"image","pages":[{"title":"GPT-Image-2.5 Ext — Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.5-ext/generation"}]},{"group":"GPT-Image-2.6","icon":"image","pages":[{"title":"GPT-Image-2.6 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.6/generation"}]},{"group":"GPT-Image-2.6 Ext","icon":"image","pages":[{"title":"GPT-Image-2.6 Ext Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.6-ext/generation"}]},{"group":"Seedream-4.0","icon":"image","pages":[{"title":"Seedream-4.0 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-4/generation"}]},{"group":"Seedream-4.5","icon":"image","pages":[{"title":"Seedream-4.5 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-4.5/generation"}]},{"group":"Seedream-5.0-Lite","icon":"image","pages":[{"title":"Seedream-5.0-Lite Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-lite/generation"}]},{"group":"Seedream-5.0-Pro","icon":"image","pages":[{"title":"Seedream-5.0-Pro Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-0-pro/generation"}]},{"group":"Seedream-5.0-Flash","icon":"image","pages":[{"title":"Seedream-5.0-Flash Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-0-flash/generation"}]},{"group":"Seedream-5.5","icon":"image","pages":[{"title":"Pembuatan Gambar Seedream 5.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-5/generation"}]},{"group":"Flux Kontext","icon":"image","pages":[{"title":"Pembuatan dan Pengeditan Gambar FLUX Kontext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-kontext/generation"}]},{"group":"Flux 2.0","icon":"image","pages":[{"title":"Pembuatan Gambar FLUX.2","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-2/generation"}]},{"group":"FLUX 3 Image","icon":"image","pages":[{"title":"FLUX 3 Image Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-3-image/generation"}]},{"group":"FLUX 3 Image Klein","icon":"image","pages":[{"title":"FLUX 3 Image Klein Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-3-image-klein/generation"}]},{"group":"Hy-Image-3.5 Preview","icon":"image","pages":[{"title":"Hy-Image-3.5 Preview Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/hy-image-v3.5-preview/generation"}]},{"group":"Muse Image Ext","icon":"image","pages":[{"title":"Pembuatan Gambar Muse Image Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/muse-image-ext/generation"}]},{"group":"MAI-Image-2.6","icon":"image","pages":[{"title":"MAI-Image-2.6 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/mai-image-2.6/generation"}]},{"group":"MiniMax-H3-Image","icon":"image","pages":[{"title":"Pembuatan Gambar MiniMax-H3-Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/minimax-h3-image/generation"}]},{"group":"MiniMax-H3-Image-Highspeed","icon":"image","pages":[{"title":"Pembuatan Gambar MiniMax-H3-Image-Highspeed","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/minimax-h3-image-highspeed/generation"}]},{"group":"Qwen Image 2.0","icon":"image","pages":[{"title":"Qwen Image 2.0 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/qwen-image/generation"}]},{"group":"Qwen Image 3.0","icon":"image","pages":[{"title":"Pembuatan Gambar Qwen Image 3.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/qwen-image-3.0/generation"}]},{"group":"Z-Image-Turbo","icon":"image","pages":[{"title":"Z-Image-Turbo Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/z-image-turbo/generation"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine generasi gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine/generation"}]},{"group":"Grok Imagine 2.0 Ext","icon":"image","pages":[{"title":"Grok Imagine 2.0 Ext Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine-2.0-ext/generation"},{"title":"Lapisan dan Pengeditan Wilayah Grok Imagine 2.0 Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine-2.0-ext/layer-region-edit"},{"title":"Grok Imagine Image 2.0 — generasi dan pengeditan resmi","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine-2.0-ext/official"}]},{"group":"wan2.7-image","icon":"image","pages":[{"title":"wan2.7 Pembuatan \u0026 Pengeditan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/wan2.7-image/generation"}]},{"group":"Midjourney","icon":"image","pages":[{"title":"API Midjourney","href":"/id/api-reference/images/midjourney/generation"},{"title":"Imagine (teks ke gambar)","api":"POST https://api.apimart.ai/v1/midjourney/generations","href":"/id/api-reference/images/midjourney/imagine"},{"title":"Blend (gabungan multi-gambar)","api":"POST https://api.apimart.ai/v1/midjourney/generations/blend","href":"/id/api-reference/images/midjourney/blend"},{"title":"Describe (gambar ke teks)","api":"POST https://api.apimart.ai/v1/midjourney/generations/describe","href":"/id/api-reference/images/midjourney/describe"},{"title":"Edits (edit gambar)","api":"POST https://api.apimart.ai/v1/midjourney/generations/edits","href":"/id/api-reference/images/midjourney/edits"},{"title":"Upscale (perbesar tile)","api":"POST https://api.apimart.ai/v1/midjourney/generations/upscale","href":"/id/api-reference/images/midjourney/upscale"},{"title":"Variation (variasi)","api":"POST https://api.apimart.ai/v1/midjourney/generations/variation","href":"/id/api-reference/images/midjourney/variation"},{"title":"High Variation (variasi kuat)","api":"POST https://api.apimart.ai/v1/midjourney/generations/high-variation","href":"/id/api-reference/images/midjourney/high-variation"},{"title":"Low Variation (variasi halus)","api":"POST https://api.apimart.ai/v1/midjourney/generations/low-variation","href":"/id/api-reference/images/midjourney/low-variation"},{"title":"Reroll (regenerasi)","api":"POST https://api.apimart.ai/v1/midjourney/generations/reroll","href":"/id/api-reference/images/midjourney/reroll"},{"title":"Zoom (zoom out)","api":"POST https://api.apimart.ai/v1/midjourney/generations/zoom","href":"/id/api-reference/images/midjourney/zoom"},{"title":"Pan (pan)","api":"POST https://api.apimart.ai/v1/midjourney/generations/pan","href":"/id/api-reference/images/midjourney/pan"},{"title":"Inpaint (Vary Region)","api":"POST https://api.apimart.ai/v1/midjourney/generations/inpaint","href":"/id/api-reference/images/midjourney/inpaint"},{"title":"Modal (kirim parameter)","api":"POST https://api.apimart.ai/v1/midjourney/generations/modal","href":"/id/api-reference/images/midjourney/modal"},{"title":"Video (gambar ke video)","api":"POST https://api.apimart.ai/v1/midjourney/generations/video","href":"/id/api-reference/images/midjourney/video"},{"title":"Remix (reshape, hanya v8.1 / v8.2)","api":"POST https://api.apimart.ai/v1/midjourney/generations/remix-strong","href":"/id/api-reference/images/midjourney/remix"},{"title":"Query tugas","api":"GET https://api.apimart.ai/v1/midjourney/{task_id}","href":"/id/api-reference/images/midjourney/query"},{"title":"Praktik Terbaik","href":"/id/api-reference/images/midjourney/best-practices"},{"title":"Contoh Alur Kerja Lengkap","href":"/id/api-reference/images/midjourney/workflow"}]}]},{"group":"Seri Video","icon":"video","pages":[{"group":"apimart-zoe","icon":"video","pages":[{"title":"Pembuatan Video apimart-zoe","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/apimart-zoe/generation"}]},{"group":"seedance-1-0-pro","icon":"video","pages":[{"title":"Pembuatan Video seedance-1-0-pro","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/doubao/generation"}]},{"group":"seedance-1-5-pro","icon":"video","pages":[{"title":"Pembuatan Video seedance-1-5-pro","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-1-5-pro/generation"}]},{"group":"seedance-2-0","icon":"video","pages":[{"title":"Pembuatan Video seedance-2.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-2-0/generation"},{"title":"Aset Avatar Virtual","description":" - API pengiriman aset avatar virtual domain privat\n- Mendukung pengiriman batch, hingga 20 aset per request\n- Otomatis membuat atau menggunakan ulang grup aset; mengembalikan ID tugas untuk polling status\n- Aset yang disetujui dapat digunakan langsung dalam pembuatan video Seedance 2.0 ","api":"POST https://api.apimart.ai/v1/seedance2/private-avatar","href":"/id/api-reference/videos/seedance-2-0/private-avatar"}]},{"group":"seedance-2-5","icon":"video","pages":[{"title":"seedance-2.5 Video Generation","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-2-5/generation"}]},{"group":"VEO3","icon":"video","pages":[{"title":"Pembuatan Video VEO3","description":" - Mode pemrosesan asinkron, mengembalikan ID tugas untuk kueri berikutnya\n- Mendukung beberapa mode pembuatan, termasuk teks-ke-video dan gambar-ke-video\n- Mendukung **4K** resolusi output\n- Tautan video yang dihasilkan berlaku selama 24 jam; harap segera simpan ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/veo3/generation"},{"title":"Remix Video VEO3","api":"POST https://api.apimart.ai/v1/videos/{task_id}/remix","href":"/id/api-reference/videos/veo3/remix"},{"title":"Pembuatan Video Resmi VEO3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/veo3/generation-official"}]},{"group":"MiniMax-Hailuo-02","icon":"video","pages":[{"title":"Pembuatan Video MiniMax-Hailuo-02","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-hailuo/generation"}]},{"group":"MiniMax-Hailuo-2.3","icon":"video","pages":[{"title":"Pembuatan Video MiniMax-Hailuo-2.3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-hailuo-2.3/generation"}]},{"group":"MiniMax-H3","icon":"video","pages":[{"title":"Pembuatan Video MiniMax-H3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/generation"},{"title":"Pembuatan Video MiniMax-H3-Max","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/max"},{"title":"MiniMax-H3 Context-IR peningkatan prompt","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/context-ir"},{"title":"MiniMax-H3 Regeneration","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/regeneration"}]},{"group":"FLUX 3 Video","icon":"video","pages":[{"title":"Pembuatan Video FLUX 3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/flux-3-video/generation"}]},{"group":"SkyReels V4","icon":"video","pages":[{"title":"Pembuatan Video SkyReels V4","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/skyreels-v4/generation"}]},{"group":"HappyHorse","icon":"video","pages":[{"title":"Pembuatan Video HappyHorse 1.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/happyhorse-1.0/generation"},{"title":"Pembuatan Video HappyHorse 1.1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/happyhorse-1.1/generation"}]},{"group":"Wan3.0","icon":"video","pages":[{"title":"Generasi Video Wan3.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan3.0-video/generation"}]},{"group":"Wan2.7","icon":"video","pages":[{"title":"Pembuatan Video Wan2.7","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.7/generation"},{"title":"Wan2.7-R2V Referensi-ke-Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.7-r2v/generation"},{"title":"Pengeditan Video Wan2.7-VideoEdit","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.7-videoedit/generation"}]},{"group":"Wan2.6","icon":"video","pages":[{"title":"Pembuatan Video Wan2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.6/generation"},{"title":"Gambar-ke-Video wan2.6-i2v-flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.6/i2v-flash-generation"}]},{"group":"Wan2.5","icon":"video","pages":[{"title":"Pembuatan Video wan2.5-preview","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.5/generation"}]},{"group":"Kling 2.6","icon":"video","pages":[{"title":"Pembuatan Video Kling 2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v2-6/generation"},{"title":"Pembuatan Video Kontrol Gerak Kling v2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v2-6/kling-v2-6-motion-control-generation"}]},{"group":"Kling v3","icon":"video","pages":[{"title":"Pembuatan Video Kling v3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v3/generation"}]},{"group":"Kling 3.0 Turbo","icon":"video","pages":[{"title":"Pembuatan Video Kling 3.0 Turbo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-3.0-turbo/generation"}]},{"group":"Kling v3 Omni","icon":"video","pages":[{"title":"Pembuatan Video Kling v3 Omni","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v3-omni/generation"}]},{"group":"Kling V4","icon":"video","pages":[{"title":"Kling V4 Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v4/generation"}]},{"group":"Kling V4 Flash","icon":"video","pages":[{"title":"Kling V4 Flash Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v4-flash/generation"}]},{"group":"Kling Video O1","icon":"video","pages":[{"title":"Pembuatan Video Kling Video O1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-video-o1/generation"}]},{"group":"Vidu Q3(pro/turbo)","icon":"video","pages":[{"title":"Pembuatan Video Vidu Q3 (pro/turbo)","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/vidu-q3-pro/generation"}]},{"group":"Vidu Q4 Preview","icon":"video","pages":[{"title":"Vidu Q4 Preview Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/vidu-q4-preview/generation"}]},{"group":"Vidu Q3(mix/standard)","icon":"video","pages":[{"title":"Referensi-ke-Video Vidu Q3 (mix/standar)","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/vidu-q3/generation"}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Pembuatan Video Grok Imagine 1.5","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/grok-imagine/generation"},{"title":"Model Video Resmi Grok","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/grok-imagine/official"}]},{"group":"Pixverse v6","icon":"video","pages":[{"title":"Pixverse v6 Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/pixverse-v6/generation"}]},{"group":"PixVerse V6 Max","icon":"video","pages":[{"title":"PixVerse V6 Max Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/pixverse-v6-max/generation"}]},{"group":"Muse Video Ext","icon":"video","pages":[{"title":"Pembuatan Video Muse Video Ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/muse-video-ext/generation"}]},{"group":"gemini-omni-1.1-flash-ext","icon":"video","pages":[{"title":"Pembuatan Video gemini-omni-1.1-flash-ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/omni-flash-ext/generation"}]},{"group":"gemini-omni-1.2-flash-ext","icon":"video","pages":[{"title":"Pembuatan Video gemini-omni-1.2-flash-ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-1.2-flash-ext/generation"}]},{"group":"Gemini Omni 1.2 Flash","icon":"video","pages":[{"title":"Pembuatan Video Gemini Omni 1.2 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-1.2-flash/generation"}]},{"group":"Gemini Omni 1.1 Flash","icon":"video","pages":[{"title":"Pembuatan Video Gemini Omni 1.1 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-1.1-flash/generation"}]},{"group":"Gemini Omni Flash","icon":"video","pages":[{"title":"Pembuatan Video Gemini Omni Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-flash-preview/generation"}]}]},{"group":"Seri Audio","icon":"microphone","pages":[{"title":"Transkripsi Audio Whisper-1","api":"POST https://api.apimart.ai/v1/audio/transcriptions","href":"/id/api-reference/audios/whisper-1"},{"title":"TTS Text-to-Speech","api":"POST https://api.apimart.ai/v1/audio/speech","href":"/id/api-reference/audios/tts"},{"group":"Flow Music","icon":"music","pages":[{"title":"Membuat Musik","api":"POST https://api.apimart.ai/v1/music/generations","href":"/id/api-reference/audios/flow-music/music"},{"title":"Membuat Musik dengan Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations","href":"/id/api-reference/audios/flow-music/music-lyria-3-5"},{"title":"Membuat Lirik","api":"POST https://api.apimart.ai/v1/music/generations/lyricsFlowMusic","href":"/id/api-reference/audios/flow-music/lyrics"},{"title":"Perpanjangan Musik","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/id/api-reference/audios/flow-music/extend"},{"title":"Perpanjangan Musik dengan Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/id/api-reference/audios/flow-music/extend-lyria-3-5"},{"title":"Penggantian Segmen","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/id/api-reference/audios/flow-music/replace"},{"title":"Penggantian Segmen dengan Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/id/api-reference/audios/flow-music/replace-lyria-3-5"},{"title":"Aransemen Cover","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/id/api-reference/audios/flow-music/cover"},{"title":"Aransemen Cover Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/id/api-reference/audios/flow-music/cover-lyria-3-5"},{"title":"Pemisahan Trek","api":"POST https://api.apimart.ai/v1/music/generations/stemsFlowMusic","href":"/id/api-reference/audios/flow-music/stems"},{"title":"Mengunggah Audio","api":"POST https://api.apimart.ai/v1/music/generations/uploadAudioFlowMusic","href":"/id/api-reference/audios/flow-music/upload-audio"},{"title":"Mengunduh Audio","api":"POST https://api.apimart.ai/v1/music/generations/downloadAudioFlowMusic","href":"/id/api-reference/audios/flow-music/download-audio"},{"title":"Rendering Video Musik","api":"POST https://api.apimart.ai/v1/music/generations/videoClipFlowMusic","href":"/id/api-reference/audios/flow-music/video-clip"},{"title":"Melihat Tugas","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/id/api-reference/audios/flow-music/query"}]},{"group":"Suno","icon":"music","pages":[{"title":"Aturan umum Suno V6 dan kueri tugas","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/id/api-reference/audios/suno/overview"},{"title":"Menghasilkan musik","api":"POST https://api.apimart.ai/v1/music/generations","href":"/id/api-reference/audios/suno/generation"},{"title":"Menghasilkan lirik","api":"POST https://api.apimart.ai/v1/music/generations/lyrics","href":"/id/api-reference/audios/suno/lyrics"},{"title":"Pembuatan inspirasi (inspo)","api":"POST https://api.apimart.ai/v1/music/generations/inspo","href":"/id/api-reference/audios/suno/inspo"},{"title":"Pembuatan efek suara","api":"POST https://api.apimart.ai/v1/music/generations/sounds","href":"/id/api-reference/audios/suno/sounds"},{"title":"Peningkatan tag","api":"POST https://api.apimart.ai/v1/music/generations/upsampleTags","href":"/id/api-reference/audios/suno/upsample-tags"},{"title":"Unggah audio","api":"POST https://api.apimart.ai/v1/music/generations/uploadTask","href":"/id/api-reference/audios/suno/upload"},{"title":"Unggah Audio dan Buat Cover","api":"POST https://api.apimart.ai/v1/music/generations/uploadCover","href":"/id/api-reference/audios/suno/upload-cover"},{"title":"Unggah dan Perpanjang Audio","api":"POST https://api.apimart.ai/v1/music/generations/uploadExtend","href":"/id/api-reference/audios/suno/upload-extend"},{"title":"Buat Model Kustom","api":"POST https://api.apimart.ai/v1/music/generations/createModel","href":"/id/api-reference/audios/suno/create-model"},{"title":"Melanjutkan dan memperpanjang","api":"POST https://api.apimart.ai/v1/music/generations/extend","href":"/id/api-reference/audios/suno/extend"},{"title":"Menyanyikan ulang dengan gaya lain","api":"POST https://api.apimart.ai/v1/music/generations/coverSong","href":"/id/api-reference/audios/suno/cover-song"},{"title":"Optimalisasi mastering","api":"POST https://api.apimart.ai/v1/music/generations/remaster","href":"/id/api-reference/audios/suno/remaster"},{"title":"Ekstraksi trek","api":"POST https://api.apimart.ai/v1/music/generations/stems","href":"/id/api-reference/audios/suno/stems"},{"title":"Pemisahan trek penuh","api":"POST https://api.apimart.ai/v1/music/generations/stemsAll","href":"/id/api-reference/audios/suno/stems-all"},{"title":"Menambahkan vokal","api":"POST https://api.apimart.ai/v1/music/generations/addVocals","href":"/id/api-reference/audios/suno/add-vocals"},{"title":"Menambahkan iringan musik","api":"POST https://api.apimart.ai/v1/music/generations/addInstrumental","href":"/id/api-reference/audios/suno/add-instrumental"},{"title":"Menambahkan trek (add stem)","api":"POST https://api.apimart.ai/v1/music/generations/addStem","href":"/id/api-reference/audios/suno/add-stem"},{"title":"Ekstrak Vox (tidak digunakan lagi)","api":"POST https://api.apimart.ai/v1/music/generations/vox","href":"/id/api-reference/audios/suno/vox"},{"title":"Membuat suara","api":"POST https://api.apimart.ai/v1/music/generations/createVoice","href":"/id/api-reference/audios/suno/create-voice"},{"title":"Persona","api":"POST https://api.apimart.ai/v1/music/generations/persona","href":"/id/api-reference/audios/suno/persona"},{"title":"Penggantian paragraf","api":"POST https://api.apimart.ai/v1/music/generations/replaceMusic","href":"/id/api-reference/audios/suno/replace-music"},{"title":"Menghapus segmen","api":"POST https://api.apimart.ai/v1/music/generations/removeSection","href":"/id/api-reference/audios/suno/remove-section"},{"title":"Memotong audio","api":"POST https://api.apimart.ai/v1/music/generations/crop","href":"/id/api-reference/audios/suno/crop"},{"title":"Fade in","api":"POST https://api.apimart.ai/v1/music/generations/fadeIn","href":"/id/api-reference/audios/suno/fade-in"},{"title":"Fade out","api":"POST https://api.apimart.ai/v1/music/generations/fadeOut","href":"/id/api-reference/audios/suno/fade-out"},{"title":"Menyesuaikan kecepatan","api":"POST https://api.apimart.ai/v1/music/generations/adjustSpeed","href":"/id/api-reference/audios/suno/adjust-speed"},{"title":"Sintesis / penggabungan lagu lengkap","api":"POST https://api.apimart.ai/v1/music/generations/concat","href":"/id/api-reference/audios/suno/concat"},{"title":"Menghasilkan mashup (mashup)","api":"POST https://api.apimart.ai/v1/music/generations/mashup","href":"/id/api-reference/audios/suno/mashup"},{"title":"Sampel menjadi lagu (sample)","api":"POST https://api.apimart.ai/v1/music/generations/sample","href":"/id/api-reference/audios/suno/sample"},{"title":"Menghasilkan MIDI","api":"POST https://api.apimart.ai/v1/music/generations/midi","href":"/id/api-reference/audios/suno/midi"},{"title":"Garis waktu lirik","api":"POST https://api.apimart.ai/v1/music/generations/alignedLyrics","href":"/id/api-reference/audios/suno/aligned-lyrics"},{"title":"Analisis BPM","api":"POST https://api.apimart.ai/v1/music/generations/bpm","href":"/id/api-reference/audios/suno/bpm"},{"title":"Menghasilkan video musik (MV)","api":"POST https://api.apimart.ai/v1/music/generations/generateMp4","href":"/id/api-reference/audios/suno/generate-mp4"},{"title":"Unduh File Audio","api":"POST https://api.apimart.ai/v1/music/generations/download","href":"/id/api-reference/audios/suno/wav"}]}]},{"group":"Seri Moderasi","icon":"shield-check","pages":[{"group":"omni-moderation-latest","icon":"shield-check","pages":[{"title":"omni-moderation-latest Moderasi Konten","api":"POST https://api.apimart.ai/v1/moderations","href":"/id/api-reference/moderations/omni-moderation-latest/generation"}]}]},{"group":"Manajemen Unggahan","icon":"cloud-arrow-up","pages":[{"title":"Unggah Gambar","api":"POST https://api.apimart.ai/v1/uploads/images","href":"/id/api-reference/uploads/images"},{"title":"Unggah Video","api":"POST https://api.apimart.ai/v1/uploads/videos","href":"/id/api-reference/uploads/videos"},{"title":"Unggah Audio","api":"POST https://api.apimart.ai/v1/uploads/audios","href":"/id/api-reference/uploads/audios"}]},{"group":"Manajemen Tugas","icon":"list-check","pages":[{"title":"Dapatkan Status Tugas","api":"GET https://api.apimart.ai/v1/tasks/{task_id}","href":"/id/api-reference/tasks/status"},{"title":"Callback Penyelesaian Tugas (Webhook)","href":"/id/api-reference/tasks/webhook"}]},{"group":"Manajemen Akun","icon":"wallet","pages":[{"title":"Kueri Saldo Token","api":"GET https://api.apimart.ai/v1/balance","href":"/id/api-reference/account/token-balance"},{"title":"Kueri Saldo Pengguna","api":"GET https://api.apimart.ai/v1/user/balance","href":"/id/api-reference/account/user-balance"},{"title":"Kueri biaya dan penggunaan","api":"GET https://api.apimart.ai/v1/usage","href":"/id/api-reference/account/usage"},{"title":"Log Permintaan dan Harga Akun","href":"/id/api-reference/account/request-logs"}]}]},{"tab":"Integrasi","pages":[{"title":"Integrasi","href":"/id/integrations/chat/chatbox"}]},{"tab":"Panduan","pages":[{"title":"Panduan","href":"/id/quickstart"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/id/faqs"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/videos/seedance-2-5/generation"}]}]},"basePath":"","title":"seedance-2.5 Video Generation - APIMart","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js"]}