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.0 — API reference | Higgsfield API</title><meta name="description" content="Use Seedance 2.0 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."/><meta property="og:title" content="Seedance 2.0 — API reference | Higgsfield API"/><meta property="og:description" content="Use Seedance 2.0 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.0/text-to-video/api-reference"/><meta property="og:image" content="https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"/><meta property="og:image:alt" content="Seedance 2.0 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.0 — API reference | Higgsfield API"/><meta name="twitter:description" content="Use Seedance 2.0 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.0/text-to-video-xav5kf.jpg"/><meta name="twitter:image:alt" content="Seedance 2.0 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.0/text-to-video/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.0%2Ftext-to-video%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.0</span><button type="button" aria-label="Select model variant: Text-to-Video" 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">Text-to-Video</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.0</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.0</h1></div><button type="button" aria-label="Select model variant: Text-to-Video" 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">Text-to-Video</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">Creates 4K video from text or media references. Supports up to 15 seconds with optional sound.</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.0/text-to-video/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.0/text-to-video"</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">"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">12</span><code><span> </span><span class="text-success-7">"duration"</span><span>: 5,</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">"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">14</span><code><span> </span><span class="text-success-7">"aspect_ratio"</span><span>: </span><span class="text-success-7">"16:9"</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">"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">16</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">17</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">18</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">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></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><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.0</span><button type="button" aria-label="Select model variant: Text-to-Video" 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">Text-to-Video</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.0/text-to-video/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.0%2Ftext-to-video%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.0%2Ftext-to-video%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.0%2Ftext-to-video%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></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.0</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.0/text-to-video</code>. Seedance 2.0 generates videos from text prompts, allowing customization of duration, resolution, aspect ratio, and optional audio. This model supports video creation up to 15 seconds with multiple aspect ratios and resolutions including 4K.</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.0/text-to-video</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">duration</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">integer</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">5</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Minimum: 4. Maximum: 15.</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, 4k.</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">aspect_ratio</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">"16:9"</code></td><td class="border-b border-divider-primary px-3 py-2 text-font-secondary last:border-b-0">Options: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9.</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></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.0/text-to-video", { input: { "prompt": "A cinematic scene at sunset", "duration": 5, "resolution": "720p", "aspect_ratio": "16:9", "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></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:1796138671582,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.0%2Ftext-to-video",u:1796138672458,s:"success",l:$R[20]={heads:$R[21]={layout:$R[22]={meta:$R[23]=[$R[24]={title:"Seedance 2.0 | Higgsfield API"},$R[25]={name:"description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[26]={property:"og:title",content:"Seedance 2.0 | Higgsfield API"},$R[27]={property:"og:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$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.0/text-to-video-xav5kf.jpg"},$R[32]={property:"og:image:alt",content:"Seedance 2.0 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.0 | Higgsfield API"},$R[38]={name:"twitter:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[39]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[40]={name:"twitter:image:alt",content:"Seedance 2.0 by ByteDance on Higgsfield API"}],links:$R[41]=[]},tabs:$R[42]={playground:$R[43]={meta:$R[44]=[$R[45]={title:"Seedance 2.0 — Overview | Higgsfield API"},$R[46]={name:"description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[47]={property:"og:title",content:"Seedance 2.0 — Overview | Higgsfield API"},$R[48]={property:"og:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$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.0/text-to-video/playground"},$R[53]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[54]={property:"og:image:alt",content:"Seedance 2.0 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.0 — Overview | Higgsfield API"},$R[60]={name:"twitter:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[61]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[62]={name:"twitter:image:alt",content:"Seedance 2.0 by ByteDance on Higgsfield API"}],links:$R[63]=[$R[64]={rel:"canonical",href:"https://open.higgsfield.ai/models/bytedance/seedance-2.0/text-to-video/playground"}]},"api-reference":$R[65]={meta:$R[66]=[$R[67]={title:"Seedance 2.0 — API reference | Higgsfield API"},$R[68]={name:"description",content:"Use Seedance 2.0 through the Higgsfield API. Read authentication instructions, request examples, and integration guidance."},$R[69]={property:"og:title",content:"Seedance 2.0 — API reference | Higgsfield API"},$R[70]={property:"og:description",content:"Use Seedance 2.0 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.0/text-to-video/api-reference"},$R[75]={property:"og:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[76]={property:"og:image:alt",content:"Seedance 2.0 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.0 — API reference | Higgsfield API"},$R[82]={name:"twitter:description",content:"Use Seedance 2.0 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.0/text-to-video-xav5kf.jpg"},$R[84]={name:"twitter:image:alt",content:"Seedance 2.0 by ByteDance on Higgsfield API"}],links:$R[85]=[$R[86]={rel:"canonical",href:"https://open.higgsfield.ai/models/bytedance/seedance-2.0/text-to-video/api-reference"}]},requests:$R[87]={meta:$R[88]=[$R[89]={title:"Seedance 2.0 — Requests | Higgsfield API"},$R[90]={name:"description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[91]={name:"robots",content:"noindex, follow"},$R[92]={property:"og:title",content:"Seedance 2.0 — Requests | Higgsfield API"},$R[93]={property:"og:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$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.0/text-to-video-xav5kf.jpg"},$R[98]={property:"og:image:alt",content:"Seedance 2.0 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.0 — Requests | Higgsfield API"},$R[104]={name:"twitter:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[105]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[106]={name:"twitter:image:alt",content:"Seedance 2.0 by ByteDance on Higgsfield API"}],links:$R[107]=[]},analytics:$R[108]={meta:$R[109]=[$R[110]={title:"Seedance 2.0 — Analytics | Higgsfield API"},$R[111]={name:"description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[112]={name:"robots",content:"noindex, follow"},$R[113]={property:"og:title",content:"Seedance 2.0 — Analytics | Higgsfield API"},$R[114]={property:"og:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$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.0/text-to-video-xav5kf.jpg"},$R[119]={property:"og:image:alt",content:"Seedance 2.0 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.0 — Analytics | Higgsfield API"},$R[125]={name:"twitter:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[126]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[127]={name:"twitter:image:alt",content:"Seedance 2.0 by ByteDance on Higgsfield API"}],links:$R[128]=[]},schema:$R[129]={meta:$R[130]=[$R[131]={title:"Seedance 2.0 — Schema | Higgsfield API"},$R[132]={name:"description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[133]={name:"robots",content:"noindex, follow"},$R[134]={property:"og:title",content:"Seedance 2.0 — Schema | Higgsfield API"},$R[135]={property:"og:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$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.0/text-to-video-xav5kf.jpg"},$R[140]={property:"og:image:alt",content:"Seedance 2.0 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.0 — Schema | Higgsfield API"},$R[146]={name:"twitter:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[147]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[148]={name:"twitter:image:alt",content:"Seedance 2.0 by ByteDance on Higgsfield API"}],links:$R[149]=[]},examples:$R[150]={meta:$R[151]=[$R[152]={title:"Seedance 2.0 — Examples | Higgsfield API"},$R[153]={name:"description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[154]={name:"robots",content:"noindex, follow"},$R[155]={property:"og:title",content:"Seedance 2.0 — Examples | Higgsfield API"},$R[156]={property:"og:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$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.0/text-to-video-xav5kf.jpg"},$R[161]={property:"og:image:alt",content:"Seedance 2.0 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.0 — Examples | Higgsfield API"},$R[167]={name:"twitter:description",content:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound."},$R[168]={name:"twitter:image",content:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg"},$R[169]={name:"twitter:image:alt",content:"Seedance 2.0 by ByteDance on Higgsfield API"}],links:$R[170]=[]}}}},ssr:!0},$R[171]={i:"#(public)#models#$slug#api-reference#models#bytedance%2Fseedance-2.0%2Ftext-to-video#api-reference",u:1796138671582,s:"success",ssr:!0}],dehydratedData:$R[172]={query:$R[173]={initial:$R[174]=[$R[175]={dehydratedAt:1796138672458,state:$R[176]={data:$R[177]={model:$R[178]={id:"cdbfa230-a5c0-45af-bd40-cf1f0d7e5b4d",catalog_type:"model",route_slug:"bytedance/seedance-2.0/text-to-video",canonical_route_slug:"bytedance/seedance-2.0/text-to-video",workflow:null,pricing:null,slug:"bytedance/seedance-2.0/text-to-video",title:"Seedance 2.0",variant_title:"Text to Video",description:"Creates 4K video from text or media references. Supports up to 15 seconds with optional sound.",og_description:"Turn written prompts into generated video scenes.",og_image:null,input_schema:$R[179]={type:"object",required:$R[180]=["prompt"],properties:$R[181]={prompt:$R[182]={type:"string",minLength:1,description:"Write your prompt here"},duration:$R[183]={type:"integer",default:5,maximum:15,minimum:4},resolution:$R[184]={enum:$R[185]=["480p","720p","1080p","4k"],type:"string",default:"720p"},aspect_ratio:$R[186]={enum:$R[187]=["16:9","4:3","1:1","3:4","9:16","21:9"],type:"string",default:"16:9"},generate_audio:$R[188]={type:"boolean",default:!0}},additionalProperties:!1},ui_schema:$R[189]={duration:$R[190]={"ui:widget":"range","ui:options":$R[191]={advanced:!1}},aspect_ratio:$R[192]={"ui:options":$R[193]={advanced:!1}}},playground:$R[194]={initial_values:$R[195]={prompt:"A woman in a strapless dress and a man in a suit stand beside a yellow car at a desert gas station. Close-ups show their outfits and jewelry before they walk forward in slow motion. The camera returns to them by the pumps, then cuts to her face."}},system_name:"seedance-2-0-sale",operation_type:"text2video",output_type:"video",requests_enabled:!0,analytics_enabled:!0,markdown_docs:"# About\n\n**Seedance 2.0** uses the model ID `bytedance/seedance-2.0/text-to-video`. Seedance 2.0 generates videos from text prompts, allowing customization of duration, resolution, aspect ratio, and optional audio. This model supports video creation up to 15 seconds with multiple aspect ratios and resolutions including 4K.\n\n## 1. Calling the API\n\nSend requests to `https://api.higgsfield.ai/bytedance/seedance-2.0/text-to-video` 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| `duration` | `integer` | No | `5` | Minimum: 4. Maximum: 15. |\n| `resolution` | `string` | No | `\"720p\"` | Options: 480p, 720p, 1080p, 4k. |\n| `aspect_ratio` | `string` | No | `\"16:9\"` | Options: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9. |\n| `generate_audio` | `boolean` | No | `true` | |\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.0/text-to-video\",\n {\n input: {\n \"prompt\": \"A cinematic scene at sunset\",\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\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.0/text-to-video',\n arguments={'prompt': 'A cinematic scene at sunset',\n 'duration': 5,\n 'resolution': '720p',\n 'aspect_ratio': '16:9',\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.0/text-to-video' \\\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 \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\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",openapi_enabled:!1,docs_enabled:!0,job_set_type:"seedance_2_0",family:$R[196]=[$R[197]={slug:"bytedance/seedance-2.0/text-to-video",title:"Seedance 2.0",variant_title:"Text to Video",type:"text2video",operation_type_readable:"Text to Video",is_current:!0},$R[198]={slug:"bytedance/seedance-2.0/image-to-video",title:"Seedance 2.0",variant_title:"Image to Video",type:"image2video",operation_type_readable:"Image to Video",is_current:!1},$R[199]={slug:"bytedance/seedance-2.0/reference-to-video",title:"Seedance 2.0",variant_title:"Reference to Video (with video reference)",type:"image2video",operation_type_readable:"Image to Video, Video to Video",is_current:!1}],tags:$R[200]=["partners","commercial_use"],company:$R[201]={id:"b0e49055-beaf-4301-90c8-2924f1014236",slug:"bytedance",name:"ByteDance",icon:"IconModelsSeedance"},banner_image:null,banner_video:$R[202]={thumbnail_url:"https://d28lhcrx5qdowv.cloudfront.net/media/explore/media/5aaa4da5fe1aa5a2cc69996c8e9eddc019f68c36dae81c2c587ff5f3e4a87954-thumbnail.webp",video_url:"https://d28lhcrx5qdowv.cloudfront.net/media/explore/media/b9ab38d7b5649b75fd2cc352e18dc8a0a3332acf544c21ce5cb49f66087c9062-video.mp4"},preview_image:null,preview_image_animated:null,preview_video:$R[203]={thumbnail_url:"https://d28lhcrx5qdowv.cloudfront.net/media/explore/media/e5baa5f54b7a9d5b5f8921679a96af443de10655aa0b88fc0268b424bfb73ec4-thumbnail.webp",video_url:"https://d28lhcrx5qdowv.cloudfront.net/media/explore/media/c9292e8f1a5fcfb83a07cc45aea0e18593f2745e0d01bf32d3120c8327972fa4-video.mp4"},overview:$R[204]={input_types:$R[205]=["text"],price:$R[206]={amount:"0.0804",currency:"USD",unit:"second",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null},released_on:"2026-02-01",about:$R[207]={media:$R[208]=[],guidance:$R[209]={best_for:$R[210]=[$R[211]={title:"Prompt-led video generation",description:"Turning written concepts into generated video sequences"},$R[212]={title:"Short-form creative production",description:"Develop social, campaign, pitch, or storyboard clips without source footage"},$R[213]={title:"Motion and style exploration",description:"Test cinematic directions, camera language, and atmosphere from text alone"}],consider_alternatives_when:$R[214]=[$R[215]={title:"Image-guided motion",description:"Choose an image-to-video mode when a source frame must guide the result"},$R[216]={title:"Existing footage transformation",description:"Choose video-to-video when the timing and motion of a source clip must remain"}]},conclusion:"Seedance 2.0 — Text to Video is best suited to prompt-led video generation.",description:"Seedance 2.0 generates videos from text prompts, allowing customization of duration, resolution, aspect ratio, and optional audio. This model supports video creation up to 15 seconds with multiple aspect ratios and resolutions including 4K."}},pricing_description:"Standard self-serve rates in USD per video second: 480p: $0.0804; 720p: $0.1735; 1080p: $0.4293; 4K: $0.8907. Total price = selected rate × output duration in seconds.",related_models:$R[217]=[$R[218]={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[219]=["text2image"],input_types:$R[220]=["text"],output_type:"image",capabilities:$R[221]=["api_access"],availability_state:"available",price_range:$R[222]={min_amount:"0.054",max_amount:"0.108",currency:"USD",unit:"image"},resolution_range:$R[223]={min:"1k",max:"2k",options:$R[224]=["1k","1.5k","2k"]},duration_range:null,maximum_resolution:"2k",duration_options_seconds:$R[225]=[],released_at:"2026-07-08",minimum_price:$R[226]={amount_usd:0.054,unit:"image",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[227]={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[228]=["image_edit"],input_types:$R[229]=["text","image"],output_type:"image",capabilities:$R[230]=["api_access"],availability_state:"available",price_range:$R[231]={min_amount:"0.054",max_amount:"0.108",currency:"USD",unit:"image"},resolution_range:$R[232]={min:"1k",max:"2k",options:$R[233]=["1k","1.5k","2k"]},duration_range:null,maximum_resolution:"2k",duration_options_seconds:$R[234]=[],released_at:"2026-07-08",minimum_price:$R[235]={amount_usd:0.054,unit:"image",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[236]={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[237]=["text2video"],input_types:$R[238]=["text"],output_type:"video",capabilities:$R[239]=["api_access"],availability_state:"available",price_range:$R[240]={min_amount:"0.1177",max_amount:"0.6518",currency:"USD",unit:"sec"},resolution_range:$R[241]={min:"480p",max:"1080p",options:$R[242]=["480p","720p","1080p"]},duration_range:$R[243]={min_seconds:4,max_seconds:30,options_seconds:$R[244]=[4,30]},maximum_resolution:"1080p",duration_options_seconds:$R[245]=[4,30],released_at:"2026-07-01",minimum_price:$R[246]={amount_usd:0.1177,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[247]={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[248]=["image2video","video2video"],input_types:$R[249]=["text","image","video","audio"],output_type:"video",capabilities:$R[250]=["api_access"],availability_state:"available",price_range:$R[251]={min_amount:"0.1177",max_amount:"0.7858",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:"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[259]=["video2video"],input_types:$R[260]=[],output_type:"video",capabilities:$R[261]=["api_access"],availability_state:"available",price_range:null,resolution_range:$R[262]={min:"1080p",max:"1080p",options:$R[263]=["1080p"]},duration_range:null,maximum_resolution:"1080p",duration_options_seconds:$R[264]=[],released_at:"2026-07-01",minimum_price:$R[265]={amount_usd:0.6518,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[266]={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[267]=["image2video"],input_types:$R[268]=["text","image"],output_type:"video",capabilities:$R[269]=["api_access"],availability_state:"available",price_range:$R[270]={min_amount:"0.1177",max_amount:"0.6518",currency:"USD",unit:"sec"},resolution_range:$R[271]={min:"480p",max:"1080p",options:$R[272]=["480p","720p","1080p"]},duration_range:$R[273]={min_seconds:4,max_seconds:30,options_seconds:$R[274]=[4,30]},maximum_resolution:"1080p",duration_options_seconds:$R[275]=[4,30],released_at:"2026-07-01",minimum_price:$R[276]={amount_usd:0.1177,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[277]={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[278]=["video2video"],input_types:$R[279]=["text","image","video","audio"],output_type:"video",capabilities:$R[280]=["api_access"],availability_state:"available",price_range:$R[281]={min_amount:"0.1387",max_amount:"0.7858",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.1387,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[288]={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[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:"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[300]=["text2video"],input_types:$R[301]=["text"],output_type:"video",capabilities:$R[302]=["api_access"],availability_state:"available",price_range:$R[303]={min_amount:"0.0804",max_amount:"0.8907",currency:"USD",unit:"sec"},resolution_range:$R[304]={min:"480p",max:"4k",options:$R[305]=["480p","720p","1080p","4k"]},duration_range:$R[306]={min_seconds:4,max_seconds:15,options_seconds:$R[307]=[4,15]},maximum_resolution:"4k",duration_options_seconds:$R[308]=[4,15],released_at:"2026-02-01",minimum_price:$R[309]={amount_usd:0.0804,unit:"sec",discount_expires_at:null,discount_after_expiry_percentage:null,discount_after_expiry_expires_at:null}},$R[310]={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[311]=["image2video"],input_types:$R[312]=["text","image"],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:"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[322]=["image2video","video2video"],input_types:$R[323]=["text","image","video","audio"],output_type:"video",capabilities:$R[324]=["api_access"],availability_state:"available",price_range:$R[325]={min_amount:"0.0804",max_amount:"1.0669",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}}],related_models_description:null,code_preview:$R[332]={default_language:"javascript",variants:$R[333]=[$R[334]={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.0/text-to-video\",\n {\n input: {\n \"prompt\": \"A cinematic scene at sunset\",\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\n \"generate_audio\": true\n },\n withPolling: true,\n },\n);\n\nconsole.log(result);"},$R[335]={language:"python",label:"Python",code:"import higgsfield_client\n\nresult = higgsfield_client.subscribe(\n 'bytedance/seedance-2.0/text-to-video',\n arguments={'prompt': 'A cinematic scene at sunset',\n 'duration': 5,\n 'resolution': '720p',\n 'aspect_ratio': '16:9',\n 'generate_audio': True},\n)\n\nprint(result)"},$R[336]={language:"curl",label:"cURL",code:"curl --request POST \\\n --url 'https://api.higgsfield.ai/bytedance/seedance-2.0/text-to-video' \\\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 \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\n \"generate_audio\": true\n}\nJSON"}]},agent_install:$R[337]={targets:$R[338]=[$R[339]={id:"claude-code",label:"Claude Code",action:$R[340]={type:"open_url",url:"https://claude.ai/code?prompt=Help+me+integrate+the+Higgsfield+model+bytedance%2Fseedance-2.0%2Ftext-to-video+into+my+app.+Use+its+complete+model+documentation+at+https%3A%2F%2Fdash.higgsfield.ai%2Fmodels%2Fbytedance%2Fseedance-2.0%2Ftext-to-video%2Fllms.txt."}},$R[341]={id:"cursor",label:"Cursor",action:$R[342]={type:"open_url",url:"https://cursor.com/link/prompt?text=Help+me+integrate+the+Higgsfield+model+bytedance%2Fseedance-2.0%2Ftext-to-video+into+my+app.+Use+its+complete+model+documentation+at+https%3A%2F%2Fdash.higgsfield.ai%2Fmodels%2Fbytedance%2Fseedance-2.0%2Ftext-to-video%2Fllms.txt."}},$R[343]={id:"chatgpt-codex",label:"Codex",action:$R[344]={type:"open_url",url:"https://chatgpt.com/codex?prompt=Help+me+integrate+the+Higgsfield+model+bytedance%2Fseedance-2.0%2Ftext-to-video+into+my+app.+Use+its+complete+model+documentation+at+https%3A%2F%2Fdash.higgsfield.ai%2Fmodels%2Fbytedance%2Fseedance-2.0%2Ftext-to-video%2Fllms.txt."}},$R[345]={id:"copy-content",label:"Copy prompt",action:$R[346]={type:"copy_text",text:"# Seedance 2.0\n\n> Creates 4K video from text or media references. Supports up to 15 seconds with optional sound.\n\n## Overview\n\n- **Endpoint**: `https://api.higgsfield.ai/bytedance/seedance-2.0/text-to-video`\n- **Model ID**: `bytedance/seedance-2.0/text-to-video`\n- **Category**: text2video\n- **Kind**: inference\n- **Tags**: partners, commercial_use\n\n## Pricing\n\nStandard self-serve rates in USD per video second: 480p: $0.0804; 720p: $0.1735; 1080p: $0.4293; 4K: $0.8907. Total price = selected rate × output duration in seconds.\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- **`prompt`** (`string`, _required_):\n Write your prompt here\n\n- **`duration`** (`integer`, _optional_):\n - Default: `5`\n\n- **`resolution`** (`string`, _optional_):\n - Default: `\"720p\"`\n - Options: `480p`, `720p`, `1080p`, `4k`\n\n- **`aspect_ratio`** (`string`, _optional_):\n - Default: `\"16:9\"`\n - Options: `16:9`, `4:3`, `1:1`, `3:4`, `9:16`, `21:9`\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 ],\n \"properties\": {\n \"prompt\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"Write your prompt here\"\n },\n \"duration\": {\n \"type\": \"integer\",\n \"default\": 5,\n \"maximum\": 15,\n \"minimum\": 4\n },\n \"resolution\": {\n \"enum\": [\n \"480p\",\n \"720p\",\n \"1080p\",\n \"4k\"\n ],\n \"type\": \"string\",\n \"default\": \"720p\"\n },\n \"aspect_ratio\": {\n \"enum\": [\n \"16:9\",\n \"4:3\",\n \"1:1\",\n \"3:4\",\n \"9:16\",\n \"21:9\"\n ],\n \"type\": \"string\",\n \"default\": \"16:9\"\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 \"prompt\": \"A cinematic scene at sunset\",\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\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.0/text-to-video\",\n {\n input: {\n \"prompt\": \"A cinematic scene at sunset\",\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\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.0/text-to-video',\n arguments={'prompt': 'A cinematic scene at sunset',\n 'duration': 5,\n 'resolution': '720p',\n 'aspect_ratio': '16:9',\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.0/text-to-video' \\\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 \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\n \"generate_audio\": true\n}\nJSON\n```\n\n## Additional Documentation\n\n# About\n\n**Seedance 2.0** uses the model ID `bytedance/seedance-2.0/text-to-video`. Seedance 2.0 generates videos from text prompts, allowing customization of duration, resolution, aspect ratio, and optional audio. This model supports video creation up to 15 seconds with multiple aspect ratios and resolutions including 4K.\n\n## 1. Calling the API\n\nSend requests to `https://api.higgsfield.ai/bytedance/seedance-2.0/text-to-video` 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| `duration` | `integer` | No | `5` | Minimum: 4. Maximum: 15. |\n| `resolution` | `string` | No | `\"720p\"` | Options: 480p, 720p, 1080p, 4k. |\n| `aspect_ratio` | `string` | No | `\"16:9\"` | Options: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9. |\n| `generate_audio` | `boolean` | No | `true` | |\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.0/text-to-video\",\n {\n input: {\n \"prompt\": \"A cinematic scene at sunset\",\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\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.0/text-to-video',\n arguments={'prompt': 'A cinematic scene at sunset',\n 'duration': 5,\n 'resolution': '720p',\n 'aspect_ratio': '16:9',\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.0/text-to-video' \\\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 \"duration\": 5,\n \"resolution\": \"720p\",\n \"aspect_ratio\": \"16:9\",\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## Additional Resources\n\n- [Model page](https://console.higgsfield.ai/models/bytedance/seedance-2.0/text-to-video)\n- [This LLM-readable document](https://dash.higgsfield.ai/models/bytedance/seedance-2.0/text-to-video/llms.txt)\n\n## Documentation Index\n\n- [Complete Higgsfield documentation](https://docs.higgsfield.ai/docs/llms.txt)\n"}}]},availability_state:"available"},socialImage:$R[347]={url:"https://static.higgsfield.ai/og/v2/model/bytedance/seedance-2.0/text-to-video-xav5kf.jpg",width:1200,height:630,type:"image/jpeg",alt:"Seedance 2.0 by ByteDance on Higgsfield API"}},dataUpdateCount:1,dataUpdatedAt:1796138672458,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:"success",fetchStatus:"idle"},queryKey:$R[348]=["slug-model-page","bytedance/seedance-2.0/text-to-video","anonymous"],queryHash:"[\"slug-model-page\",\"bytedance/seedance-2.0/text-to-video\",\"anonymous\"]"}],stream:$R[349]=($R[350]=(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[351]=($R[352]=() => { 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[351].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:'a6331966f9ead6e4',t:'MTc5NjEzODY3MQ=='};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=a6331966f9ead6e4',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. |
| duration | integer | No | 5 | Requested generated video duration in seconds. |
| resolution | select | No | "720p" | Output resolution tier. Choose 480p for economical tests. |
| aspect_ratio | select | No | "16:9" | Output framing. Image-to-video and video-edit/extend use their source framing instead of accepting this field. |
| generate_audio | boolean | No | true | Generate sound alongside the video. Set false for silent output. |