Hf API
<!DOCTYPE html><html lang="en" translate="no" class="notranslate"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/assets/index-xKv10YAh.css" data-precedence="default"/><link rel="stylesheet" href="/assets/index-DlNwox7O.css" data-precedence="default"/><link rel="stylesheet" href="/assets/index-DtLA7SjF.css" data-precedence="default"/><link rel="stylesheet" href="/assets/slider-ZjJpG7n8.css" data-precedence="default"/><link rel="stylesheet" href="/assets/combined-auth-tokens-BCnyppCx.css" data-precedence="default"/><link rel="stylesheet" href="/assets/IconCurrencyDollarOutlined-DOZxGKa_.css" data-precedence="default"/><link rel="stylesheet" href="/assets/shared-modal-DRP878pW.css" data-precedence="default"/><link rel="stylesheet" href="/assets/api-key-flows-CKtG1B-z.css" data-precedence="default"/><link rel="stylesheet" href="/assets/api-keys-B3XC8djc.css" data-precedence="default"/><link rel="stylesheet" href="/assets/cashback-DQRUe2Gq.css" data-precedence="default"/><link rel="stylesheet" href="/assets/billing-uLHDgekM.css" data-precedence="default"/><link rel="stylesheet" href="/assets/promotion-modal-BKgvUzxc.css" data-precedence="default"/><link rel="stylesheet" href="/assets/server-modals-DTvxWIFI.css" data-precedence="default"/><link rel="stylesheet" href="/assets/use-explore-catalog-results-BEQ54vpp.css" data-precedence="default"/><title>Seedance 2.5 — API reference | Higgsfield API</title><meta name="description" content="Use Seedance 2.5 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."/><meta property="og:title" content="Seedance 2.5 — API reference | Higgsfield API"/><meta property="og:description" content="Use Seedance 2.5 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."/><meta property="og:site_name" content="Higgsfield API"/><meta property="og:type" content="website"/><meta property="og:locale" content="en_US"/><meta property="og:url" content="https://open.higgsfield.ai/models/bytedance/seedance-2.5/video-edit/api-reference"/><meta property="og:image" content="https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"/><meta property="og:image:alt" content="Seedance 2.5 by ByteDance on Higgsfield API"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:type" content="image/jpeg"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Seedance 2.5 — API reference | Higgsfield API"/><meta name="twitter:description" content="Use Seedance 2.5 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."/><meta name="twitter:image" content="https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"/><meta name="twitter:image:alt" content="Seedance 2.5 by ByteDance on Higgsfield API"/><link rel="modulepreload" href="/assets/index-DIb-pgqB.js"/><link rel="modulepreload" href="/assets/jsx-runtime-cvnAX2Ol.js"/><link rel="modulepreload" href="/assets/react-CaRYtjPf.js"/><link rel="modulepreload" href="/assets/dist-DURWwOJU.js"/><link rel="modulepreload" href="/assets/createServerFn-Bv2MHtWj.js"/><link rel="modulepreload" href="/assets/qss-CagxF-d_.js"/><link rel="modulepreload" href="/assets/matchContext-CzGhKpaG.js"/><link rel="modulepreload" href="/assets/link-DCIy0yFv.js"/><link rel="modulepreload" href="/assets/route-BXjxo042.js"/><link rel="modulepreload" href="/assets/lazyRouteComponent-Bm6aPkch.js"/><link rel="modulepreload" href="/assets/ClientOnly-DRJ03Sgi.js"/><link rel="modulepreload" href="/assets/useRouter-CXw1yN_K.js"/><link rel="modulepreload" href="/assets/useMatch-BZH-XUtU.js"/><link rel="modulepreload" href="/assets/useNavigate-C7KkfjuG.js"/><link rel="modulepreload" href="/assets/useLocation-CwSFa3qE.js"/><link rel="modulepreload" href="/assets/useBaseQuery-DQHvyVVl.js"/><link rel="modulepreload" href="/assets/dashboard-onboarding-queries-BrOa5iIw.js"/><link rel="modulepreload" href="/assets/queryOptions-Dfvzj6n2.js"/><link rel="modulepreload" href="/assets/search-input-C5MYkp9x.js"/><link rel="modulepreload" href="/assets/api-keys-ByykqyyE.js"/><link rel="modulepreload" href="/assets/api-key-flows-n-uLkW69.js"/><link rel="modulepreload" href="/assets/try-catch-BTRWSegb.js"/><link rel="modulepreload" href="/assets/slug-model-slug-qdlBQaKF.js"/><link rel="modulepreload" href="/assets/http-error-or-IO8e0.js"/><link rel="modulepreload" href="/assets/report-error-DpkkXi1H.js"/><link rel="modulepreload" href="/assets/module-DtSa67lp.js"/><link rel="modulepreload" href="/assets/env-7jSK9hVJ.js"/><link rel="modulepreload" href="/assets/createLucideIcon-Ca1rlsM8.js"/><link rel="modulepreload" href="/assets/loader-circle-JB-ChrqO.js"/><link rel="modulepreload" href="/assets/button-CooP7kNa.js"/><link rel="modulepreload" href="/assets/dist-BgEUlNne.js"/><link rel="modulepreload" href="/assets/dist-BLiaGMyQ.js"/><link rel="modulepreload" href="/assets/dropdown-menu-BdhIEr4O.js"/><link rel="modulepreload" href="/assets/select-DZLbpCq5.js"/><link rel="modulepreload" href="/assets/auth-search-Dt24urTx.js"/><link rel="modulepreload" href="/assets/return-url-D-lfnQ0R.js"/><link rel="modulepreload" href="/assets/seo-JtGGUFDZ.js"/><link rel="modulepreload" href="/assets/metadata-BiP9nXa0.js"/><link rel="modulepreload" href="/assets/use-api-auth-Dt5aY9W_.js"/><link rel="modulepreload" href="/assets/request-DLpjtU-q.js"/><link rel="modulepreload" href="/assets/utils-CHhkJ7UI.js"/><link rel="modulepreload" href="/assets/use-media-query-BU1c6Y69.js"/><link rel="modulepreload" href="/assets/server-modals-B6AIoPrR.js"/><link rel="modulepreload" href="/assets/cosmic-layout-BrOx-3YC.js"/><link rel="modulepreload" href="/assets/dist-BSzHCHDM.js"/><link rel="modulepreload" href="/assets/modal-arbiter-Bk5P0pkL.js"/><link rel="modulepreload" href="/assets/modal-presence-JHDgv2IM.js"/><link rel="modulepreload" href="/assets/user-scoped-storage-l1U0EyKa.js"/><link rel="modulepreload" href="/assets/quiz-session-api-BmqcW6QD.js"/><link rel="modulepreload" href="/assets/api-Ci4JVq8d.js"/><link rel="modulepreload" href="/assets/schemas-C6B00EAW.js"/><link rel="modulepreload" href="/assets/search-text-CPoB-RAr.js"/><link rel="modulepreload" href="/assets/post-auth-redirect-Bycw4P7N.js"/><link rel="modulepreload" href="/assets/product-analytics-DnZIx3cR.js"/><link rel="modulepreload" href="/assets/scoring-observation-DiJqDiSX.js"/><link rel="modulepreload" href="/assets/billing-queries-CHD3-9Kr.js"/><link rel="modulepreload" href="/assets/dev-mock-config-C9arT85S.js"/><link rel="modulepreload" href="/assets/preload-helper-BZ1Pz5am.js"/><link rel="modulepreload" href="/assets/session-evaluation-D0YR8VsM.js"/><link rel="modulepreload" href="/assets/page-top-bar-vG0yyDmw.js"/><link rel="modulepreload" href="/assets/billing-B5e1Nwfz.js"/><link rel="modulepreload" href="/assets/button-DDkH3xYz.js"/><link rel="modulepreload" href="/assets/IconDiamondOutlined-DzZXRE7C.js"/><link rel="modulepreload" href="/assets/cashback-P-hjclEB.js"/><link rel="modulepreload" href="/assets/organizations-api-j9mfgqyW.js"/><link rel="modulepreload" href="/assets/vault-COPQmBjF.js"/><link rel="modulepreload" href="/assets/select-s2EEVEMM.js"/><link rel="modulepreload" href="/assets/IconCrossMediumOutlined-C6uCKeom.js"/><link rel="modulepreload" href="/assets/es2015-BfH6Rd0D.js"/><link rel="modulepreload" href="/assets/shared-modal-CHrIXLx1.js"/><link rel="modulepreload" href="/assets/proxy-_VyMNdgx.js"/><link rel="modulepreload" href="/assets/AnimatePresence-DTCLi-BR.js"/><link rel="modulepreload" href="/assets/use-reduced-motion-VeDZJTrB.js"/><link rel="modulepreload" href="/assets/IconSquareStackCompactOutlined-CiQwFL1D.js"/><link rel="modulepreload" href="/assets/input-Bl_UDq9k.js"/><link rel="modulepreload" href="/assets/switch-CTsWd4IZ.js"/><link rel="modulepreload" href="/assets/IconGift1Filled-Bp2Y1So_.js"/><link rel="modulepreload" href="/assets/IconCheckmark2MediumOutlined-jDLU3ltb.js"/><link rel="modulepreload" href="/assets/dist-CctFcbW9.js"/><link rel="modulepreload" href="/assets/IconCalendar3Outlined-Mj_DeLUf.js"/><link rel="modulepreload" href="/assets/media-DWot3wfd.js"/><link rel="modulepreload" href="/assets/image-CYpANZUu.js"/><link rel="modulepreload" href="/assets/model-icon-dKtHtxtt.js"/><link rel="modulepreload" href="/assets/IconCurrencyDollarOutlined-BYXDpSC3.js"/><link rel="modulepreload" href="/assets/availability-state-g3Nb-Owu.js"/><link rel="modulepreload" href="/assets/contact-sales-N805j5W-.js"/><link rel="modulepreload" href="/assets/vanilla-BRsfFOW8.js"/><link rel="modulepreload" href="/assets/react-CTy_99gA.js"/><link rel="modulepreload" href="/assets/cashback-promotion-effects-BqTThjys.js"/><link rel="modulepreload" href="/assets/billing-credits-buy-modal-BzIMYpeN.js"/><link rel="modulepreload" href="/assets/IconDotGrid1x3VerticalTightOutlined-DRLhUqWk.js"/><link rel="modulepreload" href="/assets/input-WKVNd1ZD.js"/><link rel="modulepreload" href="/assets/label-DopfLQ6j.js"/><link rel="modulepreload" href="/assets/IconChevronDownSmallOutlined-CjWkoBGA.js"/><link rel="modulepreload" href="/assets/IconMagnifyingGlassLongHandleOutlined-B6TkGYCx.js"/><link rel="modulepreload" href="/assets/dist-DJO-2Ud5.js"/><link rel="modulepreload" href="/assets/IconCheckmark2Filled-CJ-JZQqp.js"/><link rel="modulepreload" href="/assets/business-email-CM1vWmei.js"/><link rel="modulepreload" href="/assets/card-hold-BA9zOFqw.js"/><link rel="modulepreload" href="/assets/cashback-verification-1XON89si.js"/><link rel="modulepreload" href="/assets/use-explore-catalog-results-BV3JjK1Z.js"/><link rel="modulepreload" href="/assets/explore-card-placeholder-B5XrnAoC.js"/><link rel="modulepreload" href="/assets/use-scrolled-past-Ia__GL_C.js"/><link rel="modulepreload" href="/assets/route-CBxFki4x.js"/><link rel="modulepreload" href="/assets/slug-model-not-found-CzxXrHax.js"/><link rel="modulepreload" href="/assets/page-shell-BNkiqeNL.js"/><link rel="modulepreload" href="/assets/route-b4Jqeatu.js"/><link rel="modulepreload" href="/assets/useSuspenseQuery-D5e87SGb.js"/><link rel="modulepreload" href="/assets/dashboard-promotions-DtkaXrRZ.js"/><link rel="modulepreload" href="/assets/slug-model-provider-BwbQzGmT.js"/><link rel="modulepreload" href="/assets/slug-model-related-ranges-CMdfaU95.js"/><link rel="modulepreload" href="/assets/slug-model-magi-2-CUTVG2Hq.js"/><link rel="modulepreload" href="/assets/slug-model-requests-api-DnX-7IDR.js"/><link rel="modulepreload" href="/assets/slug-model-llm-menu-_BvZw_dz.js"/><link rel="modulepreload" href="/assets/api-reference-6ttcNdWo.js"/><link rel="modulepreload" href="/assets/slug-model-api-reference-HoEqBtOS.js"/><link rel="icon" href="/favicon.ico"/><link rel="dns-prefetch" href="https://static.cloudflareinsights.com"/><link rel="dns-prefetch" href="https://cdn.firstpromoter.com"/><link rel="canonical" href="https://open.higgsfield.ai/models/bytedance/seedance-2.5/video-edit/api-reference"/></head><body class="antialiased scheme-only-dark"><script>window.__clerk_init_state = {"__internal_clerk_state":{"__clerk_ssr_state":{"tokenType":"session_token","sessionClaims":null,"sessionId":null,"sessionStatus":null,"userId":null,"actor":null,"orgId":null,"orgRole":null,"orgSlug":null,"orgPermissions":null,"factorVerificationAge":null,"isAuthenticated":false},"__publishableKey":"pk_live_Y2xlcmsuaGlnZ3NmaWVsZC5haSQ","__proxyUrl":"","__domain":"","__isSatellite":false,"__signInUrl":"\u002fauth\u002fsign-in","__signUpUrl":"\u002fauth\u002fsign-up","__afterSignInUrl":"","__afterSignUpUrl":"","__clerk_debug":{"isSignedIn":false,"isAuthenticated":false,"proxyUrl":"","reason":"session-token-and-uat-missing","message":"","publishableKey":"pk_live_Y2xlcmsuaGlnZ3NmaWVsZC5haSQ","isSatellite":false,"domain":""},"__telemetryDisabled":false,"__telemetryDebug":false,"__signInForceRedirectUrl":"","__signUpForceRedirectUrl":"","__signInFallbackRedirectUrl":"\u002fexplore","__signUpFallbackRedirectUrl":"\u002fexplore"}};;document.currentScript.remove()</script><div id="header" class="contents"><header class="hidden h-full p-q-100 area-[sidebar] lg:flex"><aside aria-label="Primary navigation" data-folder-sidebar="true" class="group/sidebar relative h-full min-h-0 shrink-0 text-q-text-primary rounded-q-400 border border-q-border-subtle bg-q-background-primary" style="width:246px;opacity:1"><div class="h-full w-full overflow-hidden rounded-q-300"><div class="flex h-full min-h-0 flex-col"><div class="flex h-13 shrink-0 items-center p-q-200 gap-0"><div class="relative flex h-9 min-w-0 flex-1 items-center"><div class="flex h-9 min-w-0 flex-1 items-center gap-q-200 overflow-hidden p-q-150 transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80"><span class="relative block size-q-600 shrink-0"><img class="absolute top-0 -left-q-100 max-w-none" alt="Higgsfield" src="/higgsfield-mark-lime.svg" width="32" height="32" loading="lazy" decoding="async" style="color:transparent"/></span><span class="min-w-0 flex-1 truncate text-q-body-sm-medium">Higgsfield API</span></div></div><button type="button" aria-label="Search" aria-haspopup="dialog" class="flex h-9 w-6 shrink-0 cursor-pointer items-center justify-center rounded-q-100 text-q-icon-secondary hover:text-q-text-primary focus-visible:text-q-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="size-q-400 [&_path]:stroke-[2.25px]"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m20.25 20.25-4.123-4.123m0 0A7.25 7.25 0 1 0 5.874 5.874a7.25 7.25 0 0 0 10.253 10.253"></path></svg></button><button type="button" aria-expanded="true" aria-label="Collapse sidebar" class="flex h-9 w-6 shrink-0 cursor-pointer items-center justify-center rounded-q-100 text-q-icon-secondary hover:text-q-text-primary focus-visible:text-q-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="size-q-400 [&_path]:stroke-current [&_path]:stroke-[2.25px]"><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.25 8.25v7.5m-3.5-10a1 1 0 0 1 1-1h16.5a1 1 0 0 1 1 1v12.5a1 1 0 0 1-1 1H3.75a1 1 0 0 1-1-1z"></path></svg></button></div><nav class="hide-scrollbar flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto overscroll-contain" aria-label="Primary navigation"><div class="flex shrink-0 flex-col p-q-200 gap-q-050"><div class="flex flex-col gap-q-050"><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/auth/sign-in?redirect_url=%2Fdashboard"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M13.108 1.688a1.75 1.75 0 0 0-2.216 0l-7.25 5.931A1.75 1.75 0 0 0 3 8.974V19.25c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0 0 21 19.25V8.974a1.75 1.75 0 0 0-.642-1.355zM7.75 15.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Dashboard</span></a><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/explore"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M19.929 2.526a1.25 1.25 0 0 1 1.545 1.546l-3.6 12.6a1.75 1.75 0 0 1-1.202 1.202l-12.6 3.6a1.25 1.25 0 0 1-1.546-1.545l3.6-12.6a1.75 1.75 0 0 1 1.202-1.203zM9.625 12a2.375 2.375 0 1 1 4.75 0 2.375 2.375 0 0 1-4.75 0" clip-rule="evenodd"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Explore models</span></a><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/auth/sign-in?redirect_url=%2Fquick-start"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10M10.782 8.783a.5.5 0 0 0-.782.413v5.608a.5.5 0 0 0 .782.413l4.112-2.804a.5.5 0 0 0 0-.826z" clip-rule="evenodd"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Quick start</span></a><a href="https://docs.higgsfield.ai" target="_blank" rel="noreferrer" class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M12 8.25c0 .966.784 1.75 1.75 1.75H20v10.25A1.75 1.75 0 0 1 18.25 22H5.75A1.75 1.75 0 0 1 4 20.25V3.75C4 2.784 4.784 2 5.75 2H12zM8.75 17.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5zm0-4a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"></path><path fill="currentColor" d="m13.573 2.513 5.914 5.914.07.073H13.75a.25.25 0 0 1-.25-.25V2.443q.038.034.073.07"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Documentation</span><span class="shrink-0 transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="size-q-400 text-q-icon-secondary [@media(hover:hover)]:opacity-0 group-hover/nav-item:opacity-100 group-focus-visible/nav-item:opacity-100"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.25 5.75h-3.9c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437c-.109.214-.109.494-.109 1.054v11.3c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437c.214.109.494.109 1.054.109h11.3c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437c.109-.214.109-.494.109-1.054V14m2-3.75v-6.5h-6.5m6.5 0L11 13"></path></svg></span></a><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/pricing"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M6.562 3.523A1.75 1.75 0 0 1 7.81 3h8.376c.47 0 .92.189 1.248.523l5.154 5.244a1.75 1.75 0 0 1-.01 2.464l-9.342 9.342a1.75 1.75 0 0 1-2.475 0l-9.342-9.342a1.75 1.75 0 0 1-.01-2.464zM9.028 7.22a.75.75 0 0 1 0 1.06L7.308 10l1.72 1.72a.75.75 0 1 1-1.06 1.06l-2.25-2.25a.75.75 0 0 1 0-1.06l2.25-2.25a.75.75 0 0 1 1.06 0" clip-rule="evenodd"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Pricing</span></a></div></div><div class="flex shrink-0 flex-col p-q-200 gap-q-100 group-data-[collapsed]/sidebar:gap-0"><button type="button" aria-expanded="true" class="flex h-7 w-full shrink-0 items-center gap-q-200 overflow-hidden p-q-150 transition-[height,padding,opacity] duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:h-0 group-data-[collapsed]/sidebar:p-0 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80 cursor-pointer rounded-q-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus"><span class="min-w-0 flex-1 truncate text-left text-q-label-xs-medium text-q-text-secondary">Playground</span><span aria-hidden="true" class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 text-q-icon-secondary transition-transform duration-q-150 motion-reduce:transition-none [&>svg]:size-q-400"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m8 10 3.646 3.646a.5.5 0 0 0 .708 0L16 10"></path></svg></span></button><div class="flex flex-col gap-q-050"><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/auth/sign-in?redirect_url=%2Fapi-keys"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M22 8.5a6.5 6.5 0 0 1-8.64 6.14l-1.774 1.774a2 2 0 0 1-1.414.586H9.5a.5.5 0 0 0-.5.5v.672a2 2 0 0 1-.586 1.414l-.828.828A2 2 0 0 1 6.172 21H4a1 1 0 0 1-1-1v-2.172a2 2 0 0 1 .586-1.414L9.36 10.64A6.5 6.5 0 1 1 22 8.5m-5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" clip-rule="evenodd"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">API keys</span></a><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/cashback"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12m10-6.403a.75.75 0 0 1 .75.75v.864c.857.166 1.612.614 2.084 1.266a.75.75 0 0 1-1.216.88c-.283-.392-.87-.718-1.618-.718h-.286c-1.011 0-1.533.63-1.533 1.077v.078c0 .343.25.77.845 1.009l2.505 1.002c1.019.407 1.788 1.3 1.788 2.4 0 1.42-1.212 2.397-2.569 2.612v.836a.75.75 0 0 1-1.5 0v-.864c-.857-.166-1.612-.614-2.083-1.266a.75.75 0 1 1 1.215-.88c.283.392.87.718 1.618.718h.187c1.067 0 1.632-.665 1.632-1.155 0-.343-.25-.77-.845-1.009l-2.505-1.002c-1.019-.407-1.788-1.3-1.788-2.4v-.079c0-1.41 1.226-2.364 2.569-2.546v-.823a.75.75 0 0 1 .75-.75" clip-rule="evenodd"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Cashback</span></a><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/auth/sign-in?redirect_url=%2Fusage"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M17.42 3a1.75 1.75 0 0 0-1.75 1.75v14.5c0 .966.783 1.75 1.75 1.75h1.83A1.75 1.75 0 0 0 21 19.25V4.75A1.75 1.75 0 0 0 19.25 3zM11.08 8.334a1.75 1.75 0 0 0-1.75 1.75v9.167c0 .966.784 1.75 1.75 1.75h1.83a1.75 1.75 0 0 0 1.75-1.75v-9.167a1.75 1.75 0 0 0-1.75-1.75zM4.75 12.777A1.75 1.75 0 0 0 3 14.527v4.723c0 .966.784 1.75 1.75 1.75h1.83a1.75 1.75 0 0 0 1.75-1.75v-4.723a1.75 1.75 0 0 0-1.75-1.75z"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Analytics</span></a><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-200 px-q-150 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none group/nav-item" href="/auth/sign-in?redirect_url=%2Fbilling"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px] text-q-icon-primary border border-q-transparent-light-20 bg-q-overlay-hover backdrop-blur-[12px] shadow-[inset_0_-0.3px_6px_0_rgba(185,185,185,0.35)] [&>svg]:[mask-image:linear-gradient(180deg,rgba(0,0,0,0.9)_9%,rgba(0,0,0,0.5)_88%)]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" d="M3.75 4.003A1.75 1.75 0 0 0 2 5.753V9h19.996v1.5H2v7.746c0 .967.784 1.75 1.75 1.75h16.496a1.75 1.75 0 0 0 1.75-1.75V9.053q0-1.65-.002-3.304a1.75 1.75 0 0 0-1.749-1.746zm3 8.497a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Billing</span></a></div></div></nav><div class="flex shrink-0 flex-col gap-q-200 p-q-200"><div class="-mb-q-200" style="height:auto;opacity:1;overflow:visible"><div class="flex flex-col gap-q-200 pb-q-200 empty:hidden"><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-100 pl-q-150 pr-q-250 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none" aria-label="Contact sales" data-attr="contact-sales.open" href="/contact-sales"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.252 15.748a7 7 0 0 1-.462-.194 1.13 1.13 0 0 0-.743-.075c-.799.198-1.623.321-2.491.374.23-.594.433-1.192.58-1.803.069-.288-.014-.587-.186-.829A6.4 6.4 0 0 1 2.75 9.5c0-3.728 3.246-6.75 7.25-6.75 3.547 0 6.499 2.371 7.127 5.504M15.5 21.25c-3.176 0-5.75-2.35-5.75-5.25s2.574-5.25 5.75-5.25 5.75 2.35 5.75 5.25a4.9 4.9 0 0 1-.889 2.805c-.171.247-.258.551-.183.843.114.437.264.867.433 1.293a11 11 0 0 1-1.903-.273 1.17 1.17 0 0 0-.731.072c-.75.327-1.59.51-2.477.51"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Contact sales</span></a><a href="https://status.higgsfield.ai" target="_blank" rel="noreferrer" class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium text-q-text-primary gap-q-100 pl-q-150 pr-q-250 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 hover:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none" aria-label="Status" data-attr="navigation.status.open"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17.25 12h-2.1l-1.65 3-3-6-1.65 3h-2.1M12 5.572c6.333-6.44 17.19 5.52 0 15.178C-5.19 11.092 5.667-.868 12 5.572"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Status</span></a></div></div><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium gap-q-100 pl-q-150 pr-q-250 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none text-q-brand-primary bg-q-transparent-lime-10 hover:bg-q-transparent-lime-20" aria-label="Pricing" href="/pricing"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 7.375V6.347m0 10.278v1.028m2.226-8.736C13.78 8.302 12.95 7.889 12 7.889h-.286c-1.26 0-2.283.818-2.283 1.827v.078c0 .722.51 1.382 1.316 1.705l2.506 1.002c.807.323 1.316.983 1.316 1.705 0 1.052-1.066 1.905-2.382 1.905H12c-.951 0-1.781-.413-2.226-1.028M21.25 12a9.25 9.25 0 1 1-18.5 0 9.25 9.25 0 0 1 18.5 0"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Pricing</span></a><a class="flex min-h-9 w-full cursor-pointer items-center overflow-hidden rounded-q-100 py-q-100 text-q-body-sm-medium gap-q-100 pl-q-150 pr-q-250 group-data-[collapsed]/sidebar:w-9 group-data-[collapsed]/sidebar:flex-none group-data-[collapsed]/sidebar:px-q-150 transition-colors duration-q-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus motion-reduce:transition-none bg-q-button-brand text-q-button-label-brand hover:bg-q-lime-400" aria-label="Log in" href="/auth/sign-in?redirect_url=%2Fmodels%2Fbytedance%2Fseedance-2.5%2Fvideo-edit%2Fapi-reference"><span class="flex size-q-600 shrink-0 items-center justify-center rounded-q-100 [&>svg]:size-q-400 [&_path]:stroke-[2.25px]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linejoin="round" stroke-width="1.5" d="M12 12.25c-4.6 0-6.872 3.216-7.206 7-.05.551.404 1 .956 1h12.5c.552 0 1.005-.449.956-1-.334-3.784-2.606-7-7.206-7Zm0 0a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"></path></svg></span><span class="min-w-0 flex-1 truncate text-left transition-opacity duration-q-160 ease-q-out motion-reduce:transition-none group-data-[collapsed]/sidebar:pointer-events-none group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:duration-q-80">Log in</span></a></div></div></div><div role="separator" aria-label="Resize sidebar" aria-orientation="vertical" class="group/resize absolute -right-q-150 top-0 z-20 h-full w-q-300 cursor-col-resize"><span aria-hidden="true" class="absolute top-q-300 bottom-q-300 left-1/2 w-px -translate-x-1/2 bg-q-border-subtle opacity-0 transition-opacity duration-q-150 group-hover/resize:opacity-100 motion-reduce:transition-none"></span></div></aside></header><nav aria-label="Mobile navigation" class="fixed inset-x-0 top-(--mobile-nav-top) z-30 flex h-[var(--mobile-header-height)] w-full items-center justify-between border-b border-q-border-default bg-page-base pl-3 pr-1 area-[header] lg:hidden"><div class="flex min-w-0 flex-1 items-center gap-2"><a class="flex items-center shrink-0" href="/"><img class="size-7" alt="Higgsfield" src="/cdn-cgi/image/fit=scale-down,format=webp,onerror=redirect,width=200,quality=75/quiz-logo.png" srcSet="/cdn-cgi/image/fit=scale-down,format=webp,onerror=redirect,width=100,quality=75/quiz-logo.png 1x, /cdn-cgi/image/fit=scale-down,format=webp,onerror=redirect,width=200,quality=75/quiz-logo.png 2x" width="96" height="96" loading="lazy" decoding="async" style="color:transparent"/></a><span aria-hidden="true" class="h-5 w-px shrink-0 bg-divider-primary"></span><span class="min-w-0 truncate text-sm-medium text-font-primary">Higgsfield API</span></div><div class="flex shrink-0 items-center gap-1"><div class="flex min-w-0 items-center gap-1"><button type="button" aria-label="Search models" class="flex items-center gap-1 px-2.5 py-2 justify-center overflow-hidden text-left min-h-11 min-w-11 cursor-pointer rounded-md bg-transparent text-q-text-primary hover:bg-q-overlay-hover active:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-4 shrink-0"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m20.25 20.25-4.123-4.123m0 0A7.25 7.25 0 1 0 5.874 5.874a7.25 7.25 0 0 0 10.253 10.253"></path></svg></button><div class="size-8 shrink-0 rounded-md bg-3d-card animate-pulse"></div></div><button type="button" aria-expanded="false" aria-label="Open the Higgsfield API navigation" class="flex size-11 shrink-0 items-center justify-center min-h-11 min-w-11 cursor-pointer rounded-md bg-transparent text-q-text-primary hover:bg-q-overlay-hover active:bg-q-overlay-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-q-border-focus"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.75 12h18.5M2.75 5.75h18.5m-18.5 12.5h18.5"></path></svg></button></div></nav></div><main id="main" data-app-main="true" tabindex="-1" class="area-[main] flex h-full min-h-0 w-full min-w-0 flex-1 bg-q-background-primary outline-none pt-(--mobile-header-height) lg:py-q-100 lg:pr-q-100"><div data-app-scroll-panel="true" data-scroll-restoration-id="app-scroll-panel" class="flex min-h-0 w-full min-w-0 flex-1 lg:overflow-x-hidden lg:overflow-y-auto lg:rounded-q-300 lg:border lg:border-q-transparent-light-05"><div class="relative isolate flex min-h-full w-full min-w-0 flex-1 bg-q-background-primary"><div class="pointer-events-none absolute inset-0 -z-10 mix-blend-screen"><svg aria-hidden="true" viewBox="0 0 1000 463" preserveAspectRatio="none" class="pointer-events-none absolute inset-x-0 top-0 -z-10 h-[463px] w-full select-none"><defs><linearGradient id="cosmic-fallback-background" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="black" stop-opacity="0.98"></stop><stop offset="0.55" stop-color="black" stop-opacity="0.96"></stop><stop offset="1" stop-color="black" stop-opacity="0"></stop></linearGradient><radialGradient id="cosmic-fallback-center-fade" gradientUnits="userSpaceOnUse" cx="500" cy="287.06" r="270" gradientTransform="translate(500 287.06) scale(1 0.39440740740740743) translate(-500 -287.06)"><stop offset="0" stop-color="black" stop-opacity="0.44"></stop><stop offset="0.5" stop-color="black" stop-opacity="0.25"></stop><stop offset="1" stop-color="black" stop-opacity="0"></stop></radialGradient><radialGradient id="cosmic-fallback-left-fade" gradientUnits="userSpaceOnUse" cx="278" cy="266.22499999999997" r="105" gradientTransform="translate(278 266.22499999999997) scale(1 0.6834761904761905) translate(-278 -266.22499999999997)"><stop offset="0" stop-color="black" stop-opacity="0.22"></stop><stop offset="1" stop-color="black" stop-opacity="0"></stop></radialGradient><radialGradient id="cosmic-fallback-right-fade" gradientUnits="userSpaceOnUse" cx="722" cy="266.22499999999997" r="105" gradientTransform="translate(722 266.22499999999997) scale(1 0.6834761904761905) translate(-722 -266.22499999999997)"><stop offset="0" stop-color="black" stop-opacity="0.22"></stop><stop offset="1" stop-color="black" stop-opacity="0"></stop></radialGradient><filter id="cosmic-fallback-defocus"><feGaussianBlur stdDeviation="12.5"></feGaussianBlur></filter><radialGradient id="cosmic-fallback-center-focus" gradientUnits="userSpaceOnUse" cx="500" cy="287.06" r="270" gradientTransform="translate(500 287.06) scale(1 0.39440740740740743) translate(-500 -287.06)"><stop offset="0" stop-color="white" stop-opacity="1"></stop><stop offset="0.55" stop-color="white" stop-opacity="0.72"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="cosmic-fallback-left-focus" gradientUnits="userSpaceOnUse" cx="278" cy="266.22499999999997" r="150" gradientTransform="translate(278 266.22499999999997) scale(1 0.6481999999999999) translate(-278 -266.22499999999997)"><stop offset="0" stop-color="white" stop-opacity="1"></stop><stop offset="0.45" stop-color="white" stop-opacity="0.8"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="cosmic-fallback-right-focus" gradientUnits="userSpaceOnUse" cx="722" cy="266.22499999999997" r="150" gradientTransform="translate(722 266.22499999999997) scale(1 0.6481999999999999) translate(-722 -266.22499999999997)"><stop offset="0" stop-color="white" stop-opacity="1"></stop><stop offset="0.45" stop-color="white" stop-opacity="0.8"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><mask id="cosmic-fallback-focus-mask"><rect width="1000" height="463" fill="url(#cosmic-fallback-center-focus)"></rect><rect width="1000" height="463" fill="url(#cosmic-fallback-left-focus)"></rect><rect width="1000" height="463" fill="url(#cosmic-fallback-right-focus)"></rect></mask><linearGradient id="cosmic-fallback-lower-fade" x1="0" y1="0.58" x2="0" y2="1"><stop offset="0" stop-color="black" stop-opacity="0"></stop><stop offset="1" stop-color="black" stop-opacity="0.62"></stop></linearGradient></defs><g id="cosmic-fallback-scene"><rect width="1000" height="463" fill="url(#cosmic-fallback-background)"></rect><g fill="none" stroke="rgb(177 181 186)" stroke-linecap="butt"><line x1="0" y1="0" x2="278" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="71.42857142857143" y1="0" x2="309.7142857142857" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="142.85714285714286" y1="0" x2="341.42857142857144" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="214.28571428571428" y1="0" x2="373.1428571428571" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="285.7142857142857" y1="0" x2="404.85714285714283" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="357.14285714285717" y1="0" x2="436.57142857142856" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="428.57142857142856" y1="0" x2="468.2857142857143" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="500" y1="0" x2="500" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="571.4285714285714" y1="0" x2="531.7142857142857" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="642.8571428571429" y1="0" x2="563.4285714285714" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="714.2857142857143" y1="0" x2="595.1428571428571" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="785.7142857142857" y1="0" x2="626.8571428571429" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="857.1428571428571" y1="0" x2="658.5714285714286" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="928.5714285714286" y1="0" x2="690.2857142857142" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="0" x2="722" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="48.614999999999995" x2="1000" y2="48.614999999999995" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="63.940000000000005" y1="96.5355" x2="936.06" y2="96.5355" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="63.940000000000005" y1="96.5355" x2="63.940000000000005" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="936.06" y1="96.5355" x2="936.06" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="111.2" y1="131.955" x2="888.8" y2="131.955" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="111.2" y1="131.955" x2="111.2" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="888.8" y1="131.955" x2="888.8" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="147.34" y1="159.0405" x2="852.66" y2="159.0405" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="147.34" y1="159.0405" x2="147.34" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="852.66" y1="159.0405" x2="852.66" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="175.14000000000001" y1="179.8755" x2="824.86" y2="179.8755" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="175.14000000000001" y1="179.8755" x2="175.14000000000001" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="824.86" y1="179.8755" x2="824.86" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="197.38" y1="196.5435" x2="802.62" y2="196.5435" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="197.38" y1="196.5435" x2="197.38" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="802.62" y1="196.5435" x2="802.62" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="216.84" y1="211.12800000000004" x2="783.16" y2="211.12800000000004" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="216.84" y1="211.12800000000004" x2="216.84" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="783.16" y1="211.12800000000004" x2="783.16" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="233.51999999999998" y1="223.62900000000002" x2="766.48" y2="223.62900000000002" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="233.51999999999998" y1="223.62900000000002" x2="233.51999999999998" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="766.48" y1="223.62900000000002" x2="766.48" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="247.42000000000002" y1="234.04650000000004" x2="752.5799999999999" y2="234.04650000000004" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="247.42000000000002" y1="234.04650000000004" x2="247.42000000000002" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="752.5799999999999" y1="234.04650000000004" x2="752.5799999999999" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="258.54" y1="242.38050000000004" x2="741.46" y2="242.38050000000004" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="258.54" y1="242.38050000000004" x2="258.54" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="741.46" y1="242.38050000000004" x2="741.46" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="268.27" y1="249.67275" x2="731.73" y2="249.67275" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="268.27" y1="249.67275" x2="268.27" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="731.73" y1="249.67275" x2="731.73" y2="463" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="278" y1="256.96500000000003" x2="722" y2="256.96500000000003" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="115.75" x2="278" y2="282.43" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="115.75" x2="722" y2="282.43" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="178.255" x2="278" y2="310.9816666666667" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="178.255" x2="722" y2="310.9816666666667" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="240.76" x2="278" y2="339.53333333333336" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="240.76" x2="722" y2="339.53333333333336" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="303.265" x2="278" y2="368.08500000000004" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="303.265" x2="722" y2="368.08500000000004" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="365.77" x2="278" y2="396.63666666666666" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="365.77" x2="722" y2="396.63666666666666" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="428.27500000000003" x2="278" y2="425.1883333333334" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="428.27500000000003" x2="722" y2="425.1883333333334" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="490.78000000000003" x2="278" y2="453.74" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="490.78000000000003" x2="722" y2="453.74" opacity="0" stroke-width="0.75" vector-effect="non-scaling-stroke"></line><line x1="0" y1="48.614999999999995" x2="278" y2="256.96500000000003" opacity="0" stroke-width="0.9" vector-effect="non-scaling-stroke"></line><line x1="1000" y1="48.614999999999995" x2="722" y2="256.96500000000003" opacity="0" stroke-width="0.9" vector-effect="non-scaling-stroke"></line></g></g><use href="#cosmic-fallback-scene" filter="url(#cosmic-fallback-defocus)" mask="url(#cosmic-fallback-focus-mask)"></use><rect width="1000" height="463" fill="url(#cosmic-fallback-center-fade)"></rect><rect width="1000" height="463" fill="url(#cosmic-fallback-left-fade)"></rect><rect width="1000" height="463" fill="url(#cosmic-fallback-right-fade)"></rect><rect width="1000" height="463" fill="url(#cosmic-fallback-lower-fade)"></rect></svg><canvas aria-hidden="true" class="pointer-events-none absolute inset-x-0 top-0 -z-10 h-[463px] w-full select-none" style="height:463px"></canvas></div><div data-app-content="" class="mx-auto flex w-full min-w-0 flex-1 flex-col [container-type:inline-size] [container-name:app-content]"><!--$--><!--$--><div class="my-0 w-full content-lg:flex content-lg:flex-col [--model-page-width:90rem]"><div class="sticky top-(--mobile-header-height) z-20 hidden h-0 lg:top-0 content-lg:block"><div aria-hidden="true" inert="" class="pointer-events-none absolute inset-x-0 top-0 h-13 border-b border-q-border-default bg-page-base" style="opacity:0;transform:translateY(-4px)"><div class="relative mx-auto h-full w-full min-w-0 max-w-(--model-page-width)"><div class="pointer-events-none absolute inset-0 z-10 hidden items-center justify-between content-lg:flex"><div class="pointer-events-auto flex min-w-0 items-center gap-q-150 bg-page-base pl-q-400 pr-q-300 text-q-body-sm-medium"><a class="shrink-0 text-q-text-on-overlay-secondary transition-colors hover:text-q-text-primary motion-reduce:transition-none" href="/explore">Explore</a><span class="shrink-0 text-q-text-on-overlay-secondary">/</span><span class="min-w-0 truncate text-q-text-primary">Seedance 2.5</span><button type="button" aria-label="Select model variant: Video Edit" class="q-focus-ring flex min-h-11 min-w-0 cursor-pointer items-center gap-q-150 outline-none rounded-q-150 border border-q-border-default px-q-250 py-q-150 text-left text-q-body-sm-medium text-q-text-primary content-md:min-h-0 transition-colors hover:bg-q-transparent-light-05 active:bg-q-transparent-light-05 data-[state=open]:bg-q-transparent-light-05 motion-reduce:transition-none" id="radix-_R_4clcs8q_" aria-haspopup="menu" aria-expanded="false" data-state="closed"><span class="truncate">Video Edit</span><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="size-q-400 shrink-0"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m8 10 3.646 3.646a.5.5 0 0 0 .708 0L16 10"></path></svg></button></div><div class="pointer-events-auto flex h-full items-center bg-page-base pl-q-300 pr-q-400"></div></div></div></div></div><div class="mx-auto w-full max-w-(--model-page-width)"><header class="absolute inset-x-q-400 top-q-400 z-20 flex items-start text-q-body-sm-medium text-q-text-primary gap-q-150"><a class="text-q-text-secondary transition-colors hover:text-q-text-primary" href="/explore">Explore</a><span class="text-q-text-secondary">/</span><span class="min-w-0 truncate">Seedance 2.5</span></header><header class="relative isolate"><div aria-hidden="true" class="h-13"></div><div aria-hidden="true" class="pointer-events-none absolute inset-y-0 left-1/2 -z-10 w-screen -translate-x-1/2 bg-q-background-primary"></div><div class="flex flex-col gap-8 px-4 pb-20 pt-10 content-sm:px-8 content-md:pb-q-2400 content-lg:items-center content-lg:gap-[3.375rem] content-lg:pl-8 content-lg:pr-10 content-lg:pt-16 content-lg:flex-row"><div class="flex min-w-0 flex-1 flex-col items-start gap-8"><div class="flex flex-wrap items-end gap-q-250"><span class="flex items-center whitespace-nowrap bg-q-transparent-light-05 text-q-text-primary h-7 gap-q-150 rounded-q-200 px-q-100 text-q-label-xs-medium" style="background-image:linear-gradient(180deg, transparent, rgba(255,0,91,.14))"><span class="relative flex items-center justify-center overflow-hidden border border-q-transparent-light-20 size-q-500 rounded-[0.3125rem]" style="background-image:linear-gradient(119deg, #ff005b 28.53%, #ee0075 49.32%, #d3009e 82.784%)"><span aria-hidden="true" class="absolute inset-0 bg-linear-to-b from-white/60 to-transparent mix-blend-hard-light"></span><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="relative size-q-400 text-q-text-primary"><path fill="currentColor" d="M7.657 2.279C6.491 1.572 5 2.412 5 3.775v16.45c0 1.363 1.49 2.203 2.657 1.496l13.57-8.224a1.75 1.75 0 0 0 0-2.993z"></path></svg></span><span class="pr-q-100">Video</span></span></div><div class="flex min-w-0 flex-col gap-2.5"><div class="relative flex min-w-0 flex-wrap items-center gap-4"><div class="flex min-w-0 items-center gap-2"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-9 shrink-0 text-icon-primary"><path fill="currentColor" d="m5.943 18.192-3.276.82V4.498l3.276.819zM21.778 19.042l-3.283.819V3.648l3.283.813zM11.14 18.635l-3.276.82v-8.55l3.277.82zM13.282 9.637l3.282-.82v8.55l-3.282-.819z"></path></svg><h1 class="text-q-accent-lg-bold uppercase [font-feature-settings:'ss04'] min-w-0 text-q-text-primary">Seedance 2.5</h1></div><button type="button" aria-label="Select model variant: Video Edit" class="q-focus-ring flex min-h-11 min-w-0 cursor-pointer items-center gap-q-150 outline-none rounded-q-150 border border-q-border-default px-q-250 py-q-150 text-left text-q-body-sm-medium text-q-text-primary content-md:min-h-0 transition-colors hover:bg-q-transparent-light-05 active:bg-q-transparent-light-05 data-[state=open]:bg-q-transparent-light-05 motion-reduce:transition-none" id="radix-_R_j7j5cs8q_" aria-haspopup="menu" aria-expanded="false" data-state="closed"><span class="truncate">Video Edit</span><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="size-q-400 shrink-0"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m8 10 3.646 3.646a.5.5 0 0 0 .708 0L16 10"></path></svg></button><div aria-hidden="true" class="absolute inset-x-0 bottom-14 h-px lg:-bottom-px"></div></div><p class="max-w-[30.125rem] text-q-label-xs-medium text-q-text-secondary">Generate videos from text, images, video, and audio references, with clips up to 30 seconds. Animate images, edit or extend existing footage, and generate audio alongside your video.</p></div><div class="flex flex-wrap items-center gap-2"><button type="button" class="q-button q-button-secondary q-button-sm min-h-11 shrink-0 shadow-none md:min-h-0 motion-reduce:transition-none motion-reduce:after:transition-none [--q-button-hover-overlay:var(--hf-color-transparent-dark-15)]! rounded-q-150! py-q-200! pl-q-200! pr-q-300! text-q-label-sm-semi-bold!"><span aria-hidden="true" class="isolate flex shrink-0 items-center"><span class="relative flex size-6 shrink-0 items-center justify-center rounded-full border-q-medium border-q-button-primary bg-[color-mix(in_srgb,var(--hf-color-button-primary)_95%,var(--hf-color-grey-600))] [&:not(:last-child)]:-mr-[0.6875rem] svg:size-4 z-30"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M9.796 9.348V7.495c0-.156.059-.273.195-.35L13.716 5c.507-.293 1.112-.43 1.736-.43 2.34 0 3.822 1.814 3.822 3.745 0 .136 0 .292-.02.448l-3.861-2.262a.65.65 0 0 0-.702 0zm8.698 7.215v-4.427a.65.65 0 0 0-.352-.604l-4.894-2.847 1.599-.917a.36.36 0 0 1 .39 0l3.725 2.145c1.072.624 1.794 1.95 1.794 3.237 0 1.482-.878 2.848-2.262 3.413m-9.848-3.9-1.599-.936c-.136-.078-.195-.195-.195-.35v-4.29C6.852 5 8.451 3.42 10.616 3.42c.819 0 1.579.273 2.223.76L8.997 6.405a.65.65 0 0 0-.35.604zm3.442 1.989-2.292-1.287v-2.73l2.292-1.287 2.29 1.287v2.73zm1.472 5.928a3.65 3.65 0 0 1-2.223-.76l3.841-2.224a.65.65 0 0 0 .351-.604v-5.655l1.619.936c.137.078.195.195.195.35v4.29c0 2.087-1.619 3.667-3.783 3.667m-4.622-4.348-3.724-2.145c-1.073-.624-1.794-1.95-1.794-3.237 0-1.502.897-2.847 2.281-3.413v4.446c0 .273.117.468.351.605l4.875 2.827-1.599.917a.35.35 0 0 1-.39 0m-.214 3.198c-2.203 0-3.822-1.658-3.822-3.705 0-.156.02-.312.039-.468l3.841 2.223a.65.65 0 0 0 .702 0l4.895-2.828v1.853c0 .156-.059.273-.195.35l-3.725 2.146c-.507.292-1.111.429-1.735.429m4.836 2.32a4.876 4.876 0 0 0 4.778-3.9c2.183-.566 3.588-2.613 3.588-4.7a4.93 4.93 0 0 0-1.638-3.646c.097-.41.156-.82.156-1.228 0-2.789-2.262-4.875-4.875-4.875-.527 0-1.034.077-1.54.253a4.89 4.89 0 0 0-3.413-1.404 4.876 4.876 0 0 0-4.778 3.9c-2.184.566-3.588 2.613-3.588 4.7 0 1.365.585 2.69 1.638 3.646-.098.41-.156.819-.156 1.228 0 2.789 2.262 4.875 4.875 4.875.526 0 1.033-.077 1.54-.253a4.89 4.89 0 0 0 3.413 1.404"></path></svg></span><span class="relative flex size-6 shrink-0 items-center justify-center rounded-full border-q-medium border-q-button-primary bg-[color-mix(in_srgb,var(--hf-color-button-primary)_95%,var(--hf-color-grey-600))] [&:not(:last-child)]:-mr-[0.6875rem] svg:size-4 z-20 svg:text-[#D97757]"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m5.924 15.296 3.934-2.206.066-.192-.066-.106h-.192l-.658-.04-2.249-.061-1.949-.081-1.888-.101-.476-.102L2 11.82l.046-.293.4-.268.572.05 1.266.086 1.898.132 1.377.08 2.041.213h.324l.046-.131-.112-.081-.086-.081-1.964-1.33L5.68 8.79l-1.114-.81-.602-.41-.304-.384-.132-.84.547-.602.734.05.187.051.745.572 1.59 1.23 2.076 1.527.303.253.122-.086.015-.06-.137-.228-1.129-2.04L7.377 4.94l-.536-.86-.142-.517a2.5 2.5 0 0 1-.086-.607l.622-.845L7.58 2l.83.111.35.304.516 1.179.835 1.857 1.297 2.524.38.749.202.693.076.213h.131v-.122l.107-1.421.197-1.746.193-2.246.065-.633.314-.759.623-.41.486.233.4.572-.055.37-.238 1.542-.466 2.419-.304 1.619h.177l.203-.203.82-1.087 1.377-1.72.608-.684.709-.753.455-.36h.861l.633.941-.284.972-.886 1.123-.734.951-1.053 1.417-.658 1.133.06.091.158-.015 2.38-.506 1.285-.233 1.535-.263.693.324.076.329-.273.673-1.64.405-1.925.384-2.866.678-.035.025.04.051 1.292.121.551.03h1.352l2.517.188.658.435.395.531-.066.405-1.012.516-1.368-.324-3.19-.759-1.093-.273h-.152v.091l.911.89 1.671 1.508 2.091 1.943.107.48-.269.38-.283-.04-1.838-1.381-.709-.623-1.605-1.35h-.106v.141l.37.542 1.954 2.934.1.9-.14.294-.507.177-.557-.101-1.144-1.604-1.18-1.806-.952-1.62-.117.067-.562 6.046-.263.308-.607.233-.507-.384-.268-.623.268-1.23.324-1.603.264-1.275.238-1.584.141-.526-.01-.035-.116.015-1.195 1.64-1.818 2.453-1.438 1.538-.344.137-.598-.309.056-.551.334-.491 1.99-2.53 1.2-1.568.775-.906-.005-.132h-.046l-5.286 3.43-.942.122-.405-.38.05-.622.193-.202 1.59-1.093z"></path></svg></span><span class="relative flex size-6 shrink-0 items-center justify-center rounded-full border-q-medium border-q-button-primary bg-[color-mix(in_srgb,var(--hf-color-button-primary)_95%,var(--hf-color-grey-600))] [&:not(:last-child)]:-mr-[0.6875rem] svg:size-4 z-10"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m20.842 6.47-8.406-4.853a.87.87 0 0 0-.873 0L3.156 6.47a.73.73 0 0 0-.367.635v9.788c0 .262.14.505.367.636l8.407 4.853c.27.156.603.156.873 0l8.407-4.853a.73.73 0 0 0 .367-.636V7.106a.74.74 0 0 0-.368-.635M20.314 7.5 12.2 21.555c-.055.095-.2.056-.2-.054v-9.204a.52.52 0 0 0-.258-.446l-7.97-4.602c-.095-.055-.056-.2.053-.2h16.231a.3.3 0 0 1 .26.45"></path></svg></span></span><span class="q-button-label-frame"><span class="grid"><span aria-hidden="false" class="whitespace-nowrap col-start-1 row-start-1 transition-[opacity,transform] ease-out motion-reduce:transition-none motion-reduce:transform-none translate-y-0 opacity-100 duration-150 delay-100">Copy agent prompt</span><span aria-hidden="true" class="whitespace-nowrap col-start-1 row-start-1 transition-[opacity,transform] ease-out motion-reduce:transition-none motion-reduce:transform-none translate-y-0.5 opacity-0 duration-100 delay-0">Paste into your agent</span></span></span><span aria-hidden="true" class="grid size-4 shrink-0"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-4! text-q-grey-300 col-start-1 row-start-1 transition-[opacity,transform] ease-out motion-reduce:transition-none motion-reduce:transform-none translate-y-0 opacity-100 duration-150 delay-100"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-4! text-q-grey-300 col-start-1 row-start-1 transition-[opacity,transform] ease-out motion-reduce:transition-none motion-reduce:transform-none translate-y-0.5 opacity-0 duration-100 delay-0"><path fill="currentColor" fill-rule="evenodd" d="M21.743 2.995a1.25 1.25 0 0 1 .263 1.748l-12 16.25a1.25 1.25 0 0 1-1.782.237l-6-4.75a1.25 1.25 0 1 1 1.552-1.96l4.986 3.948 11.232-15.21a1.25 1.25 0 0 1 1.749-.263" clip-rule="evenodd"></path></svg></span></button><output class="sr-only"></output><a class="q-button-ghost [--q-button-hover-overlay:var(--hf-color-transparent-light-10)]! q-button q-button-sm rounded-q-150 active" href="/models/bytedance/seedance-2.5/video-edit/api-reference#model-api-reference" data-status="active" aria-current="page"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12.75 3.25v5a1 1 0 0 0 1 1h5m-6.414-6.5H5.75a1 1 0 0 0-1 1v16.5a1 1 0 0 0 1 1h12.5a1 1 0 0 0 1-1V9.664a1 1 0 0 0-.293-.707l-5.914-5.914a1 1 0 0 0-.707-.293"></path></svg>View docs</a></div></div><div class="flex w-full min-w-0 justify-center content-lg:flex-1"><div class="group/code relative flex h-80 min-w-0 flex-col rounded-q-250 p-px bg-q-border-subtle content-lg:h-[14rem] content-lg:w-full content-lg:max-w-[36rem] content-lg:min-w-0 content-lg:shrink" style="--spotlight-x:50%;--spotlight-y:0%"><div aria-hidden="true" class="pointer-events-none absolute inset-0 rounded-[inherit] bg-[radial-gradient(12.5rem_circle_at_var(--spotlight-x)_var(--spotlight-y),var(--hf-color-transparent-light-30),transparent_55%)] opacity-0 transition-opacity duration-q-220 ease-q-out [@media(hover:hover)]:group-hover/code:opacity-100 motion-reduce:hidden"></div><div class="relative flex min-h-0 min-w-0 flex-1 flex-col justify-between overflow-hidden rounded-[calc(var(--radius-q-250)-1px)] bg-q-background-secondary px-2.5 py-3 shadow-[inset_-1px_-1px_1px_0_rgba(21,21,21,0.8),inset_0_0_1px_0_rgba(79,79,79,0.35),inset_0_-0.3px_1px_0_rgba(185,185,185,0.35)]"><div class="flex pb-2.5"><button type="button" tabindex="0" id="base-ui-_R_3bj5cs8q_" role="combobox" aria-expanded="false" aria-haspopup="listbox" aria-label="Code language" class="q-field-control q-select-trigger q-select-trigger-sm h-6 w-auto gap-0 rounded-q-100 border border-q-border-default bg-transparent px-1.5 text-q-caption-sm-medium focus-within:!shadow-none focus-visible:!shadow-none data-[popup-open]:!shadow-none"><span class="q-select-value flex-none px-1.5">TypeScript</span><span aria-hidden="true" class="q-select-icon size-4"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m8 10 3.646 3.646a.5.5 0 0 0 .708 0L16 10"></path></svg></span></button><input id="base-ui-_R_3bj5cs8q_-hidden-input" style="clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0;padding:0;width:1px;height:1px;margin:-1px;position:fixed;top:0;left:0" tabindex="-1" aria-hidden="true" value="javascript"/></div><pre class="min-h-0 min-w-0 flex-1 overflow-auto text-q-mono-sm-regular text-q-text-primary"><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">1</span><code><span class="text-pink-1">import</span><span> { config, higgsfield } </span><span class="text-pink-1">from</span><span> </span><span class="text-success-7">"@higgsfield/client/v2"</span><span>;</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">2</span><code></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">3</span><code><span class="text-secondary-7">config</span><span>({</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">4</span><code><span> credentials: process.env.HF_CREDENTIALS,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">5</span><code><span>});</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">6</span><code></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">7</span><code><span class="text-pink-1">const</span><span> result = </span><span class="text-pink-1">await</span><span> higgsfield.</span><span class="text-secondary-7">subscribe</span><span>(</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">8</span><code><span> </span><span class="text-success-7">"bytedance/seedance-2.5/video-edit"</span><span>,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">9</span><code><span> {</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">10</span><code><span> input: {</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">11</span><code><span> </span><span class="text-success-7">"draft"</span><span>: </span><span class="text-pink-1">false</span><span>,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">12</span><code><span> </span><span class="text-success-7">"prompt"</span><span>: </span><span class="text-success-7">"A cinematic scene at sunset"</span><span>,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">13</span><code><span> </span><span class="text-success-7">"video_url"</span><span>: </span><span class="text-success-7">"https://example.com/input.mp4"</span><span>,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">14</span><code><span> </span><span class="text-success-7">"resolution"</span><span>: </span><span class="text-success-7">"720p"</span><span>,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">15</span><code><span> </span><span class="text-success-7">"bitrate_mode"</span><span>: </span><span class="text-success-7">"high"</span><span>,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">16</span><code><span> </span><span class="text-success-7">"generate_audio"</span><span>: </span><span class="text-pink-1">true</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">17</span><code><span> },</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">18</span><code><span> withPolling: </span><span class="text-pink-1">true</span><span>,</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">19</span><code><span> },</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">20</span><code><span>);</span></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">21</span><code></code></span><span class="flex min-w-max gap-2 px-2.5 py-1"><span aria-hidden="true" class="w-3 shrink-0 text-right text-q-text-on-overlay-secondary">22</span><code><span>console.</span><span class="text-secondary-7">log</span><span>(result);</span></code></span></pre><button type="button" class="q-button q-button-ghost q-button-xxs w-28 justify-start rounded-q-100 px-1.5 [--q-button-hover-overlay:var(--hf-color-overlay-hover)]"><span class="inline-flex w-full items-center justify-start gap-1.5 svg:size-3" style="opacity:1;transform:none"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg><span>Copy for agent</span></span></button></div></div></div></div></header></div><div class="flex min-h-0 flex-1 flex-col"><div class="mx-auto w-full max-w-(--model-page-width) px-4 py-q-800 empty:hidden content-sm:px-8"></div><div aria-hidden="true" data-model-tabs-sentinel="true" class="relative -top-14 -mb-px h-px lg:top-0"></div><div class="sticky top-(--mobile-header-height) z-20 shrink-0 bg-page-base lg:top-0"><div class="relative mx-auto w-full min-w-0 max-w-(--model-page-width)"><div aria-hidden="true" class="pointer-events-none absolute inset-x-4 bottom-0 z-20 h-px bg-q-border-default transition-opacity content-sm:inset-x-8 motion-reduce:transition-none"></div><div aria-hidden="true" inert="" class="pointer-events-none absolute inset-0 z-10" style="opacity:0;transform:translateY(-4px)"><div class="pointer-events-none absolute inset-0 z-10 hidden items-center justify-between content-lg:flex"><div class="pointer-events-auto flex min-w-0 items-center gap-q-150 bg-page-base pl-q-400 pr-q-300 text-q-body-sm-medium"><a class="shrink-0 text-q-text-on-overlay-secondary transition-colors hover:text-q-text-primary motion-reduce:transition-none" href="/explore">Explore</a><span class="shrink-0 text-q-text-on-overlay-secondary">/</span><span class="min-w-0 truncate text-q-text-primary">Seedance 2.5</span><button type="button" aria-label="Select model variant: Video Edit" class="q-focus-ring flex min-h-11 min-w-0 cursor-pointer items-center gap-q-150 outline-none rounded-q-150 border border-q-border-default px-q-250 py-q-150 text-left text-q-body-sm-medium text-q-text-primary content-md:min-h-0 transition-colors hover:bg-q-transparent-light-05 active:bg-q-transparent-light-05 data-[state=open]:bg-q-transparent-light-05 motion-reduce:transition-none" id="radix-_R_13al5cs8q_" aria-haspopup="menu" aria-expanded="false" data-state="closed"><span class="truncate">Video Edit</span><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="size-q-400 shrink-0"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m8 10 3.646 3.646a.5.5 0 0 0 .708 0L16 10"></path></svg></button></div><div class="pointer-events-auto flex h-full items-center bg-page-base pl-q-300 pr-q-400"></div></div></div><nav aria-label="Model sections" class="hide-scrollbar min-w-0 overflow-x-auto px-4 content-sm:px-8"><div class="flex w-max min-w-max gap-q-100"><a aria-disabled="false" class="relative flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap border-b-2 px-q-300 pb-q-300 pt-q-400 text-q-label-sm-medium transition-colors motion-reduce:transition-none border-transparent text-q-text-tertiary hover:text-q-text-primary" href="/models/bytedance/seedance-2.5/video-edit/playground">Playground</a><a aria-disabled="true" class="relative flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap border-b-2 px-q-300 pb-q-300 pt-q-400 text-q-label-sm-medium transition-colors motion-reduce:transition-none border-transparent text-q-text-tertiary hover:text-q-text-primary" data-state="closed" href="/auth/sign-in?redirect_url=%2Fmodels%2Fbytedance%2Fseedance-2.5%2Fvideo-edit%2Fapi-reference">API</a><a aria-disabled="true" class="relative flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap border-b-2 px-q-300 pb-q-300 pt-q-400 text-q-label-sm-medium transition-colors motion-reduce:transition-none border-transparent text-q-text-tertiary hover:text-q-text-primary" data-state="closed" href="/auth/sign-in?redirect_url=%2Fmodels%2Fbytedance%2Fseedance-2.5%2Fvideo-edit%2Frequests">Requests</a><a aria-disabled="true" class="relative flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap border-b-2 px-q-300 pb-q-300 pt-q-400 text-q-label-sm-medium transition-colors motion-reduce:transition-none border-transparent text-q-text-tertiary hover:text-q-text-primary" data-state="closed" href="/auth/sign-in?redirect_url=%2Fmodels%2Fbytedance%2Fseedance-2.5%2Fvideo-edit%2Fanalytics">Analytics</a></div></nav></div></div><div class="mx-auto w-full max-w-(--model-page-width) px-4 content-sm:px-8"><div class="pb-20 pt-q-1000 content-md:pt-q-1200"><!--$--><div id="model-api-reference" class="w-full"><section class="flex min-w-0 flex-col gap-6 content-sm:gap-8"><div class="grid min-w-0 gap-6 content-sm:gap-8 content-lg:grid-cols-[18.75rem_minmax(0,1fr)] content-lg:items-start content-lg:gap-3"><nav aria-label="API reference contents" class="flex min-w-0 flex-col gap-4 content-lg:sticky content-lg:top-4"><div class="flex items-center gap-4"><p class="min-w-0 flex-1 text-sm-semi text-font-primary">About</p><button type="button" data-attr="model-api-reference.language.open" aria-label="Select API language" class="flex h-6 w-fit shrink-0 cursor-pointer items-center gap-1 rounded border border-neutral-primary-reverted/10 px-1.5 text-xs-medium text-font-primary outline-none transition-colors hover:bg-neutral-primary-reverted/5 svg:size-4 svg:text-icon-primary" id="radix-_R_4lt5cs8q_" aria-haspopup="menu" aria-expanded="false" data-state="closed">TypeScript<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m8 10 3.646 3.646a.5.5 0 0 0 .708 0L16 10"></path></svg></button></div><div class="flex flex-col"><a href="#1-calling-the-api" data-attr="model-api-reference.contents.select" aria-current="location" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-neutral-primary-reverted/5 bg-neutral-primary-reverted/10"><span class="w-5 shrink-0 text-center">1<!-- -->.</span><span>Calling the API</span></a><div class="relative flex flex-col"><span aria-hidden="true" class="absolute -top-2 bottom-2 left-4.5 w-px bg-divider-primary"></span><a href="#install" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Install</span></a><a href="#setup" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Setup</span></a><a href="#request-parameters" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Request parameters</span></a></div><div><a href="#2-authentication" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0 text-center">2<!-- -->.</span><span>Authentication</span></a><div class="relative flex flex-col"><span aria-hidden="true" class="absolute -top-2 bottom-2 left-4.5 w-px bg-divider-primary"></span><a href="#api-key" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">API Key</span></a></div></div><div><a href="#3-queue" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0 text-center">3<!-- -->.</span><span>Queue</span></a><div class="relative flex flex-col"><span aria-hidden="true" class="absolute -top-2 bottom-2 left-4.5 w-px bg-divider-primary"></span><a href="#submit-and-wait" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Submit and wait</span></a><a href="#explicit-lifecycle-control" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Explicit lifecycle control</span></a></div></div><div><a href="#4-draft-previews-and-finalization" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0 text-center">4<!-- -->.</span><span>Draft previews and finalization</span></a><div class="relative flex flex-col"><span aria-hidden="true" class="absolute -top-2 bottom-2 left-4.5 w-px bg-divider-primary"></span><a href="#1-create-a-draft" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">1. Create a draft</span></a><a href="#2-wait-for-the-draft-and-review-it" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">2. Wait for the draft and review it</span></a><a href="#3-finalize-at-1080p" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">3. Finalize at 1080p</span></a><a href="#pricing" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Pricing</span></a><a href="#requirements-and-limits" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Requirements and limits</span></a><a href="#supported-draft-endpoints" data-attr="model-api-reference.contents.select" class="flex items-center gap-2 rounded-md border p-2 text-sm-medium text-font-primary transition-colors border-transparent hover:bg-neutral-primary-reverted/5"><span class="w-5 shrink-0"></span><span class="text-neutral-primary-reverted/70">Supported draft endpoints</span></a></div></div></div></nav><article class="relative flex min-w-0 flex-col gap-4 px-4 py-1"><span id="about" aria-hidden="true" class="absolute top-0 scroll-mt-8"></span><p class="text-xs-medium text-font-secondary"><strong class="text-xs-semi text-font-primary">Seedance 2.5</strong> uses the model ID <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/video-edit</code>. Seedance 2.5 Video Edit enables video-to-video transformation by editing existing videos with prompts and optional audio, image, or additional video inputs. It supports output customization including resolution and format, with optional audio generation.</p> <h2 id="1-calling-the-api" class="text-brand-h-xxs-caps scroll-mt-8 font-grotesk uppercase text-font-primary">1. Calling the API</h2> <p class="text-xs-medium text-font-secondary">Send requests to <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit</code> with a JSON body matching the parameters below.</p> <h3 id="install" class="text-xs-medium scroll-mt-8 text-font-disabled">Install</h3> <p class="text-xs-medium text-font-secondary">Install an official server-side SDK. cURL needs no package.</p> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">npm install @higgsfield/client</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <!-- --> <h3 id="setup" class="text-xs-medium scroll-mt-8 text-font-disabled">Setup</h3> <p class="text-xs-medium text-font-secondary">Keep credentials in server-side environment variables. The SDKs accept the same <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">KEY_ID:KEY_SECRET</code> value under their documented variable names.</p> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">export HF_CREDENTIALS="YOUR_KEY_ID:YOUR_KEY_SECRET" # TypeScript export HF_KEY="YOUR_KEY_ID:YOUR_KEY_SECRET" # Python and cURL</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <h3 id="request-parameters" class="text-xs-medium scroll-mt-8 text-font-disabled">Request parameters</h3> <div class="overflow-x-auto rounded-md border border-divider-primary"><table class="w-full border-collapse text-left text-sm"><thead><tr><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">Parameter</th><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">Type</th><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">Required</th><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">Default</th><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">Description</th></tr></thead><tbody><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">prompt</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">string</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Yes</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">—</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Minimum length: 1.</td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">video_url</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">string</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Yes</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">—</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"></td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">audio_urls</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">array[string]</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">No</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">—</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"></td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">image_urls</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">array[string]</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">No</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">—</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"></td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">resolution</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">string</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">No</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">"720p"</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Options: 480p, 720p, 1080p.</td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">video_urls</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">array[string]</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">No</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">—</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"></td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">output_format</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">string</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">No</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">"mp4"</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Options: mp4, mov.</td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">generate_audio</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">boolean</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">No</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">true</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"></td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">draft</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">boolean</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">No</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">false</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Create a 480p MP4 preview with standard bitrate for later 1080p finalization. See the draft workflow below.</td></tr></tbody></table></div> <h2 id="2-authentication" class="text-brand-h-xxs-caps scroll-mt-8 font-grotesk uppercase text-font-primary">2. Authentication</h2> <p class="text-xs-medium text-font-secondary">The official SDKs read credentials from the server environment and send the required <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">Authorization: Key KEY_ID:KEY_SECRET</code> header.</p> <h3 id="api-key" class="text-xs-medium scroll-mt-8 text-font-disabled">API Key</h3> <p class="text-xs-medium text-font-secondary">Never expose the secret in browser-side code or commit it to source control. The TypeScript SDK is server-side only. For direct HTTP calls, use:</p> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">Authorization: Key $HF_KEY</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <h2 id="3-queue" class="text-brand-h-xxs-caps scroll-mt-8 font-grotesk uppercase text-font-primary">3. Queue</h2> <p class="text-xs-medium text-font-secondary"><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">subscribe</code> submits the asynchronous request and waits for a terminal result. The TypeScript SDK polls automatically when <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">withPolling: true</code>; the Python SDK's synchronous <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">subscribe</code> call also waits. A completed request returns the generated file in the <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">video</code> field.</p> <h3 id="submit-and-wait" class="text-xs-medium scroll-mt-8 text-font-disabled">Submit and wait</h3> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS, }); const result = await higgsfield.subscribe( "bytedance/seedance-2.5/video-edit", { input: { "prompt": "A cinematic scene at sunset", "video_url": "https://example.com/input.mp4", "resolution": "720p", "output_format": "mp4", "generate_audio": true }, withPolling: true, }, ); console.log(result);</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <!-- --> <!-- --> <h3 id="explicit-lifecycle-control" class="text-xs-medium scroll-mt-8 text-font-disabled">Explicit lifecycle control</h3> <p class="text-xs-medium text-font-secondary">Use the Python SDK when a worker needs explicit status, result, or cancellation control for an existing request. The TypeScript v2 client currently exposes automatic polling through <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">subscribe</code>.</p> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">import higgsfield_client request_id = "{request_id}" status = higgsfield_client.status(request_id=request_id) result = higgsfield_client.result(request_id=request_id) higgsfield_client.cancel(request_id=request_id)</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <h2 id="4-draft-previews-and-finalization" class="text-brand-h-xxs-caps scroll-mt-8 font-grotesk uppercase text-font-primary">4. Draft previews and finalization</h2> <p class="text-xs-medium text-font-secondary">Create a preview, review it, and finalize the selected draft at 1080p using <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/finalize-draft</code>.</p> <h3 id="1-create-a-draft" class="text-xs-medium scroll-mt-8 text-font-disabled">1. Create a draft</h3> <p class="text-xs-medium text-font-secondary">Send the usual inputs for your generation endpoint with <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">draft: true</code>. Omitting <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">draft</code> or setting it to <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">false</code> keeps regular generation behavior. Draft mode forces <strong class="text-xs-semi text-font-primary">480p, MP4, and standard bitrate</strong>, even if the request selects another supported resolution, format, or bitrate.</p> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">curl --request POST \ --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit' \ --header "Authorization: Key $HF_KEY" \ --header "Content-Type: application/json" \ --data @- <<'JSON' { "prompt": "Change the scene to a snowy landscape", "video_url": "https://example.com/input.mp4", "draft": true } JSON</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <p class="text-xs-medium text-font-secondary">Replace example media URLs with your own accessible media URLs. Save the <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">request_id</code> from the POST response. This is the public request ID (JobSet ID) that you will pass as <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">draft_id</code>; do not use a video URL, an internal job ID, or a provider task ID.</p> <h3 id="2-wait-for-the-draft-and-review-it" class="text-xs-medium scroll-mt-8 text-font-disabled">2. Wait for the draft and review it</h3> <p class="text-xs-medium text-font-secondary">Poll the returned <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">status_url</code> with the same authorization header, or use the status endpoint directly:</p> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">DRAFT_REQUEST_ID="REPLACE_WITH_DRAFT_REQUEST_ID" curl --request GET \ --url "https://api.higgsfield.ai/requests/${DRAFT_REQUEST_ID}/status" \ --header "Authorization: Key $HF_KEY"</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <p class="text-xs-medium text-font-secondary">Wait until <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">status</code> is <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">completed</code>, then review the preview at <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">video.url</code> in the status response. Do not finalize a request that is queued, in progress, failed, canceled, or blocked by moderation.</p> <h3 id="3-finalize-at-1080p" class="text-xs-medium scroll-mt-8 text-font-disabled">3. Finalize at 1080p</h3> <p class="text-xs-medium text-font-secondary">Submit a new request to <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/finalize-draft</code>. Replace the example UUID below with the draft's saved <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">request_id</code>:</p> <div class="flex min-w-0 flex-col gap-4"><div class="flex min-w-0 items-start gap-4 overflow-hidden rounded-md border border-neutral-primary-reverted/20 bg-neutral-primary-reverted/5 py-3 pl-3 pr-4"><code class="min-w-0 flex-1 overflow-x-auto whitespace-pre font-mono text-sm text-neutral-primary-reverted/50">curl --request POST \ --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/finalize-draft' \ --header "Authorization: Key $HF_KEY" \ --header "Content-Type: application/json" \ --data @- <<'JSON' { "draft_id": "00000000-0000-4000-8000-000000000001", "resolution": "1080p" } JSON</code><button class="bg-transparent border-none hover:bg-button-secondary cursor-pointer flex items-center justify-center rounded-md transition-colors size-6 h-6! shrink-0" title="Copy code" data-attr="model-api-reference.code.copy"><div style="opacity:0;transform:scale(0.5)"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-5! text-font-secondary hover:text-font-primary"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 7.75v-3a1 1 0 0 1 1-1h10.5a1 1 0 0 1 1 1v10.51a1 1 0 0 1-1 1h-3M3.75 8.75v10.5a1 1 0 0 0 1 1h10.5a1 1 0 0 0 1-1V8.75a1 1 0 0 0-1-1H4.75a1 1 0 0 0-1 1"></path></svg></div></button></div></div> <p class="text-xs-medium text-font-secondary">The response contains a <strong class="text-xs-semi text-font-primary">new</strong> <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">request_id</code> and <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">status_url</code> for finalization. Poll that new status URL until <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">status</code> is <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">completed</code>; its <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">video.url</code> is the final video. Keep the draft and finalization request IDs separate.</p> <h3 id="pricing" class="text-xs-medium scroll-mt-8 text-font-disabled">Pricing</h3> <p class="text-xs-medium text-font-secondary">Draft generation and finalization are separate paid requests. Each is billed per <strong class="text-xs-semi text-font-primary">output second</strong> at its own resolution. Finalization uses the duration and video-input pricing tier saved with the draft and applies the 1080p rate; it does not reuse the draft's charge. The draft charge is not deducted from the finalization charge.</p> <div class="overflow-x-auto rounded-md border border-divider-primary"><table class="w-full border-collapse text-left text-sm"><thead><tr><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">Input type</th><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">480p draft, USD / output second</th><th class="border-b border-divider-primary bg-neutral-primary-reverted/10 px-3 py-2 text-sm-medium">1080p finalization, USD / output second</th></tr></thead><tbody><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Without video input (text, images, or audio only)</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">$0.1177</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">$0.6518</td></tr><tr><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">With video input</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">$0.1387</td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">$0.7858</td></tr></tbody></table></div> <p class="text-xs-medium text-font-secondary">These are standard self-serve rates. Total cost for a draft followed by one finalization is <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">output seconds × (draft rate + finalization rate)</code>. If you stop after viewing the draft, only the draft request is charged. Input-video seconds are not added to the billing multiplier. For video edit, output duration is derived from the primary input video; for video extend, the billed duration is the requested extension.</p> <h3 id="requirements-and-limits" class="text-xs-medium scroll-mt-8 text-font-disabled">Requirements and limits</h3> <ul class="text-xs-medium list-disc space-y-2 pl-5 text-font-secondary"> <li>Use a completed draft created with <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">draft: true</code> on one of the five <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/</code> generation endpoints listed below. A regular generation cannot be finalized as a draft.</li> <li>The draft must belong to the same account as the finalization request and contain a single video job.</li> <li>Finalize within seven days of draft creation and before the request's retention expires. A shorter account retention or <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">Hf-Expires-After</code> setting can shorten this window. If the status response includes <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">expires_at</code>, respect that timestamp as well as the seven-day limit. Deleted or purged drafts cannot be finalized.</li> <li>Only <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">1080p</code> is supported for finalization. It is also the default when <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">resolution</code> is omitted.</li> <li>Finalization accepts <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">draft_id</code> and <code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">resolution</code>. Prompt, media inputs, audio settings, aspect ratio, and duration come from the original draft. To change those inputs, create a new draft.</li> <li>Draft creation and finalization use TTUS. You do not need to select a provider or send a provider task ID.</li> </ul> <h3 id="supported-draft-endpoints" class="text-xs-medium scroll-mt-8 text-font-disabled">Supported draft endpoints</h3> <ul class="text-xs-medium list-disc space-y-2 pl-5 text-font-secondary"> <li><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/text-to-video</code></li> <li><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/image-to-video</code></li> <li><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/reference-to-video</code></li> <li><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/video-edit</code></li> <li><code class="rounded-sm bg-neutral-primary-reverted/10 px-1.5 py-px font-mono text-sm text-font-secondary">bytedance/seedance-2.5/video-extend</code></li> </ul></article></div></section></div><!--/$--></div></div></div></div><!--/$--><!--/$--></div></div></div></main><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false" data-react-aria-top-layer="true"></section><script data-tsr-stream-part="">(self.$R=self.$R||{})["tsr"]=[];self.$_TSR={h(){this.hydrated=!0,this.c()},e(){this.streamEnded=!0,this.c()},c(){this.hydrated&&this.streamEnded&&(delete self.$_TSR,delete self.$R.tsr)},p(e){this.initialized?e():this.buffer.push(e)},buffer:[]}</script><script data-tsr-stream-part="">$_TSR.router=($R=>$R[0]={manifest:$R[1]={routes:$R[2]={__root__:$R[3]={preloads:$R[4]=["/assets/index-DIb-pgqB.js","/assets/jsx-runtime-cvnAX2Ol.js","/assets/react-CaRYtjPf.js","/assets/dist-DURWwOJU.js","/assets/createServerFn-Bv2MHtWj.js","/assets/qss-CagxF-d_.js","/assets/matchContext-CzGhKpaG.js","/assets/link-DCIy0yFv.js","/assets/route-BXjxo042.js","/assets/lazyRouteComponent-Bm6aPkch.js","/assets/ClientOnly-DRJ03Sgi.js","/assets/useRouter-CXw1yN_K.js","/assets/useMatch-BZH-XUtU.js","/assets/useNavigate-C7KkfjuG.js","/assets/useLocation-CwSFa3qE.js","/assets/useBaseQuery-DQHvyVVl.js","/assets/dashboard-onboarding-queries-BrOa5iIw.js","/assets/queryOptions-Dfvzj6n2.js","/assets/search-input-C5MYkp9x.js","/assets/api-keys-ByykqyyE.js","/assets/api-key-flows-n-uLkW69.js","/assets/try-catch-BTRWSegb.js","/assets/slug-model-slug-qdlBQaKF.js","/assets/http-error-or-IO8e0.js","/assets/report-error-DpkkXi1H.js","/assets/module-DtSa67lp.js","/assets/env-7jSK9hVJ.js","/assets/createLucideIcon-Ca1rlsM8.js","/assets/loader-circle-JB-ChrqO.js","/assets/button-CooP7kNa.js","/assets/dist-BgEUlNne.js","/assets/dist-BLiaGMyQ.js","/assets/dropdown-menu-BdhIEr4O.js","/assets/select-DZLbpCq5.js","/assets/auth-search-Dt24urTx.js","/assets/return-url-D-lfnQ0R.js","/assets/seo-JtGGUFDZ.js","/assets/metadata-BiP9nXa0.js","/assets/use-api-auth-Dt5aY9W_.js","/assets/request-DLpjtU-q.js","/assets/utils-CHhkJ7UI.js","/assets/use-media-query-BU1c6Y69.js","/assets/server-modals-B6AIoPrR.js","/assets/cosmic-layout-BrOx-3YC.js","/assets/dist-BSzHCHDM.js","/assets/modal-arbiter-Bk5P0pkL.js","/assets/modal-presence-JHDgv2IM.js","/assets/user-scoped-storage-l1U0EyKa.js","/assets/quiz-session-api-BmqcW6QD.js","/assets/api-Ci4JVq8d.js","/assets/schemas-C6B00EAW.js","/assets/search-text-CPoB-RAr.js","/assets/post-auth-redirect-Bycw4P7N.js","/assets/product-analytics-DnZIx3cR.js","/assets/scoring-observation-DiJqDiSX.js","/assets/billing-queries-CHD3-9Kr.js","/assets/dev-mock-config-C9arT85S.js","/assets/preload-helper-BZ1Pz5am.js","/assets/session-evaluation-D0YR8VsM.js","/assets/page-top-bar-vG0yyDmw.js","/assets/billing-B5e1Nwfz.js","/assets/button-DDkH3xYz.js","/assets/IconDiamondOutlined-DzZXRE7C.js","/assets/cashback-P-hjclEB.js","/assets/organizations-api-j9mfgqyW.js","/assets/vault-COPQmBjF.js","/assets/select-s2EEVEMM.js","/assets/IconCrossMediumOutlined-C6uCKeom.js","/assets/es2015-BfH6Rd0D.js","/assets/shared-modal-CHrIXLx1.js","/assets/proxy-_VyMNdgx.js","/assets/AnimatePresence-DTCLi-BR.js","/assets/use-reduced-motion-VeDZJTrB.js","/assets/IconSquareStackCompactOutlined-CiQwFL1D.js","/assets/input-Bl_UDq9k.js","/assets/switch-CTsWd4IZ.js","/assets/IconGift1Filled-Bp2Y1So_.js","/assets/IconCheckmark2MediumOutlined-jDLU3ltb.js","/assets/dist-CctFcbW9.js","/assets/IconCalendar3Outlined-Mj_DeLUf.js","/assets/media-DWot3wfd.js","/assets/image-CYpANZUu.js","/assets/model-icon-dKtHtxtt.js","/assets/IconCurrencyDollarOutlined-BYXDpSC3.js","/assets/availability-state-g3Nb-Owu.js","/assets/contact-sales-N805j5W-.js","/assets/vanilla-BRsfFOW8.js","/assets/react-CTy_99gA.js","/assets/cashback-promotion-effects-BqTThjys.js","/assets/billing-credits-buy-modal-BzIMYpeN.js","/assets/IconDotGrid1x3VerticalTightOutlined-DRLhUqWk.js","/assets/input-WKVNd1ZD.js","/assets/label-DopfLQ6j.js","/assets/IconChevronDownSmallOutlined-CjWkoBGA.js","/assets/IconMagnifyingGlassLongHandleOutlined-B6TkGYCx.js","/assets/dist-DJO-2Ud5.js","/assets/IconCheckmark2Filled-CJ-JZQqp.js","/assets/business-email-CM1vWmei.js","/assets/card-hold-BA9zOFqw.js","/assets/cashback-verification-1XON89si.js","/assets/use-explore-catalog-results-BV3JjK1Z.js","/assets/explore-card-placeholder-B5XrnAoC.js","/assets/use-scrolled-past-Ia__GL_C.js"],scripts:$R[5]=[$R[6]={attrs:$R[7]={type:"module",async:!0,src:"/assets/index-DIb-pgqB.js"}}],css:$R[8]=["/assets/IconCurrencyDollarOutlined-DOZxGKa_.css","/assets/shared-modal-DRP878pW.css","/assets/api-key-flows-CKtG1B-z.css","/assets/api-keys-B3XC8djc.css","/assets/cashback-DQRUe2Gq.css","/assets/billing-uLHDgekM.css","/assets/promotion-modal-BKgvUzxc.css","/assets/server-modals-DTvxWIFI.css","/assets/use-explore-catalog-results-BEQ54vpp.css"]},"/(public)/models/$slug":$R[9]={preloads:$R[10]=["/assets/route-CBxFki4x.js","/assets/slug-model-not-found-CzxXrHax.js","/assets/page-shell-BNkiqeNL.js","/assets/route-b4Jqeatu.js","/assets/useSuspenseQuery-D5e87SGb.js","/assets/dashboard-promotions-DtkaXrRZ.js","/assets/slug-model-provider-BwbQzGmT.js","/assets/slug-model-related-ranges-CMdfaU95.js","/assets/slug-model-magi-2-CUTVG2Hq.js","/assets/slug-model-requests-api-DnX-7IDR.js","/assets/slug-model-llm-menu-_BvZw_dz.js"]},"/(public)/models/$slug/api-reference":$R[11]={preloads:$R[12]=["/assets/api-reference-6ttcNdWo.js","/assets/slug-model-api-reference-HoEqBtOS.js"]}}},matches:$R[13]=[$R[14]={i:"__root__#",u:1796138675878,s:"success",b:$R[15]={session:$R[16]={isSignedIn:!1,identityKey:"anonymous"}},l:$R[17]={sidebarLayout:$R[18]={isCollapsed:!1,expandedWidth:246}},ssr:!0},$R[19]={i:"#(public)#models#$slug#models#bytedance%2Fseedance-2.5%2Fvideo-edit",u:1796138676787,s:"success",l:$R[20]={heads:$R[21]={layout:$R[22]={meta:$R[23]=[$R[24]={title:"Seedance 2.5 | Higgsfield API"},$R[25]={name:"description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[26]={property:"og:title",content:"Seedance 2.5 | Higgsfield API"},$R[27]={property:"og:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[28]={property:"og:site_name",content:"Higgsfield API"},$R[29]={property:"og:type",content:"website"},$R[30]={property:"og:locale",content:"en_US"},$R[31]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[32]={property:"og:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"},$R[33]={property:"og:image:width",content:"1200"},$R[34]={property:"og:image:height",content:"630"},$R[35]={property:"og:image:type",content:"image/jpeg"},$R[36]={name:"twitter:card",content:"summary_large_image"},$R[37]={name:"twitter:title",content:"Seedance 2.5 | Higgsfield API"},$R[38]={name:"twitter:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[39]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[40]={name:"twitter:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"}],links:$R[41]=[]},tabs:$R[42]={playground:$R[43]={meta:$R[44]=[$R[45]={title:"Seedance 2.5 — Overview | Higgsfield API"},$R[46]={name:"description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[47]={property:"og:title",content:"Seedance 2.5 — Overview | Higgsfield API"},$R[48]={property:"og:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[49]={property:"og:site_name",content:"Higgsfield API"},$R[50]={property:"og:type",content:"website"},$R[51]={property:"og:locale",content:"en_US"},$R[52]={property:"og:url",content:"https://open.higgsfield.ai/models/bytedance/seedance-2.5/video-edit/playground"},$R[53]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[54]={property:"og:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"},$R[55]={property:"og:image:width",content:"1200"},$R[56]={property:"og:image:height",content:"630"},$R[57]={property:"og:image:type",content:"image/jpeg"},$R[58]={name:"twitter:card",content:"summary_large_image"},$R[59]={name:"twitter:title",content:"Seedance 2.5 — Overview | Higgsfield API"},$R[60]={name:"twitter:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[61]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[62]={name:"twitter:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"}],links:$R[63]=[$R[64]={rel:"canonical",href:"https://open.higgsfield.ai/models/bytedance/seedance-2.5/video-edit/playground"}]},"api-reference":$R[65]={meta:$R[66]=[$R[67]={title:"Seedance 2.5 — API reference | Higgsfield API"},$R[68]={name:"description",content:"Use Seedance 2.5 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."},$R[69]={property:"og:title",content:"Seedance 2.5 — API reference | Higgsfield API"},$R[70]={property:"og:description",content:"Use Seedance 2.5 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."},$R[71]={property:"og:site_name",content:"Higgsfield API"},$R[72]={property:"og:type",content:"website"},$R[73]={property:"og:locale",content:"en_US"},$R[74]={property:"og:url",content:"https://open.higgsfield.ai/models/bytedance/seedance-2.5/video-edit/api-reference"},$R[75]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[76]={property:"og:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"},$R[77]={property:"og:image:width",content:"1200"},$R[78]={property:"og:image:height",content:"630"},$R[79]={property:"og:image:type",content:"image/jpeg"},$R[80]={name:"twitter:card",content:"summary_large_image"},$R[81]={name:"twitter:title",content:"Seedance 2.5 — API reference | Higgsfield API"},$R[82]={name:"twitter:description",content:"Use Seedance 2.5 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."},$R[83]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[84]={name:"twitter:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"}],links:$R[85]=[$R[86]={rel:"canonical",href:"https://open.higgsfield.ai/models/bytedance/seedance-2.5/video-edit/api-reference"}]},requests:$R[87]={meta:$R[88]=[$R[89]={title:"Seedance 2.5 — Requests | Higgsfield API"},$R[90]={name:"description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[91]={name:"robots",content:"noindex, follow"},$R[92]={property:"og:title",content:"Seedance 2.5 — Requests | Higgsfield API"},$R[93]={property:"og:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[94]={property:"og:site_name",content:"Higgsfield API"},$R[95]={property:"og:type",content:"website"},$R[96]={property:"og:locale",content:"en_US"},$R[97]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[98]={property:"og:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"},$R[99]={property:"og:image:width",content:"1200"},$R[100]={property:"og:image:height",content:"630"},$R[101]={property:"og:image:type",content:"image/jpeg"},$R[102]={name:"twitter:card",content:"summary_large_image"},$R[103]={name:"twitter:title",content:"Seedance 2.5 — Requests | Higgsfield API"},$R[104]={name:"twitter:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[105]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[106]={name:"twitter:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"}],links:$R[107]=[]},analytics:$R[108]={meta:$R[109]=[$R[110]={title:"Seedance 2.5 — Analytics | Higgsfield API"},$R[111]={name:"description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[112]={name:"robots",content:"noindex, follow"},$R[113]={property:"og:title",content:"Seedance 2.5 — Analytics | Higgsfield API"},$R[114]={property:"og:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[115]={property:"og:site_name",content:"Higgsfield API"},$R[116]={property:"og:type",content:"website"},$R[117]={property:"og:locale",content:"en_US"},$R[118]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[119]={property:"og:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"},$R[120]={property:"og:image:width",content:"1200"},$R[121]={property:"og:image:height",content:"630"},$R[122]={property:"og:image:type",content:"image/jpeg"},$R[123]={name:"twitter:card",content:"summary_large_image"},$R[124]={name:"twitter:title",content:"Seedance 2.5 — Analytics | Higgsfield API"},$R[125]={name:"twitter:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[126]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[127]={name:"twitter:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"}],links:$R[128]=[]},schema:$R[129]={meta:$R[130]=[$R[131]={title:"Seedance 2.5 — Schema | Higgsfield API"},$R[132]={name:"description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[133]={name:"robots",content:"noindex, follow"},$R[134]={property:"og:title",content:"Seedance 2.5 — Schema | Higgsfield API"},$R[135]={property:"og:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[136]={property:"og:site_name",content:"Higgsfield API"},$R[137]={property:"og:type",content:"website"},$R[138]={property:"og:locale",content:"en_US"},$R[139]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[140]={property:"og:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"},$R[141]={property:"og:image:width",content:"1200"},$R[142]={property:"og:image:height",content:"630"},$R[143]={property:"og:image:type",content:"image/jpeg"},$R[144]={name:"twitter:card",content:"summary_large_image"},$R[145]={name:"twitter:title",content:"Seedance 2.5 — Schema | Higgsfield API"},$R[146]={name:"twitter:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[147]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[148]={name:"twitter:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"}],links:$R[149]=[]},examples:$R[150]={meta:$R[151]=[$R[152]={title:"Seedance 2.5 — Examples | Higgsfield API"},$R[153]={name:"description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[154]={name:"robots",content:"noindex, follow"},$R[155]={property:"og:title",content:"Seedance 2.5 — Examples | Higgsfield API"},$R[156]={property:"og:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[157]={property:"og:site_name",content:"Higgsfield API"},$R[158]={property:"og:type",content:"website"},$R[159]={property:"og:locale",content:"en_US"},$R[160]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[161]={property:"og:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"},$R[162]={property:"og:image:width",content:"1200"},$R[163]={property:"og:image:height",content:"630"},$R[164]={property:"og:image:type",content:"image/jpeg"},$R[165]={name:"twitter:card",content:"summary_large_image"},$R[166]={name:"twitter:title",content:"Seedance 2.5 — Examples | Higgsfield API"},$R[167]={name:"twitter:description",content:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video."},$R[168]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg"},$R[169]={name:"twitter:image:alt",content:"Seedance 2.5 by ByteDance on Higgsfield API"}],links:$R[170]=[]}}}},ssr:!0},$R[171]={i:"#(public)#models#$slug#api-reference#models#bytedance%2Fseedance-2.5%2Fvideo-edit#api-reference",u:1796138675878,s:"success",ssr:!0}],dehydratedData:$R[172]={query:$R[173]={initial:$R[174]=[$R[175]={dehydratedAt:1796138676787,state:$R[176]={data:$R[177]={model:$R[178]={id:"beb3e807-93aa-49a9-933d-f3fdd4641acf",catalog_type:"model",route_slug:"bytedance/seedance-2.5/video-edit",canonical_route_slug:"bytedance/seedance-2.5/video-edit",workflow:null,pricing:null,slug:"bytedance/seedance-2.5/video-edit",title:"Seedance 2.5",variant_title:"Video Edit",description:"Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video.",og_description:"Transform existing video footage with written instructions.",og_image:null,input_schema:$R[179]={type:"object",required:$R[180]=["prompt","video_url"],properties:$R[181]={draft:$R[182]={type:"boolean",default:!1,description:"Generate a 480p MP4 draft with standard bitrate for later finalization."},prompt:$R[183]={type:"string",minLength:1,description:"Write your prompt here"},video_url:$R[184]={type:"string",format:"uri"},audio_urls:$R[185]={type:"array",items:$R[186]={type:"string",format:"uri"},maxItems:10,minItems:1},image_urls:$R[187]={type:"array",items:$R[188]={type:"string",format:"uri"},maxItems:30,minItems:1},resolution:$R[189]={enum:$R[190]=["480p","720p","1080p"],type:"string",default:"720p"},video_urls:$R[191]={type:"array",items:$R[192]={type:"string",format:"uri"},maxItems:10,minItems:1},bitrate_mode:$R[193]={enum:$R[194]=["standard","high"],type:"string",default:"high"},generate_audio:$R[195]={type:"boolean",default:!0}},additionalProperties:!1},ui_schema:$R[196]={image_urls:$R[197]={items:$R[198]={"ui:widget":"imageUrlString"}},resolution:$R[199]={"ui:options":$R[200]={advanced:!1}},bitrate_mode:$R[201]={"ui:options":$R[202]={advanced:!0}}},playground:$R[203]={initial_values:$R[204]={prompt:"A traveler takes off on a griffin, flying past floating islands and waterfalls. They skim a river, and the rider touches the water. The camera dives underwater to reveal glowing creatures, then follows the griffin back into the sky."}},system_name:"seedance-2-5-sale",operation_type:"video2video",output_type:"video",requests_enabled:!0,analytics_enabled:!0,markdown_docs:"# About\n\n**Seedance 2.5** uses the model ID `bytedance/seedance-2.5/video-edit`. Seedance 2.5 Video Edit enables video-to-video transformation by editing existing videos with prompts and optional audio, image, or additional video inputs. It supports output customization including resolution and format, with optional audio generation.\n\n## 1. Calling the API\n\nSend requests to `https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit` with a JSON body matching the parameters below.\n\n### Install\n\nInstall an official server-side SDK. cURL needs no package.\n\n```bash control=package group=install-typescript variant=npm label=npm when=javascript\nnpm install @higgsfield/client\n```\n\n```bash control=package group=install-python variant=pip label=pip when=python\npip install higgsfield-client\n```\n\n### Setup\n\nKeep credentials in server-side environment variables. The SDKs accept the same `KEY_ID:KEY_SECRET` value under their documented variable names.\n\n```bash\nexport HF_CREDENTIALS=\"YOUR_KEY_ID:YOUR_KEY_SECRET\" # TypeScript\nexport HF_KEY=\"YOUR_KEY_ID:YOUR_KEY_SECRET\" # Python and cURL\n```\n\n### Request parameters\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prompt` | `string` | Yes | `—` | Minimum length: 1. |\n| `video_url` | `string` | Yes | `—` | |\n| `audio_urls` | `array[string]` | No | `—` | |\n| `image_urls` | `array[string]` | No | `—` | |\n| `resolution` | `string` | No | `\"720p\"` | Options: 480p, 720p, 1080p. |\n| `video_urls` | `array[string]` | No | `—` | |\n| `output_format` | `string` | No | `\"mp4\"` | Options: mp4, mov. |\n| `generate_audio` | `boolean` | No | `true` | |\n| `draft` | `boolean` | No | `false` | Create a 480p MP4 preview with standard bitrate for later 1080p finalization. See the draft workflow below. |\n\n## 2. Authentication\n\nThe official SDKs read credentials from the server environment and send the required `Authorization: Key KEY_ID:KEY_SECRET` header.\n\n### API Key\n\nNever expose the secret in browser-side code or commit it to source control. The TypeScript SDK is server-side only. For direct HTTP calls, use:\n\n```http\nAuthorization: Key $HF_KEY\n```\n\n## 3. Queue\n\n`subscribe` submits the asynchronous request and waits for a terminal result. The TypeScript SDK polls automatically when `withPolling: true`; the Python SDK's synchronous `subscribe` call also waits. A completed request returns the generated file in the `video` field.\n\n### Submit and wait\n\n```ts control=language group=submit variant=javascript label=TypeScript\nimport { config, higgsfield } from \"@higgsfield/client/v2\";\n\nconfig({\n credentials: process.env.HF_CREDENTIALS,\n});\n\nconst result = await higgsfield.subscribe(\n \"bytedance/seedance-2.5/video-edit\",\n {\n input: {\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"output_format\": \"mp4\",\n \"generate_audio\": true\n },\n withPolling: true,\n },\n);\n\nconsole.log(result);\n```\n\n```python control=language group=submit variant=python label=Python\nimport higgsfield_client\n\nresult = higgsfield_client.subscribe(\n 'bytedance/seedance-2.5/video-edit',\n arguments={'prompt': 'A cinematic scene at sunset',\n 'video_url': 'https://example.com/input.mp4',\n 'resolution': '720p',\n 'output_format': 'mp4',\n 'generate_audio': True},\n)\n\nprint(result)\n```\n\n```bash control=language group=submit variant=curl label=cURL\ncurl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"output_format\": \"mp4\",\n \"generate_audio\": true\n}\nJSON\n```\n\n### Explicit lifecycle control\n\nUse the Python SDK when a worker needs explicit status, result, or cancellation control for an existing request. The TypeScript v2 client currently exposes automatic polling through `subscribe`.\n\n```python\nimport higgsfield_client\n\nrequest_id = \"{request_id}\"\nstatus = higgsfield_client.status(request_id=request_id)\nresult = higgsfield_client.result(request_id=request_id)\nhiggsfield_client.cancel(request_id=request_id)\n```\n\n## 4. Draft previews and finalization\n\nCreate a preview, review it, and finalize the selected draft at 1080p using `bytedance/seedance-2.5/finalize-draft`.\n\n### 1. Create a draft\n\nSend the usual inputs for your generation endpoint with `draft: true`. Omitting `draft` or setting it to `false` keeps regular generation behavior. Draft mode forces **480p, MP4, and standard bitrate**, even if the request selects another supported resolution, format, or bitrate.\n\n```bash\ncurl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"prompt\": \"Change the scene to a snowy landscape\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"draft\": true\n}\nJSON\n```\n\nReplace example media URLs with your own accessible media URLs. Save the `request_id` from the POST response. This is the public request ID (JobSet ID) that you will pass as `draft_id`; do not use a video URL, an internal job ID, or a provider task ID.\n\n### 2. Wait for the draft and review it\n\nPoll the returned `status_url` with the same authorization header, or use the status endpoint directly:\n\n```bash\nDRAFT_REQUEST_ID=\"REPLACE_WITH_DRAFT_REQUEST_ID\"\ncurl --request GET \\\n --url \"https://api.higgsfield.ai/requests/${DRAFT_REQUEST_ID}/status\" \\\n --header \"Authorization: Key $HF_KEY\"\n```\n\nWait until `status` is `completed`, then review the preview at `video.url` in the status response. Do not finalize a request that is queued, in progress, failed, canceled, or blocked by moderation.\n\n### 3. Finalize at 1080p\n\nSubmit a new request to `bytedance/seedance-2.5/finalize-draft`. Replace the example UUID below with the draft's saved `request_id`:\n\n```bash\ncurl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/finalize-draft' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"draft_id\": \"00000000-0000-4000-8000-000000000001\",\n \"resolution\": \"1080p\"\n}\nJSON\n```\n\nThe response contains a **new** `request_id` and `status_url` for finalization. Poll that new status URL until `status` is `completed`; its `video.url` is the final video. Keep the draft and finalization request IDs separate.\n\n### Pricing\n\nDraft generation and finalization are separate paid requests. Each is billed per **output second** at its own resolution. Finalization uses the duration and video-input pricing tier saved with the draft and applies the 1080p rate; it does not reuse the draft's charge. The draft charge is not deducted from the finalization charge.\n\n| Input type | 480p draft, USD / output second | 1080p finalization, USD / output second |\n| --- | --- | --- |\n| Without video input (text, images, or audio only) | $0.1177 | $0.6518 |\n| With video input | $0.1387 | $0.7858 |\n\nThese are standard self-serve rates. Total cost for a draft followed by one finalization is `output seconds × (draft rate + finalization rate)`. If you stop after viewing the draft, only the draft request is charged. Input-video seconds are not added to the billing multiplier. For video edit, output duration is derived from the primary input video; for video extend, the billed duration is the requested extension.\n\n### Requirements and limits\n\n- Use a completed draft created with `draft: true` on one of the five `bytedance/seedance-2.5/` generation endpoints listed below. A regular generation cannot be finalized as a draft.\n- The draft must belong to the same account as the finalization request and contain a single video job.\n- Finalize within seven days of draft creation and before the request's retention expires. A shorter account retention or `Hf-Expires-After` setting can shorten this window. If the status response includes `expires_at`, respect that timestamp as well as the seven-day limit. Deleted or purged drafts cannot be finalized.\n- Only `1080p` is supported for finalization. It is also the default when `resolution` is omitted.\n- Finalization accepts `draft_id` and `resolution`. Prompt, media inputs, audio settings, aspect ratio, and duration come from the original draft. To change those inputs, create a new draft.\n- Draft creation and finalization use TTUS. You do not need to select a provider or send a provider task ID.\n\n### Supported draft endpoints\n\n- `bytedance/seedance-2.5/text-to-video`\n- `bytedance/seedance-2.5/image-to-video`\n- `bytedance/seedance-2.5/reference-to-video`\n- `bytedance/seedance-2.5/video-edit`\n- `bytedance/seedance-2.5/video-extend`\n",openapi_enabled:!1,docs_enabled:!0,job_set_type:"seedance_2_0",family:$R[205]=[$R[206]={slug:"bytedance/seedance-2.5/text-to-video",title:"Seedance 2.5",variant_title:"Text to Video",type:"text2video",operation_type_readable:"Text to Video",is_current:!1},$R[207]={slug:"bytedance/seedance-2.5/image-to-video",title:"Seedance 2.5",variant_title:"Image to Video",type:"image2video",operation_type_readable:"Image to Video",is_current:!1},$R[208]={slug:"bytedance/seedance-2.5/reference-to-video",title:"Seedance 2.5",variant_title:"Reference to Video (with video reference)",type:"image2video",operation_type_readable:"Image to Video, Video to Video",is_current:!1},$R[209]={slug:"bytedance/seedance-2.5/video-edit",title:"Seedance 2.5",variant_title:"Video Edit",type:"video2video",operation_type_readable:"Video to Video",is_current:!0},$R[210]={slug:"bytedance/seedance-2.5/video-extend",title:"Seedance 2.5",variant_title:"Video Extend",type:"video2video",operation_type_readable:"Video to Video",is_current:!1},$R[211]={slug:"bytedance/seedance-2.5/finalize-draft",title:"Seedance 2.5",variant_title:"Finalize Draft",type:"video2video",operation_type_readable:"Video to Video",is_current:!1}],tags:$R[212]=["trending","partners","commercial_use"],company:$R[213]={id:"b0e49055-beaf-4301-90c8-2924f1014236",slug:"bytedance",name:"ByteDance",icon:"IconModelsSeedance"},banner_image:null,banner_video:null,preview_image:null,preview_image_animated:null,preview_video:$R[214]={thumbnail_url:"https://d28lhcrx5qdowv.cloudfront.net/media/explore/media/74c63b88a889cb7f0f4389b8ae945592ff66d7cbcf41b48f9132fa341803a090-thumbnail.webp",video_url:"https://d28lhcrx5qdowv.cloudfront.net/media/explore/media/e49233cbd94028feaafc895fc1350b276278a66ab9672b5a9cf7045c2b2fd239-video.mp4"},overview:$R[215]={input_types:$R[216]=["text","image","video","audio"],price:$R[217]={amount:"0.1387",currency:"USD",unit:"second",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null},released_on:"2026-07-01",about:$R[218]={media:$R[219]=[],guidance:$R[220]={best_for:$R[221]=[$R[222]={title:"Video transformation",description:"Restyling or modifying an existing video sequence"},$R[223]={title:"Motion-preserving edits",description:"Build variations that follow the timing, action, and camera movement of source footage"},$R[224]={title:"Creative video iterations",description:"Explore new looks without regenerating the sequence from the beginning"}],consider_alternatives_when:$R[225]=[$R[226]={title:"New video generation",description:"Choose a text-to-video or image-to-video mode when no source video is available"},$R[227]={title:"Single-frame transformation",description:"Choose an image model when the deliverable is a still rather than a timed sequence"}]},conclusion:"Seedance 2.5 — Video Edit is best suited to source-guided video transformation.",description:"Seedance 2.5 Video Edit enables video-to-video transformation by editing existing videos with prompts and optional audio, image, or additional video inputs. It supports output customization including resolution and format, with optional audio generation."}},pricing_description:"Standard self-serve rates in USD per video second: 480p: $0.1387; 720p: $0.3264; 1080p: $0.7858. The edited video duration is determined from the primary input video and rounded up to a whole second. Total price = selected rate × that duration in seconds; input duration is not added again.",related_models:$R[228]=[$R[229]={id:"91b4cc24-3202-4aa6-95fb-701f1fa3fd7f",slug:"bytedance/seedream/v5.0/pro/text-to-image",title:"Seedream 5.0 Pro",og_description:"Create detailed product visuals, posters and illustrations.",variant_title:"Text to Image",operation_types:$R[230]=["text2image"],input_types:$R[231]=["text"],output_type:"image",capabilities:$R[232]=["api_access"],availability_state:"available",price_range:$R[233]={min_amount:"0.054",max_amount:"0.108",currency:"USD",unit:"image"},resolution_range:$R[234]={min:"1k",max:"2k",options:$R[235]=["1k","1.5k","2k"]},duration_range:null,maximum_resolution:"2k",duration_options_seconds:$R[236]=[],released_at:"2026-07-08",minimum_price:$R[237]={amount_usd:0.054,unit:"image",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[238]={id:"8bea859b-4070-4f93-8afc-218049639e6b",slug:"bytedance/seedream/v5.0/pro/edit",title:"Seedream 5.0 Pro",og_description:"Edit and combine reference images with precise text instructions.",variant_title:"Image Edit",operation_types:$R[239]=["image_edit"],input_types:$R[240]=["text","image"],output_type:"image",capabilities:$R[241]=["api_access"],availability_state:"available",price_range:$R[242]={min_amount:"0.054",max_amount:"0.108",currency:"USD",unit:"image"},resolution_range:$R[243]={min:"1k",max:"2k",options:$R[244]=["1k","1.5k","2k"]},duration_range:null,maximum_resolution:"2k",duration_options_seconds:$R[245]=[],released_at:"2026-07-08",minimum_price:$R[246]={amount_usd:0.054,unit:"image",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[247]={id:"05df0507-cfff-4cac-98d2-b1557d81739d",slug:"bytedance/seedance-2.5/text-to-video",title:"Seedance 2.5",og_description:"Turn written prompts into generated video scenes.",variant_title:"Text to Video",operation_types:$R[248]=["text2video"],input_types:$R[249]=["text"],output_type:"video",capabilities:$R[250]=["api_access"],availability_state:"available",price_range:$R[251]={min_amount:"0.1177",max_amount:"0.6518",currency:"USD",unit:"sec"},resolution_range:$R[252]={min:"480p",max:"1080p",options:$R[253]=["480p","720p","1080p"]},duration_range:$R[254]={min_seconds:4,max_seconds:30,options_seconds:$R[255]=[4,30]},maximum_resolution:"1080p",duration_options_seconds:$R[256]=[4,30],released_at:"2026-07-01",minimum_price:$R[257]={amount_usd:0.1177,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[258]={id:"5bc100eb-f0c2-4c47-bd0c-86e44d6fb7ed",slug:"bytedance/seedance-2.5/reference-to-video",title:"Seedance 2.5",og_description:"Create videos guided by visual references and a prompt.",variant_title:"Reference to Video (with video reference)",operation_types:$R[259]=["image2video","video2video"],input_types:$R[260]=["text","image","video","audio"],output_type:"video",capabilities:$R[261]=["api_access"],availability_state:"available",price_range:$R[262]={min_amount:"0.1177",max_amount:"0.7858",currency:"USD",unit:"sec"},resolution_range:$R[263]={min:"480p",max:"1080p",options:$R[264]=["480p","720p","1080p"]},duration_range:$R[265]={min_seconds:4,max_seconds:30,options_seconds:$R[266]=[4,30]},maximum_resolution:"1080p",duration_options_seconds:$R[267]=[4,30],released_at:"2026-07-01",minimum_price:$R[268]={amount_usd:0.1177,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[269]={id:"f8e3d228-6f17-4fc3-b420-e0c4aca05794",slug:"bytedance/seedance-2.5/finalize-draft",title:"Seedance 2.5",og_description:"Finalize a completed Seedance 2.5 draft at 1080p.",variant_title:"Finalize Draft",operation_types:$R[270]=["video2video"],input_types:$R[271]=[],output_type:"video",capabilities:$R[272]=["api_access"],availability_state:"available",price_range:null,resolution_range:$R[273]={min:"1080p",max:"1080p",options:$R[274]=["1080p"]},duration_range:null,maximum_resolution:"1080p",duration_options_seconds:$R[275]=[],released_at:"2026-07-01",minimum_price:$R[276]={amount_usd:0.6518,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[277]={id:"d0491306-0e1e-4b1c-8649-389a67e176f8",slug:"bytedance/seedance-2.5/image-to-video",title:"Seedance 2.5",og_description:"Animate a source image into a video from your prompt.",variant_title:"Image to Video",operation_types:$R[278]=["image2video"],input_types:$R[279]=["text","image"],output_type:"video",capabilities:$R[280]=["api_access"],availability_state:"available",price_range:$R[281]={min_amount:"0.1177",max_amount:"0.6518",currency:"USD",unit:"sec"},resolution_range:$R[282]={min:"480p",max:"1080p",options:$R[283]=["480p","720p","1080p"]},duration_range:$R[284]={min_seconds:4,max_seconds:30,options_seconds:$R[285]=[4,30]},maximum_resolution:"1080p",duration_options_seconds:$R[286]=[4,30],released_at:"2026-07-01",minimum_price:$R[287]={amount_usd:0.1177,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[288]={id:"beb3e807-93aa-49a9-933d-f3fdd4641acf",slug:"bytedance/seedance-2.5/video-edit",title:"Seedance 2.5",og_description:"Transform existing video footage with written instructions.",variant_title:"Video Edit",operation_types:$R[289]=["video2video"],input_types:$R[290]=["text","image","video","audio"],output_type:"video",capabilities:$R[291]=["api_access"],availability_state:"available",price_range:$R[292]={min_amount:"0.1387",max_amount:"0.7858",currency:"USD",unit:"sec"},resolution_range:$R[293]={min:"480p",max:"1080p",options:$R[294]=["480p","720p","1080p"]},duration_range:$R[295]={min_seconds:4,max_seconds:30,options_seconds:$R[296]=[4,30]},maximum_resolution:"1080p",duration_options_seconds:$R[297]=[4,30],released_at:"2026-07-01",minimum_price:$R[298]={amount_usd:0.1387,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[299]={id:"ec4d0e2d-ce0e-4d98-8c48-e0190d769b68",slug:"bytedance/seedance-2.5/video-extend",title:"Seedance 2.5",og_description:"Continue an existing video with newly generated footage.",variant_title:"Video Extend",operation_types:$R[300]=["video2video"],input_types:$R[301]=["text","image","video","audio"],output_type:"video",capabilities:$R[302]=["api_access"],availability_state:"available",price_range:$R[303]={min_amount:"0.1387",max_amount:"0.7858",currency:"USD",unit:"sec"},resolution_range:$R[304]={min:"480p",max:"1080p",options:$R[305]=["480p","720p","1080p"]},duration_range:$R[306]={min_seconds:4,max_seconds:30,options_seconds:$R[307]=[4,30]},maximum_resolution:"1080p",duration_options_seconds:$R[308]=[4,30],released_at:"2026-07-01",minimum_price:$R[309]={amount_usd:0.1387,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[310]={id:"cdbfa230-a5c0-45af-bd40-cf1f0d7e5b4d",slug:"bytedance/seedance-2.0/text-to-video",title:"Seedance 2.0",og_description:"Turn written prompts into generated video scenes.",variant_title:"Text to Video",operation_types:$R[311]=["text2video"],input_types:$R[312]=["text"],output_type:"video",capabilities:$R[313]=["api_access"],availability_state:"available",price_range:$R[314]={min_amount:"0.0804",max_amount:"0.8907",currency:"USD",unit:"sec"},resolution_range:$R[315]={min:"480p",max:"4k",options:$R[316]=["480p","720p","1080p","4k"]},duration_range:$R[317]={min_seconds:4,max_seconds:15,options_seconds:$R[318]=[4,15]},maximum_resolution:"4k",duration_options_seconds:$R[319]=[4,15],released_at:"2026-02-01",minimum_price:$R[320]={amount_usd:0.0804,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[321]={id:"8619301f-4278-41b3-9cab-bcbc803265b2",slug:"bytedance/seedance-2.0/image-to-video",title:"Seedance 2.0",og_description:"Animate a source image into a video from your prompt.",variant_title:"Image to Video",operation_types:$R[322]=["image2video"],input_types:$R[323]=["text","image"],output_type:"video",capabilities:$R[324]=["api_access"],availability_state:"available",price_range:$R[325]={min_amount:"0.0804",max_amount:"0.8907",currency:"USD",unit:"sec"},resolution_range:$R[326]={min:"480p",max:"4k",options:$R[327]=["480p","720p","1080p","4k"]},duration_range:$R[328]={min_seconds:4,max_seconds:15,options_seconds:$R[329]=[4,15]},maximum_resolution:"4k",duration_options_seconds:$R[330]=[4,15],released_at:"2026-02-01",minimum_price:$R[331]={amount_usd:0.0804,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[332]={id:"4cf49645-f07d-4fd3-a491-0cc5cb80b981",slug:"bytedance/seedance-2.0/reference-to-video",title:"Seedance 2.0",og_description:"Create videos guided by visual references and a prompt.",variant_title:"Reference to Video (with video reference)",operation_types:$R[333]=["image2video","video2video"],input_types:$R[334]=["text","image","video","audio"],output_type:"video",capabilities:$R[335]=["api_access"],availability_state:"available",price_range:$R[336]={min_amount:"0.0804",max_amount:"1.0669",currency:"USD",unit:"sec"},resolution_range:$R[337]={min:"480p",max:"4k",options:$R[338]=["480p","720p","1080p","4k"]},duration_range:$R[339]={min_seconds:4,max_seconds:15,options_seconds:$R[340]=[4,15]},maximum_resolution:"4k",duration_options_seconds:$R[341]=[4,15],released_at:"2026-02-01",minimum_price:$R[342]={amount_usd:0.0804,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}}],related_models_description:null,code_preview:$R[343]={default_language:"javascript",variants:$R[344]=[$R[345]={language:"javascript",label:"TypeScript",code:"import { config, higgsfield } from \"@higgsfield/client/v2\";\n\nconfig({\n credentials: process.env.HF_CREDENTIALS,\n});\n\nconst result = await higgsfield.subscribe(\n \"bytedance/seedance-2.5/video-edit\",\n {\n input: {\n \"draft\": false,\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"bitrate_mode\": \"high\",\n \"generate_audio\": true\n },\n withPolling: true,\n },\n);\n\nconsole.log(result);"},$R[346]={language:"python",label:"Python",code:"import higgsfield_client\n\nresult = higgsfield_client.subscribe(\n 'bytedance/seedance-2.5/video-edit',\n arguments={'draft': False,\n 'prompt': 'A cinematic scene at sunset',\n 'video_url': 'https://example.com/input.mp4',\n 'resolution': '720p',\n 'bitrate_mode': 'high',\n 'generate_audio': True},\n)\n\nprint(result)"},$R[347]={language:"curl",label:"cURL",code:"curl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"draft\": false,\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"bitrate_mode\": \"high\",\n \"generate_audio\": true\n}\nJSON"}]},agent_install:$R[348]={targets:$R[349]=[$R[350]={id:"claude-code",label:"Claude Code",action:$R[351]={type:"open_url",url:"https://claude.ai/code?prompt=Help+me+integrate+the+Higgsfield+model+bytedance%2Fseedance-2.5%2Fvideo-edit+into+my+app.+Use+its+complete+model+documentation+at+https%3A%2F%2Fdash.higgsfield.ai%2Fmodels%2Fbytedance%2Fseedance-2.5%2Fvideo-edit%2Fllms.txt."}},$R[352]={id:"cursor",label:"Cursor",action:$R[353]={type:"open_url",url:"https://cursor.com/link/prompt?text=Help+me+integrate+the+Higgsfield+model+bytedance%2Fseedance-2.5%2Fvideo-edit+into+my+app.+Use+its+complete+model+documentation+at+https%3A%2F%2Fdash.higgsfield.ai%2Fmodels%2Fbytedance%2Fseedance-2.5%2Fvideo-edit%2Fllms.txt."}},$R[354]={id:"chatgpt-codex",label:"Codex",action:$R[355]={type:"open_url",url:"https://chatgpt.com/codex?prompt=Help+me+integrate+the+Higgsfield+model+bytedance%2Fseedance-2.5%2Fvideo-edit+into+my+app.+Use+its+complete+model+documentation+at+https%3A%2F%2Fdash.higgsfield.ai%2Fmodels%2Fbytedance%2Fseedance-2.5%2Fvideo-edit%2Fllms.txt."}},$R[356]={id:"copy-content",label:"Copy prompt",action:$R[357]={type:"copy_text",text:"# Seedance 2.5\n\n> Generate videos from text, images, video, and audio references, with clips up to 30 seconds.\nAnimate images, edit or extend existing footage, and generate audio alongside your video.\n\n## Overview\n\n- **Endpoint**: `https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit`\n- **Model ID**: `bytedance/seedance-2.5/video-edit`\n- **Category**: video2video\n- **Kind**: inference\n- **Tags**: trending, partners, commercial_use\n\n## Pricing\n\nStandard self-serve rates in USD per video second: 480p: $0.1387; 720p: $0.3264; 1080p: $0.7858. The edited video duration is determined from the primary input video and rounded up to a whole second. Total price = selected rate × that duration in seconds; input duration is not added again.\n\n## Authentication\n\nKeep credentials in server-side environment variables. The SDKs accept the same `KEY_ID:KEY_SECRET` value under their documented variable names.\n\n```bash\nexport HF_CREDENTIALS=\"YOUR_KEY_ID:YOUR_KEY_SECRET\" # TypeScript\nexport HF_KEY=\"YOUR_KEY_ID:YOUR_KEY_SECRET\" # Python and cURL\n```\n\nThe official SDKs configure the authorization header. Keep credentials server-side; the TypeScript SDK blocks browser use.\n\n## API Information\n\nUse `subscribe` to submit the model request and wait for a terminal result. TypeScript performs automatic polling with `withPolling: true`; Python's synchronous `subscribe` call also waits.\n\n### Input Parameters\n\n- **`draft`** (`boolean`, _optional_):\n Generate a 480p MP4 draft with standard bitrate for later finalization.\n - Default: `false`\n\n- **`prompt`** (`string`, _required_):\n Write your prompt here\n\n- **`video_url`** (`string`, _required_):\n\n- **`audio_urls`** (`list\x3Cstring>`, _optional_):\n\n- **`image_urls`** (`list\x3Cstring>`, _optional_):\n\n- **`resolution`** (`string`, _optional_):\n - Default: `\"720p\"`\n - Options: `480p`, `720p`, `1080p`\n\n- **`video_urls`** (`list\x3Cstring>`, _optional_):\n\n- **`bitrate_mode`** (`string`, _optional_):\n - Default: `\"high\"`\n - Options: `standard`, `high`\n\n- **`generate_audio`** (`boolean`, _optional_):\n - Default: `true`\n\n### Input JSON Schema\n\n```json\n{\n \"type\": \"object\",\n \"required\": [\n \"prompt\",\n \"video_url\"\n ],\n \"properties\": {\n \"draft\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Generate a 480p MP4 draft with standard bitrate for later finalization.\"\n },\n \"prompt\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"Write your prompt here\"\n },\n \"video_url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"audio_urls\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"maxItems\": 10,\n \"minItems\": 1\n },\n \"image_urls\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"maxItems\": 30,\n \"minItems\": 1\n },\n \"resolution\": {\n \"enum\": [\n \"480p\",\n \"720p\",\n \"1080p\"\n ],\n \"type\": \"string\",\n \"default\": \"720p\"\n },\n \"video_urls\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"maxItems\": 10,\n \"minItems\": 1\n },\n \"bitrate_mode\": {\n \"enum\": [\n \"standard\",\n \"high\"\n ],\n \"type\": \"string\",\n \"default\": \"high\"\n },\n \"generate_audio\": {\n \"type\": \"boolean\",\n \"default\": true\n }\n },\n \"additionalProperties\": false\n}\n```\n\n### Required Parameters Example\n\n```json\n{\n \"draft\": false,\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"bitrate_mode\": \"high\",\n \"generate_audio\": true\n}\n```\n\n### Output Schema\n\nThe shared polling endpoint returns one of the following status shapes:\n\n```json\n{\n \"title\": \"RequestStatus\",\n \"oneOf\": [\n {\n \"title\": \"PendingRequestStatus\",\n \"type\": \"object\",\n \"properties\": {\n \"request_id\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n \"status_url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"cancel_url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"queued\",\n \"in_progress\",\n \"nsfw\",\n \"canceled\"\n ]\n }\n },\n \"required\": [\n \"status\",\n \"request_id\"\n ]\n },\n {\n \"title\": \"FailedRequestStatus\",\n \"type\": \"object\",\n \"properties\": {\n \"request_id\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n \"status_url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"cancel_url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"status\": {\n \"type\": \"string\",\n \"const\": \"failed\"\n },\n \"error\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"request_id\",\n \"error\"\n ]\n },\n {\n \"title\": \"CompletedRequestStatus\",\n \"type\": \"object\",\n \"properties\": {\n \"request_id\": {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n \"status_url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"cancel_url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"status\": {\n \"type\": \"string\",\n \"const\": \"completed\"\n },\n \"video\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"url\"\n ]\n },\n \"zip\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"url\"\n ]\n },\n \"mov\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"url\"\n ]\n },\n \"jsx\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"url\"\n ]\n },\n \"fbx\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"url\"\n ]\n },\n \"ply\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"url\"\n ]\n }\n },\n \"required\": [\n \"status\",\n \"request_id\",\n \"video\"\n ]\n }\n ]\n}\n```\n\n## SDK Installation\n\nInstall one of the official server-side SDKs:\n\n```bash\nnpm install @higgsfield/client\n# or\npip install higgsfield-client\n```\n\n## Usage Examples\n\n### TypeScript\n\n```typescript\nimport { config, higgsfield } from \"@higgsfield/client/v2\";\n\nconfig({\n credentials: process.env.HF_CREDENTIALS,\n});\n\nconst result = await higgsfield.subscribe(\n \"bytedance/seedance-2.5/video-edit\",\n {\n input: {\n \"draft\": false,\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"bitrate_mode\": \"high\",\n \"generate_audio\": true\n },\n withPolling: true,\n },\n);\n\nconsole.log(result);\n```\n\n### Python\n\n```python\nimport higgsfield_client\n\nresult = higgsfield_client.subscribe(\n 'bytedance/seedance-2.5/video-edit',\n arguments={'draft': False,\n 'prompt': 'A cinematic scene at sunset',\n 'video_url': 'https://example.com/input.mp4',\n 'resolution': '720p',\n 'bitrate_mode': 'high',\n 'generate_audio': True},\n)\n\nprint(result)\n```\n\n### cURL\n\n```bash\ncurl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"draft\": false,\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"bitrate_mode\": \"high\",\n \"generate_audio\": true\n}\nJSON\n```\n\n## Additional Documentation\n\n# About\n\n**Seedance 2.5** uses the model ID `bytedance/seedance-2.5/video-edit`. Seedance 2.5 Video Edit enables video-to-video transformation by editing existing videos with prompts and optional audio, image, or additional video inputs. It supports output customization including resolution and format, with optional audio generation.\n\n## 1. Calling the API\n\nSend requests to `https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit` with a JSON body matching the parameters below.\n\n### Install\n\nInstall an official server-side SDK. cURL needs no package.\n\n```bash control=package group=install-typescript variant=npm label=npm when=javascript\nnpm install @higgsfield/client\n```\n\n```bash control=package group=install-python variant=pip label=pip when=python\npip install higgsfield-client\n```\n\n### Setup\n\nKeep credentials in server-side environment variables. The SDKs accept the same `KEY_ID:KEY_SECRET` value under their documented variable names.\n\n```bash\nexport HF_CREDENTIALS=\"YOUR_KEY_ID:YOUR_KEY_SECRET\" # TypeScript\nexport HF_KEY=\"YOUR_KEY_ID:YOUR_KEY_SECRET\" # Python and cURL\n```\n\n### Request parameters\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prompt` | `string` | Yes | `—` | Minimum length: 1. |\n| `video_url` | `string` | Yes | `—` | |\n| `audio_urls` | `array[string]` | No | `—` | |\n| `image_urls` | `array[string]` | No | `—` | |\n| `resolution` | `string` | No | `\"720p\"` | Options: 480p, 720p, 1080p. |\n| `video_urls` | `array[string]` | No | `—` | |\n| `output_format` | `string` | No | `\"mp4\"` | Options: mp4, mov. |\n| `generate_audio` | `boolean` | No | `true` | |\n| `draft` | `boolean` | No | `false` | Create a 480p MP4 preview with standard bitrate for later 1080p finalization. See the draft workflow below. |\n\n## 2. Authentication\n\nThe official SDKs read credentials from the server environment and send the required `Authorization: Key KEY_ID:KEY_SECRET` header.\n\n### API Key\n\nNever expose the secret in browser-side code or commit it to source control. The TypeScript SDK is server-side only. For direct HTTP calls, use:\n\n```http\nAuthorization: Key $HF_KEY\n```\n\n## 3. Queue\n\n`subscribe` submits the asynchronous request and waits for a terminal result. The TypeScript SDK polls automatically when `withPolling: true`; the Python SDK's synchronous `subscribe` call also waits. A completed request returns the generated file in the `video` field.\n\n### Submit and wait\n\n```ts control=language group=submit variant=javascript label=TypeScript\nimport { config, higgsfield } from \"@higgsfield/client/v2\";\n\nconfig({\n credentials: process.env.HF_CREDENTIALS,\n});\n\nconst result = await higgsfield.subscribe(\n \"bytedance/seedance-2.5/video-edit\",\n {\n input: {\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"output_format\": \"mp4\",\n \"generate_audio\": true\n },\n withPolling: true,\n },\n);\n\nconsole.log(result);\n```\n\n```python control=language group=submit variant=python label=Python\nimport higgsfield_client\n\nresult = higgsfield_client.subscribe(\n 'bytedance/seedance-2.5/video-edit',\n arguments={'prompt': 'A cinematic scene at sunset',\n 'video_url': 'https://example.com/input.mp4',\n 'resolution': '720p',\n 'output_format': 'mp4',\n 'generate_audio': True},\n)\n\nprint(result)\n```\n\n```bash control=language group=submit variant=curl label=cURL\ncurl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"prompt\": \"A cinematic scene at sunset\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"resolution\": \"720p\",\n \"output_format\": \"mp4\",\n \"generate_audio\": true\n}\nJSON\n```\n\n### Explicit lifecycle control\n\nUse the Python SDK when a worker needs explicit status, result, or cancellation control for an existing request. The TypeScript v2 client currently exposes automatic polling through `subscribe`.\n\n```python\nimport higgsfield_client\n\nrequest_id = \"{request_id}\"\nstatus = higgsfield_client.status(request_id=request_id)\nresult = higgsfield_client.result(request_id=request_id)\nhiggsfield_client.cancel(request_id=request_id)\n```\n\n## 4. Draft previews and finalization\n\nCreate a preview, review it, and finalize the selected draft at 1080p using `bytedance/seedance-2.5/finalize-draft`.\n\n### 1. Create a draft\n\nSend the usual inputs for your generation endpoint with `draft: true`. Omitting `draft` or setting it to `false` keeps regular generation behavior. Draft mode forces **480p, MP4, and standard bitrate**, even if the request selects another supported resolution, format, or bitrate.\n\n```bash\ncurl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/video-edit' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"prompt\": \"Change the scene to a snowy landscape\",\n \"video_url\": \"https://example.com/input.mp4\",\n \"draft\": true\n}\nJSON\n```\n\nReplace example media URLs with your own accessible media URLs. Save the `request_id` from the POST response. This is the public request ID (JobSet ID) that you will pass as `draft_id`; do not use a video URL, an internal job ID, or a provider task ID.\n\n### 2. Wait for the draft and review it\n\nPoll the returned `status_url` with the same authorization header, or use the status endpoint directly:\n\n```bash\nDRAFT_REQUEST_ID=\"REPLACE_WITH_DRAFT_REQUEST_ID\"\ncurl --request GET \\\n --url \"https://api.higgsfield.ai/requests/${DRAFT_REQUEST_ID}/status\" \\\n --header \"Authorization: Key $HF_KEY\"\n```\n\nWait until `status` is `completed`, then review the preview at `video.url` in the status response. Do not finalize a request that is queued, in progress, failed, canceled, or blocked by moderation.\n\n### 3. Finalize at 1080p\n\nSubmit a new request to `bytedance/seedance-2.5/finalize-draft`. Replace the example UUID below with the draft's saved `request_id`:\n\n```bash\ncurl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.5/finalize-draft' \\\n --header \"Authorization: Key $HF_KEY\" \\\n --header \"Content-Type: application/json\" \\\n --data @- \x3C\x3C'JSON'\n{\n \"draft_id\": \"00000000-0000-4000-8000-000000000001\",\n \"resolution\": \"1080p\"\n}\nJSON\n```\n\nThe response contains a **new** `request_id` and `status_url` for finalization. Poll that new status URL until `status` is `completed`; its `video.url` is the final video. Keep the draft and finalization request IDs separate.\n\n### Pricing\n\nDraft generation and finalization are separate paid requests. Each is billed per **output second** at its own resolution. Finalization uses the duration and video-input pricing tier saved with the draft and applies the 1080p rate; it does not reuse the draft's charge. The draft charge is not deducted from the finalization charge.\n\n| Input type | 480p draft, USD / output second | 1080p finalization, USD / output second |\n| --- | --- | --- |\n| Without video input (text, images, or audio only) | $0.1177 | $0.6518 |\n| With video input | $0.1387 | $0.7858 |\n\nThese are standard self-serve rates. Total cost for a draft followed by one finalization is `output seconds × (draft rate + finalization rate)`. If you stop after viewing the draft, only the draft request is charged. Input-video seconds are not added to the billing multiplier. For video edit, output duration is derived from the primary input video; for video extend, the billed duration is the requested extension.\n\n### Requirements and limits\n\n- Use a completed draft created with `draft: true` on one of the five `bytedance/seedance-2.5/` generation endpoints listed below. A regular generation cannot be finalized as a draft.\n- The draft must belong to the same account as the finalization request and contain a single video job.\n- Finalize within seven days of draft creation and before the request's retention expires. A shorter account retention or `Hf-Expires-After` setting can shorten this window. If the status response includes `expires_at`, respect that timestamp as well as the seven-day limit. Deleted or purged drafts cannot be finalized.\n- Only `1080p` is supported for finalization. It is also the default when `resolution` is omitted.\n- Finalization accepts `draft_id` and `resolution`. Prompt, media inputs, audio settings, aspect ratio, and duration come from the original draft. To change those inputs, create a new draft.\n- Draft creation and finalization use TTUS. You do not need to select a provider or send a provider task ID.\n\n### Supported draft endpoints\n\n- `bytedance/seedance-2.5/text-to-video`\n- `bytedance/seedance-2.5/image-to-video`\n- `bytedance/seedance-2.5/reference-to-video`\n- `bytedance/seedance-2.5/video-edit`\n- `bytedance/seedance-2.5/video-extend`\n\n## Additional Resources\n\n- [Model page](https://console.higgsfield.ai/models/bytedance/seedance-2.5/video-edit)\n- [This LLM-readable document](https://dash.higgsfield.ai/models/bytedance/seedance-2.5/video-edit/llms.txt)\n\n## Documentation Index\n\n- [Complete Higgsfield documentation](https://docs.higgsfield.ai/docs/llms.txt)\n"}}]},availability_state:"available"},socialImage:$R[358]={url:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.5/video-edit-1rkncq3.jpg",width:1200,height:630,type:"image/jpeg",alt:"Seedance 2.5 by ByteDance on Higgsfield API"}},dataUpdateCount:1,dataUpdatedAt:1796138676787,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:"success",fetchStatus:"idle"},queryKey:$R[359]=["slug-model-page","bytedance/seedance-2.5/video-edit","anonymous"],queryHash:"[\"slug-model-page\",\"bytedance/seedance-2.5/video-edit\",\"anonymous\"]"}],stream:$R[360]=($R[361]=(stream) => new ReadableStream({ start(controller) { stream.on({ next(value) { try { controller.enqueue(value); } catch (_error) {} }, throw(value) { controller.error(value); }, return() { try { controller.close(); } catch (_error) {} } }); } }))($R[362]=($R[363]=() => { const buffer = []; const listeners = []; let alive = true; let success = false; let count = 0; const internal = { flush(value, mode, x) { for (x = 0; x < count; x++) { const listener = listeners[x]; if (listener) listener[mode](value); } }, up(listener, x, z, current) { for (x = 0, z = buffer.length; x < z; x++) { current = buffer[x]; if (!alive && x === z - 1) listener[success ? "return" : "throw"](current); else listener.next(current); } }, on(listener, temp = 0) { let subscribed = alive; if (alive) { for (temp = 0; temp < count; temp++) if (!listeners[temp]) break; if (temp === count) count++; listeners[temp] = listener; } internal.up(listener); return () => { if (alive && subscribed) { subscribed = false; listeners[temp] = void 0; while (count > 0 && !listeners[count - 1]) count--; listeners.length = count; } }; } }; return { __SEROVAL_STREAM__: true, on(listener) { return internal.on(listener); }, next(value) { if (alive) { buffer.push(value); internal.flush(value, "next"); } }, throw(value) { if (alive) { buffer.push(value); internal.flush(value, "throw"); alive = false; success = false; listeners.length = 0; } }, return(value) { if (alive) { buffer.push(value); internal.flush(value, "return"); alive = false; success = true; listeners.length = 0; } } }; })())}}})($R["tsr"])</script><script data-tsr-stream-part="">{let s=document.currentScript,p;while((p=s.previousElementSibling)&&p.hasAttribute('data-tsr-stream-part'))p.remove();s.remove()}</script><script type="module" async="" src="/assets/index-DIb-pgqB.js"></script><script>document.currentScript.remove();/*$tsr-stream-boundary*/</script><script>($R=>$R[362].return(void 0))($R["tsr"]);$_TSR.e();document.currentScript.remove()</script><script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a63319842c8a7db3',t:'MTc5NjEzODY3NQ=='};var l=window.parent.location,o;try{o=new URL(l.origin).origin}catch(e){try{o=new URL(new URL(l.href).origin).origin}catch(e){o=''}}var u='/cdn-cgi/challenge-platform/scripts/jsd/main.js?ray=a63319842c8a7db3',a=document.createElement('script');a.src=o?new URL(u,o).href:u;document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body></html>
Model input reference derived from preset schema.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| prompt | string | Yes | null | Describe the desired scene, action, camera movement, or requested change. Required for text generation, editing, and extension; optional when animating an image or using references. |
| video_url | video | Yes | null | Required video to modify according to the prompt. Source duration controls output length; this endpoint has no duration parameter. |
| audio_urls | audio | No | [] | Public HTTPS audio reference URLs. Keep generate_audio enabled when generated sound is wanted. |
| image_urls | image | No | [] | Public HTTPS image URLs for visual/character/storyboard references. These are references, not pinned first or last frames. |
| resolution | select | No | "720p" | Output resolution tier. Choose 480p for economical tests. |
| video_urls | video | No | [] | Public HTTPS reference video URLs. Input video duration is also billable; prefer image references when sufficient. |
| output_format | select | No | "mp4" | Container format of the returned video. |
| generate_audio | boolean | No | true | Generate sound alongside the video. Set false for silent output. |