Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.
API Reference for synclabs/sync-3, served by Comfy Router from Synclabs.Input: Video, Image, Audio, Text · Output: Video
Quick start
Create a key in your Comfy workspace and export it as COMFY_API_KEY. The Python and TypeScript snippets use the Comfy SDKs (pip install comfy-sdk and npm install @comfyorg/sdk); the cURL snippet is the same call over raw HTTP.Model ID:synclabs/sync-3Endpoint:POST https://api.comfy.org/v2/models/synclabs/sync-3
Wait for the result
Queue and collect later
from comfy_sdk import Comfy# Reads COMFY_API_KEY from the environment.# The SDK automatically creates an idempotency key and reuses it for automatic retries.with Comfy() as client: result = client.models.run( "synclabs/sync-3", { "input": [ { "type": "video", "url": "https://example.invalid/synclabs/sync-3/speaker.mp4", }, { "type": "audio", "url": "https://example.invalid/synclabs/sync-3/voiceover.wav", }, ], "options": { "sync_mode": "bounce", }, }, )print(result)
import { comfy } from "@comfyorg/sdk";// Reads COMFY_API_KEY from the environment.// The SDK automatically creates an idempotency key and reuses it for automatic retries.const { data } = await comfy.models.run("synclabs/sync-3", { input: [ { type: "video", url: "https://example.invalid/synclabs/sync-3/speaker.mp4", }, { type: "audio", url: "https://example.invalid/synclabs/sync-3/voiceover.wav", }, ], options: { sync_mode: "bounce", },});console.log(data);
The same body, sent to POST https://api.comfy.org/v2/models/synclabs/sync-3/requests. Router answers 201 with a request_id as soon as the run is admitted, and the result is collected once it is ready, from this process or another one. Queued delivery walks through status, cancellation and collection.
import asynciofrom comfy_sdk import AsyncComfy# Reads COMFY_API_KEY from the environment.# Each submit() call mints its own Idempotency-Key and reuses it for automatic retries.async def main(): async with AsyncComfy() as client: handle = await client.models.submit( "synclabs/sync-3", { "input": [ { "type": "video", "url": "https://example.invalid/synclabs/sync-3/speaker.mp4", }, { "type": "audio", "url": "https://example.invalid/synclabs/sync-3/voiceover.wav", }, ], "options": { "sync_mode": "bounce", }, }, ) print("request_id:", handle.request_id) # with the model ID, all another process needs # Poll until the request completes, waiting the Retry-After the server names. async for update in handle.iter_events(): print(update.status, update.queue_position) # The provider's own payload, the same value models.run() returns. # A request that failed or was cancelled raises the typed Router error here. result = await handle.get() print(result)asyncio.run(main())
import { comfy } from "@comfyorg/sdk";// Reads COMFY_API_KEY from the environment.// Each submit() call mints its own Idempotency-Key and reuses it for automatic retries.const handle = await comfy.models.submit("synclabs/sync-3", { input: [ { type: "video", url: "https://example.invalid/synclabs/sync-3/speaker.mp4", }, { type: "audio", url: "https://example.invalid/synclabs/sync-3/voiceover.wav", }, ], options: { sync_mode: "bounce", },});console.log("requestId:", handle.requestId); // with the model ID, all another process needs// Poll until the request completes, waiting the Retry-After the server names.for await (const update of handle.events()) { console.log(update.status, update.queuePosition);}// The same result models.run() returns. A request that failed or was cancelled rejects here.const result = await handle.get();console.log(result.data);
# 1. Submit. Router answers 201 with request_id, status_url, response_url and cancel_url.curl https://api.comfy.org/v2/models/synclabs/sync-3/requests \ -H "X-API-Key: $COMFY_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d "{\"input\": [{\"type\":\"video\",\"url\":\"https://example.invalid/synclabs/sync-3/speaker.mp4\"},{\"type\":\"audio\",\"url\":\"https://example.invalid/synclabs/sync-3/voiceover.wav\"}], \"options\": {\"sync_mode\":\"bounce\"}}"# 2. Poll until status is COMPLETED, waiting the Retry-After seconds each response names.REQUEST_ID="<request_id from the 201 body>"curl -i https://api.comfy.org/v2/models/synclabs/sync-3/requests/$REQUEST_ID/status \ -H "X-API-Key: $COMFY_API_KEY"# 3. Collect. 200 with the model's native output, 202 with the status body while it is still running.curl https://api.comfy.org/v2/models/synclabs/sync-3/requests/$REQUEST_ID \ -H "X-API-Key: $COMFY_API_KEY"
Schema
Input
object
Dubbing parameters attached to a Sync Labs generate request
integer
Number of speakers in the source video; 0 enables auto-detection
string
required
Provider to use for dubbing (e.g. elevenlabs)
string
Source language code; defaults to auto
string
required
Target language code for dubbing
object[]
required
Input items; exactly one visual input (video or image) and one audio or text input
string
ID of an asset from the Sync Labs media library
object
Text-to-speech provider configuration for a Sync Labs text input
string
required
TTS provider name (e.g. elevenlabs)
string
required
Script to be used for generation
number
How closely the AI should adhere to the original voiceFormat: double
Sync voice id (cloned voice from the Studio) or ElevenLabs voice ID
string
Reference identifier used to link this input to segment definitions
integer[][]
Deprecated - use the top-level segments array instead
number[][]
Deprecated - use the top-level segments array instead
string
required
Input type (video, image, audio, or text)
string
URL of the media to be used for generation
string
Name of the model to use for generation; only sync-3 is supported. On the Comfy Router route POST /v2/models/synclabs/{model} this field is supplied from the path and may be omitted.
object
Additional options available for a Sync Labs generation
object
Active speaker detection configuration
boolean
Whether to automatically detect and apply generation to the active speaker
integer[][]
Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face
string
URL to a JSON file containing bounding boxes
integer[]
Pixel coordinates [x, y] in the source video frame identified by frame_number
integer
Frame index that corresponds to the provided coordinates for manual speaker selection
boolean
Whether to use ASD v3
string
Edit region for the model (lips, face, head); only works with react-1
boolean
Whether to detect occlusion during generation
string
Emotion prompt; only works with react-1
string
How to handle duration mismatches between video and audio (bounce, loop, cut_off, silence, remap)
number
How expressive lipsync can be, 0 to 1Format: double
string
Base filename for the generated output without extension
string
Optionally attach this generation to a Sync Labs project
object[]
Segment definitions applying different audio inputs to different video segments
object
required
Audio input configuration for a specific segment
number
Optional end time in seconds to crop the referenced audioFormat: double
string
required
Reference ID of the audio/text-to-speech input to use for this segment
number
Optional start time in seconds to crop the referenced audioFormat: double
number
required
Segment end time in secondsFormat: double
object
Override generation options for a specific segment
object
Active speaker detection configuration
boolean
Whether to automatically detect and apply generation to the active speaker
integer[][]
Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face
string
URL to a JSON file containing bounding boxes
integer[]
Pixel coordinates [x, y] in the source video frame identified by frame_number
integer
Frame index that corresponds to the provided coordinates for manual speaker selection
boolean
Whether to use ASD v3
boolean
Override occlusion detection for this segment
string
Override the sync mode for this segment
number
Override temperature (0-1) for this segmentFormat: double
number
required
Segment start time in secondsFormat: double
string
Webhook URL for generation status updates
Generated from the schema Router serves at GET /v2/models/synclabs/sync-3/openapi.json, the same document it validates a call against before the request reaches the provider.
Output
string
The date and time the generation was created
string
The error message if the generation failed
string
Stable, machine-readable error code if the generation failed
string
Unique identifier for the generation
object[]
The input items used for generation
string
ID of an asset from the Sync Labs media library
object
Text-to-speech provider configuration for a Sync Labs text input
string
required
TTS provider name (e.g. elevenlabs)
string
required
Script to be used for generation
number
How closely the AI should adhere to the original voiceFormat: double
Sync voice id (cloned voice from the Studio) or ElevenLabs voice ID
string
Reference identifier used to link this input to segment definitions
integer[][]
Deprecated - use the top-level segments array instead
number[][]
Deprecated - use the top-level segments array instead
string
required
Input type (video, image, audio, or text)
string
URL of the media to be used for generation
string
The name of the model used for generation
object
Additional options available for a Sync Labs generation
object
Active speaker detection configuration
boolean
Whether to automatically detect and apply generation to the active speaker
integer[][]
Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face
string
URL to a JSON file containing bounding boxes
integer[]
Pixel coordinates [x, y] in the source video frame identified by frame_number
integer
Frame index that corresponds to the provided coordinates for manual speaker selection
boolean
Whether to use ASD v3
string
Edit region for the model (lips, face, head); only works with react-1
boolean
Whether to detect occlusion during generation
string
Emotion prompt; only works with react-1
string
How to handle duration mismatches between video and audio (bounce, loop, cut_off, silence, remap)
number
How expressive lipsync can be, 0 to 1Format: double
number
The duration of the output media in secondsFormat: double
string
The sanitized filename applied to the output media
string
The URL of the output media
string
The id of the project this generation is attached to
string
The URL of the segment output media
object[]
The segments of the generation
object
required
Audio input configuration for a specific segment
number
Optional end time in seconds to crop the referenced audioFormat: double
string
required
Reference ID of the audio/text-to-speech input to use for this segment
number
Optional start time in seconds to crop the referenced audioFormat: double
number
required
Segment end time in secondsFormat: double
object
Override generation options for a specific segment
object
Active speaker detection configuration
boolean
Whether to automatically detect and apply generation to the active speaker
integer[][]
Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face
string
URL to a JSON file containing bounding boxes
integer[]
Pixel coordinates [x, y] in the source video frame identified by frame_number
integer
Frame index that corresponds to the provided coordinates for manual speaker selection
boolean
Whether to use ASD v3
boolean
Override occlusion detection for this segment
string
Override the sync mode for this segment
number
Override temperature (0-1) for this segmentFormat: double
number
required
Segment start time in secondsFormat: double
string
The status of the generation (PENDING, PROCESSING, COMPLETED, NO_OP, FAILED, REJECTED). NO_OP is terminal; nothing was lip-synced, outputUrl is the input video unchanged (plus any generated speech), Sync does not charge for lip sync, and Comfy does not bill the caller.
string
The URL of the audio synthesized from a text (TTS) input
The SDKs create an Idempotency-Key and reuse it for automatic retries. For manual retries, reuse the original key. Router can hold the connection for up to 10 minutes.When a request fails, Router sends an X-Comfy-Error-Type response header explaining why. A 422 means Router rejected the input before calling the provider, and a 413 means the request body was larger than Router accepts. Download generated assets promptly because result URLs can expire.Any size limit named in a field description above is the provider’s own bound on that field, quoted from the provider’s specification. Router applies a separate cap to the whole request body, which base64-encoded media counts against: see request body size.This page documents one partner model called through Comfy Router. The same comfy-sdk / @comfyorg/sdk package also ships a second client, for running a whole ComfyUI workflow graph on Comfy Cloud: Comfy(api_key=...) / new Comfy({ apiKey }), with client.workflows, client.assets and client.jobs. See Comfy SDKs.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ComfyUI","colors":{"primary":"#49378B","light":"#F2FF59","dark":"#F2FF59"},"logo":{"light":"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965","dark":"https://mintcdn.com/dripart/QzWbjSCBG7w61rR3/logo/dark.svg?fit=max\u0026auto=format\u0026n=QzWbjSCBG7w61rR3\u0026q=85\u0026s=62b4d879fb3aadbd7a468d1539032d6f","href":"/"},"favicon":"https://mintcdn.com/dripart/maKDA164-rrTfyxY/favicon.ico?fit=max\u0026auto=format\u0026n=maKDA164-rrTfyxY\u0026q=85\u0026s=94f3a697cf4c9a1ee3961b69219d0942","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://blog.comfy.org/?utm_source=docs","label":"Blog"},{"href":"/tutorials/partner-nodes/pricing","label":"Pricing"},{"href":"https://platform.comfy.org/?utm_source=docs","label":"Platform"},{"href":"https://comfy.org/download?utm_source=docs","label":"Download"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"Resources","items":[{"label":"installation","href":"/installation/system_requirements"},{"label":"Tutorials","href":"/tutorials/basic/text-to-image"},{"label":"Development","href":"/development/overview"}]},{"header":"Products","items":[{"label":"Features","href":"https://www.comfy.org/?utm_source=docs"},{"label":"Gallery","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"Download","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"Company","items":[{"label":"About","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"Careers","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"Terms of Service","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"Privacy Policy","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"search":{"prompt":"Search Comfy documentation..."},"seo":{"metatags":{"googlebot":"max-video-preview:0"}},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-MXC01ZDDHQ"},"posthog":{"apiKey":"phc_iKfK86id4xVYws9LybMje0h44eGtfwFgRPIBehmy8rO"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":""},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"href":"zh"},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ja"},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ko"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dripart","hasAudioNarration":false,"actualSubdomain":"dripart","customDomains":["docs.comfy.org"],"gitSource":{"type":"github","owner":"comfy-org","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b02c0de4ca26305da297e55","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"Built-in Nodes","count":1191},{"language":"ja","tag":"組み込みノード","count":1191},{"language":"zh","tag":"内置节点","count":1191},{"language":"en","tag":"Nodes","count":1190},{"language":"ja","tag":"ノード","count":1190},{"language":"zh","tag":"节点","count":1190},{"language":"ko","tag":"내장 노드 (Built-in Nodes)","count":1149},{"language":"ko","tag":"노드","count":1148},{"language":"es","tag":"Nodos integrados","count":1083},{"language":"es","tag":"Nodos","count":1082},{"language":"en","tag":"Tutorials","count":434},{"language":"es","tag":"Tutoriales","count":432},{"language":"en","tag":"Model","count":384},{"language":"ja","tag":"Model","count":384},{"language":"ko","tag":"Model","count":384},{"language":"zh","tag":"Model","count":384},{"language":"es","tag":"Modelo","count":378},{"language":"en","tag":"Image","count":364},{"language":"en","tag":"Partner","count":363},{"language":"ja","tag":"Partner","count":363},{"language":"ko","tag":"Partner","count":363},{"language":"zh","tag":"Partner","count":363},{"language":"es","tag":"Partner","count":361},{"language":"ja","tag":"はじめに","count":353},{"language":"ko","tag":"시작하기","count":353},{"language":"zh","tag":"开始使用","count":353},{"language":"ja","tag":"API 開発","count":339},{"language":"ko","tag":"API 개발","count":339},{"language":"zh","tag":"API 开发","count":339},{"language":"es","tag":"Imagen","count":331},{"language":"en","tag":"Agent tools","count":327},{"language":"en","tag":"Catalog","count":319},{"language":"en","tag":"Comfy Router","count":312},{"language":"es","tag":"Comfy Router","count":310},{"language":"en","tag":"Video","count":301},{"language":"ja","tag":"Comfy Router","count":301},{"language":"ko","tag":"Comfy Router","count":301},{"language":"zh","tag":"Comfy Router","count":301},{"language":"es","tag":"Video","count":276},{"language":"es","tag":"Models","count":271},{"language":"ja","tag":"Models","count":271},{"language":"ko","tag":"Models","count":271},{"language":"zh","tag":"Models","count":271},{"language":"es","tag":"All Models","count":268},{"language":"ja","tag":"画像","count":219},{"language":"ko","tag":"이미지","count":219},{"language":"zh","tag":"图像","count":219},{"language":"ja","tag":"Video","count":200},{"language":"zh","tag":"Video","count":200},{"language":"ko","tag":"Video","count":183}],"searchSettings":{"maxResults":10}},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":":root{--ink-900: #151417;--hub-shell-light: #f7f6f9;--accent-purple: #49378b;--accent-yellow: #f2ff59;--primary: 73 55 139 !important;--primary-light: 242 255 89 !important;--primary-dark: 242 255 89 !important}html.dark{--primary: 242 255 89 !important;--background-dark: 14 14 13 !important}html.dark body{background-color:#0e0e0d!important}html.dark #navbar,html.dark #navbar-transition{background-color:var(--ink-900)!important}html.dark #sidebar,html.dark #sidebar-content{background-color:rgb(var(--background-dark))!important}html.dark #navbar,html.dark #navbar-transition{box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.dark #navbar-transition{border-bottom:1px solid rgba(255, 255, 255, 0.08)!important;opacity:1!important}html.dark img.nav-logo{filter:none}html.dark #sidebar-content a:not([aria-current=\"page\"]){color:rgba(255, 255, 255, 0.72)!important}html.dark #sidebar-content a:not([aria-current=\"page\"]) *{color:inherit!important}html.dark #sidebar-content a[aria-current=\"page\"]{color:var(--accent-yellow)!important;background-color:rgba(242, 255, 89, 0.10)!important}html.dark #sidebar-content a[aria-current=\"page\"] *{color:inherit!important}html.dark .nav-tabs-item[data-active],html.dark mobile-nav-tabs-item[data-active]{color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.text-white{color:#151417!important}html:not(.dark) #background-color,html:not(.dark) #navbar,html:not(.dark) #navbar-transition,html:not(.dark) #sidebar,html:not(.dark) #sidebar-content{background-color:var(--hub-shell-light)!important}html:not(.dark) .nav-tabs-item[data-active],html:not(.dark) mobile-nav-tabs-item[data-active],html:not(.dark) nav-dropdown-item[data-active]{background-color:transparent!important;box-shadow:none!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) .nav-tabs-item[data-active] *,html:not(.dark) mobile-nav-tabs-item[data-active] *,html:not(.dark) nav-dropdown-item[data-active] *{color:inherit!important}html:not(.dark) #sidebar-content li:has(>a[aria-current=\"page\"]){background-color:transparent!important;box-shadow:none!important}html:not(.dark) #sidebar-content a[aria-current=\"page\"]{color:var(--accent-purple)!important;background-color:rgba(73, 55, 139, 0.1)!important;font-weight:600!important}html:not(.dark) #sidebar-content a[aria-current=\"page\"] *{color:inherit!important}html:not(.dark) toc-item[data-active],html:not(.dark) toc-item[data-active-deepest],html:not(.dark) toc-item[data-active] a,html:not(.dark) toc-item[data-active-deepest] a{background-color:transparent!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) #header :where(h1,h2,h3,h4,h5,h6),html:not(.dark) #content-area :where(h1,h2,h3,h4,h5,h6){color:#151417!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"]{background-color:transparent!important;color:var(--accent-purple)!important;border-radius:0.75rem;box-shadow:inset 0 0 0 1px var(--accent-purple)!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:transparent!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] *{color:inherit!important}#sidebar .sticky.top-0.pointer-events-none.bg-linear-to-b{background-image:none!important}@media (min-width: 1024px){#navbar.is-not-custom.is-not-center+div:has(>#sidebar),.max-w-8xl.mx-auto.relative,.max-w-8xl.mx-auto{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}#navbar [class*=\"px-12\"],#navbar [class*=\"mx-4\"]{padding-left:0!important;padding-right:1.5rem!important;margin-left:0!important;margin-right:0!important}#navbar a.select-none,#navbar .nav-logo{margin-left:1rem!important}#navbar .nav-tabs{padding-left:2rem!important}#sidebar{left:0!important;margin-left:0!important;box-shadow:none!important}#sidebar-content{margin-left:0!important;padding-left:1rem!important;box-sizing:border-box!important}#navbar,#navbar-transition{left:0!important;right:0!important;width:100%!important;max-width:none!important}#content-area{margin-left:0!important;max-width:none!important;width:100%!important;padding-left:18rem!important}#sidebar.sticky~#content-container #content-area{padding-left:2rem!important;padding-right:2rem!important}#content-container,#body-content{max-width:none!important;width:100%!important}:root{--content-width: 100%;--sidebar-width: 18rem}}@media (min-width: 1024px){nav#sidebar,#sidebar[style]{left:0!important;right:auto!important;margin-left:0!important;transform:none!important}#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"]){margin-right:0!important}#navbar a[href*=\"comfy.org/download\"]{box-sizing:border-box;border:1px solid rgb(255 255 255 / 0.22);border-radius:0.75rem;padding:7px 0.875rem!important;color:#fff!important;font-size:0.875rem;line-height:1.25rem}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]{border-color:rgb(0 0 0 / 0.16);color:#151417!important}#navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(255 255 255 / 0.06)}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(0 0 0 / 0.04)}#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"])+.whitespace-nowrap,#navbar .flex.space-x-6>.whitespace-nowrap.hidden{margin-left:0.5rem!important}}body:has(.router-api-reference-marker) #content,body:has(.router-api-reference-marker) #header{max-width:48rem}body:has(.router-api-reference-marker) #content-area table{width:100%;table-layout:auto}body:has(.router-api-reference-marker) #content-area th,body:has(.router-api-reference-marker) #content-area td{min-width:4rem!important;overflow-wrap:anywhere}body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) th:nth-child(3),body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) td:nth-child(3){min-width:5rem!important}@media (max-width: 1535px){body:has(.router-api-reference-marker) #content-side-layout{display:none!important}}body:has(.router-provider-coverage-marker) #content,body:has(.router-provider-coverage-marker) #header{max-width:64rem}body:has(.router-provider-coverage-marker) #content-area table{width:100%;table-layout:auto}body:has(.router-provider-coverage-marker) #content-area th,body:has(.router-provider-coverage-marker) #content-area td{min-width:5rem!important;overflow-wrap:anywhere}body:has(.router-provider-coverage-marker) #content-area th:first-child,body:has(.router-provider-coverage-marker) #content-area td:first-child{min-width:12rem!important}body:has(.router-quickstart-marker) [data-component-part=\"card-content\"] [data-component-part=\"code-block-root\"][style*=\"height:190px\"],body:has(.router-quickstart-marker) [data-component-part=\"card-content\"] [data-component-part=\"code-block-root\"][style*=\"height: 190px\"]{height:86px!important}#content img:not([data-component-part=\"card-image\"]){max-width:min(100%, 750px)}#content .frame:has(img){max-width:calc(750px + 1rem)}"},{"filePath":"samples-cards.css","content":".sample-card-grid{display:grid;gap:20px;grid-template-columns:repeat(2, minmax(0, 1fr));margin-top:28px}.sample-card{min-width:0;perspective:1200px}.sample-card-inner{height:565px;position:relative;transform-style:preserve-3d;transition:transform 560ms cubic-bezier(.2, .75, .3, 1)}.sample-card[data-flipped=\"true\"] .sample-card-inner{transform:rotateY(180deg)}.sample-card-face{backface-visibility:hidden;background:#fff;border:1px solid #e5e1eb;border-radius:12px;box-sizing:border-box;height:100%;inset:0;overflow:hidden;position:absolute;width:100%}.sample-card-front{display:flex;flex-direction:column}.sample-card-back{opacity:0;pointer-events:none;transform:rotateY(180deg);visibility:hidden}.sample-card[data-flipped=\"true\"] .sample-card-front{pointer-events:none;transition:visibility 0s linear 280ms;visibility:hidden}.sample-card[data-flipped=\"true\"][data-active-path=\"api\"] .sample-card-back[data-sample-path=\"api\"],.sample-card[data-flipped=\"true\"][data-active-path=\"endpoint\"] .sample-card-back[data-sample-path=\"endpoint\"]{opacity:1;pointer-events:auto;visibility:visible}.sample-card-preview{border-bottom:1px solid #e5e1eb;cursor:pointer;display:block;width:100%}.sample-card-body{display:flex;flex:1;flex-direction:column;padding:20px}.sample-card-body h2,.sample-path-body h2{color:#49378b;font-size:18px;font-weight:700;letter-spacing:-.02em;margin:0 0 8px}.sample-path-body h2{text-align:center}.sample-card-body>p{color:#5f5966;font-size:14px;line-height:1.55;margin:0;min-height:66px}.sample-card-actions{display:flex;gap:8px;margin-top:20px}.sample-card-actions button{background:#fff;border:1px solid #cfc8de;border-radius:6px;color:#49378b;cursor:pointer;flex:1;font-size:13px;font-weight:700;padding:10px 12px}.sample-card-links{border-top:1px solid #eeeaf1;display:flex;gap:8px;margin-top:16px;padding-top:12px}.sample-card-links a{color:#625b6c;font-size:12px;font-weight:650;text-decoration:none}.sample-card-links span{color:#b3adba}.sample-path-body{padding:20px}.sample-path-body>button{background:transparent;border:0;color:#625b6c;cursor:pointer;font-size:12px;font-weight:700;padding:0}.sample-path-eyebrow{color:#857a9e;font-size:10px;font-weight:700;letter-spacing:.08em;margin:19px 0 5px;text-align:center;text-transform:uppercase}.sample-path-body>p:not(.sample-path-eyebrow){color:#5f5966;font-size:12px;line-height:1.5;margin:0 0 15px}.sample-path-steps{display:grid;gap:8px}.sample-path-step{align-items:center;background:#faf9fc;border:1px solid #e5e1ea;border-radius:8px;display:flex;gap:10px;padding:10px 11px}.sample-path-number{align-items:center;background:#49378b;border-radius:999px;color:#fff;display:inline-flex;flex:0 0 21px;font-size:11px;font-weight:700;height:21px;justify-content:center}.sample-path-copy{flex:1;min-width:0}.sample-path-copy strong{color:#312c36;display:block;font-size:12px}.sample-path-copy span{color:#706a75;display:block;font-size:11px;line-height:1.35;margin-top:2px}.sample-path-step a{color:#49378b;flex:0 0 auto;font-size:11px;font-weight:700;text-decoration:none}@media (max-width: 768px){.sample-card-grid{grid-template-columns:1fr}.sample-card-inner{height:clamp(620px, 180vw, 760px)}}"}]}
{"page":{"pagePath":"development/comfy-router/models/synclabs/sync-3/code","slug":"/development/comfy-router/models/synclabs/sync-3/code","pageMetadata":{"title":"Use Sync 3 with Comfy Router","description":"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.","sidebarTitle":"Sync 3","href":"/development/comfy-router/models/synclabs/sync-3/code"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,CodeGroup,Heading,ParamField,ResponseField,Tab,Tabs}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`API Reference for `,_jsx(_components.code,{children:`synclabs/sync-3`}),`, served by Comfy Router from Synclabs.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Input:`}),` Video, Image, Audio, Text · `,_jsx(_components.strong,{children:`Output:`}),` Video`]}),`\n`,_jsx(Heading,{level:`2`,id:`quick-start`,children:`Quick start`}),`\n`,_jsxs(_components.p,{children:[`Create a key in `,_jsx(_components.a,{href:`https://platform.comfy.org/profile/api-keys?onboarding=router`,children:`your Comfy workspace`}),` and export it as `,_jsx(_components.code,{children:`COMFY_API_KEY`}),`. The Python and TypeScript snippets use the Comfy SDKs (`,_jsx(_components.code,{children:`pip install comfy-sdk`}),` and `,_jsx(_components.code,{children:`npm install @comfyorg/sdk`}),`); the cURL snippet is the same call over raw HTTP.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Model ID:`}),` `,_jsx(_components.code,{children:`synclabs/sync-3`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Endpoint:`}),` `,_jsx(_components.code,{children:`POST https://api.comfy.org/v2/models/synclabs/sync-3`})]}),`\n`,_jsxs(Tabs,{defaultTabIndex:1,children:[_jsx(Tab,{title:`Wait for the result`,id:`wait-for-the-result`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`25`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`25`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` comfy_sdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Comfy`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Reads COMFY_API_KEY from the environment.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# The SDK automatically creates an idempotency key and reuses it for automatic retries.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`with`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Comfy() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.models.run(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"synclabs/sync-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.invalid/synclabs/sync-3/speaker.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.invalid/synclabs/sync-3/voiceover.wav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sync_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bounce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`21`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`comfy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@comfyorg/sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Reads COMFY_API_KEY from the environment.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// The SDK automatically creates an idempotency key and reuses it for automatic retries.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` comfy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`models`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`run`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"synclabs/sync-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` input:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.invalid/synclabs/sync-3/speaker.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.invalid/synclabs/sync-3/voiceover.wav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` options:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sync_mode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bounce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.comfy.org/v2/models/synclabs/sync-3`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMFY_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: $(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uuidgen`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`input`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: [{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`video`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`https://example.invalid/synclabs/sync-3/speaker.mp4`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`},{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`audio`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`https://example.invalid/synclabs/sync-3/voiceover.wav`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}], `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`options`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: {`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`sync_mode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`bounce`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}}\"`})]}),`\n`]})})})]})}),_jsxs(Tab,{title:`Queue and collect later`,id:`queue-and-collect-later`,children:[_jsxs(_components.p,{children:[`The same body, sent to `,_jsx(_components.code,{children:`POST https://api.comfy.org/v2/models/synclabs/sync-3/requests`}),`. Router answers `,_jsx(_components.code,{children:`201`}),` with a `,_jsx(_components.code,{children:`request_id`}),` as soon as the run is admitted, and the result is collected once it is ready, from this process or another one. `,_jsx(_components.a,{href:`/development/comfy-router/queue`,children:`Queued delivery`}),` walks through status, cancellation and collection.`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`38`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`38`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` asyncio`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` comfy_sdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AsyncComfy`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Reads COMFY_API_KEY from the environment.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Each submit() call mints its own Idempotency-Key and reuses it for automatic retries.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` main`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` with`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AsyncComfy() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` handle `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.models.submit(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"synclabs/sync-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.invalid/synclabs/sync-3/speaker.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.invalid/synclabs/sync-3/voiceover.wav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sync_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bounce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request_id:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, handle.request_id) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# with the model ID, all another process needs`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Poll until the request completes, waiting the Retry-After the server names.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` update `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` handle.iter_events():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(update.status, update.queue_position)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # The provider's own payload, the same value models.run() returns.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # A request that failed or was cancelled raises the typed Router error here.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` handle.get()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`asyncio.run(main())`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`30`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`comfy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@comfyorg/sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Reads COMFY_API_KEY from the environment.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Each submit() call mints its own Idempotency-Key and reuses it for automatic retries.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` handle`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` comfy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`models`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`submit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"synclabs/sync-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` input:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.invalid/synclabs/sync-3/speaker.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.invalid/synclabs/sync-3/voiceover.wav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` options:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sync_mode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bounce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"requestId:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`handle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`requestId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// with the model ID, all another process needs`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Poll until the request completes, waiting the Retry-After the server names.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` update`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` handle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`events`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`queuePosition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// The same result models.run() returns. A request that failed or was cancelled rejects here.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` handle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 1. Submit. Router answers 201 with request_id, status_url, response_url and cancel_url.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.comfy.org/v2/models/synclabs/sync-3/requests`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMFY_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: $(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uuidgen`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`input`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: [{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`video`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`https://example.invalid/synclabs/sync-3/speaker.mp4`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`},{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`audio`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`https://example.invalid/synclabs/sync-3/voiceover.wav`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}], `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`options`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: {`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`sync_mode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`bounce`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}}\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 2. Poll until status is COMPLETED, waiting the Retry-After seconds each response names.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`REQUEST_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003crequest_id from the 201 body>\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.comfy.org/v2/models/synclabs/sync-3/requests/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$REQUEST_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMFY_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 3. Collect. 200 with the model's native output, 202 with the status body while it is still running.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.comfy.org/v2/models/synclabs/sync-3/requests/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$REQUEST_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$COMFY_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`schema`,children:`Schema`}),`\n`,_jsx(Heading,{level:`3`,id:`input`,children:`Input`}),`\n`,_jsx(ParamField,{body:`dubParams`,type:`object`,id:`param-dub-params`,children:_jsx(_components.p,{children:`Dubbing parameters attached to a Sync Labs generate request`})}),`\n`,_jsx(ParamField,{body:`dubParams.numSpeakers`,type:`integer`,id:`param-dub-params-num-speakers`,children:_jsx(_components.p,{children:`Number of speakers in the source video; 0 enables auto-detection`})}),`\n`,_jsx(ParamField,{body:`dubParams.providerName`,type:`string`,required:true,id:`param-dub-params-provider-name`,children:_jsx(_components.p,{children:`Provider to use for dubbing (e.g. elevenlabs)`})}),`\n`,_jsx(ParamField,{body:`dubParams.sourceLang`,type:`string`,id:`param-dub-params-source-lang`,children:_jsx(_components.p,{children:`Source language code; defaults to auto`})}),`\n`,_jsx(ParamField,{body:`dubParams.targetLang`,type:`string`,required:true,id:`param-dub-params-target-lang`,children:_jsx(_components.p,{children:`Target language code for dubbing`})}),`\n`,_jsx(ParamField,{body:`input`,type:`object[]`,required:true,id:`param-input`,children:_jsx(_components.p,{children:`Input items; exactly one visual input (video or image) and one audio or text input`})}),`\n`,_jsx(ParamField,{body:`input[].assetId`,type:`string`,id:`param-input-asset-id`,children:_jsx(_components.p,{children:`ID of an asset from the Sync Labs media library`})}),`\n`,_jsx(ParamField,{body:`input[].provider`,type:`object`,id:`param-input-provider`,children:_jsx(_components.p,{children:`Text-to-speech provider configuration for a Sync Labs text input`})}),`\n`,_jsx(ParamField,{body:`input[].provider.name`,type:`string`,required:true,id:`param-input-provider-name`,children:_jsx(_components.p,{children:`TTS provider name (e.g. elevenlabs)`})}),`\n`,_jsx(ParamField,{body:`input[].provider.script`,type:`string`,required:true,id:`param-input-provider-script`,children:_jsx(_components.p,{children:`Script to be used for generation`})}),`\n`,_jsxs(ParamField,{body:`input[].provider.similarityBoost`,type:`number`,id:`param-input-provider-similarity-boost`,children:[_jsx(_components.p,{children:`How closely the AI should adhere to the original voice`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsxs(ParamField,{body:`input[].provider.stability`,type:`number`,id:`param-input-provider-stability`,children:[_jsx(_components.p,{children:`Voice stability; lower values introduce broader emotional range`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ParamField,{body:`input[].provider.voiceId`,type:`string`,required:true,id:`param-input-provider-voice-id`,children:_jsx(_components.p,{children:`Sync voice id (cloned voice from the Studio) or ElevenLabs voice ID`})}),`\n`,_jsx(ParamField,{body:`input[].refId`,type:`string`,id:`param-input-ref-id`,children:_jsx(_components.p,{children:`Reference identifier used to link this input to segment definitions`})}),`\n`,_jsx(ParamField,{body:`input[].segments_frames`,type:`integer[][]`,id:`param-input-segments-frames`,children:_jsx(_components.p,{children:`Deprecated - use the top-level segments array instead`})}),`\n`,_jsx(ParamField,{body:`input[].segments_secs`,type:`number[][]`,id:`param-input-segments-secs`,children:_jsx(_components.p,{children:`Deprecated - use the top-level segments array instead`})}),`\n`,_jsx(ParamField,{body:`input[].type`,type:`string`,required:true,id:`param-input-type`,children:_jsx(_components.p,{children:`Input type (video, image, audio, or text)`})}),`\n`,_jsx(ParamField,{body:`input[].url`,type:`string`,id:`param-input-url`,children:_jsx(_components.p,{children:`URL of the media to be used for generation`})}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,id:`param-model`,children:_jsxs(_components.p,{children:[`Name of the model to use for generation; only sync-3 is supported. On the Comfy Router route `,_jsx(_components.code,{children:`POST /v2/models/synclabs/{model}`}),` this field is supplied from the path and may be omitted.`]})}),`\n`,_jsx(ParamField,{body:`options`,type:`object`,id:`param-options`,children:_jsx(_components.p,{children:`Additional options available for a Sync Labs generation`})}),`\n`,_jsx(ParamField,{body:`options.active_speaker_detection`,type:`object`,id:`param-options-active-speaker-detection`,children:_jsx(_components.p,{children:`Active speaker detection configuration`})}),`\n`,_jsx(ParamField,{body:`options.active_speaker_detection.auto_detect`,type:`boolean`,id:`param-options-active-speaker-detection-auto-detect`,children:_jsx(_components.p,{children:`Whether to automatically detect and apply generation to the active speaker`})}),`\n`,_jsx(ParamField,{body:`options.active_speaker_detection.bounding_boxes`,type:`integer[][]`,id:`param-options-active-speaker-detection-bounding-boxes`,children:_jsx(_components.p,{children:`Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face`})}),`\n`,_jsx(ParamField,{body:`options.active_speaker_detection.bounding_boxes_url`,type:`string`,id:`param-options-active-speaker-detection-bounding-boxes-url`,children:_jsx(_components.p,{children:`URL to a JSON file containing bounding boxes`})}),`\n`,_jsx(ParamField,{body:`options.active_speaker_detection.coordinates`,type:`integer[]`,id:`param-options-active-speaker-detection-coordinates`,children:_jsx(_components.p,{children:`Pixel coordinates [x, y] in the source video frame identified by frame_number`})}),`\n`,_jsx(ParamField,{body:`options.active_speaker_detection.frame_number`,type:`integer`,id:`param-options-active-speaker-detection-frame-number`,children:_jsx(_components.p,{children:`Frame index that corresponds to the provided coordinates for manual speaker selection`})}),`\n`,_jsx(ParamField,{body:`options.active_speaker_detection.v3`,type:`boolean`,id:`param-options-active-speaker-detection-v3`,children:_jsx(_components.p,{children:`Whether to use ASD v3`})}),`\n`,_jsx(ParamField,{body:`options.model_mode`,type:`string`,id:`param-options-model-mode`,children:_jsx(_components.p,{children:`Edit region for the model (lips, face, head); only works with react-1`})}),`\n`,_jsx(ParamField,{body:`options.occlusion_detection_enabled`,type:`boolean`,id:`param-options-occlusion-detection-enabled`,children:_jsx(_components.p,{children:`Whether to detect occlusion during generation`})}),`\n`,_jsx(ParamField,{body:`options.prompt`,type:`string`,id:`param-options-prompt`,children:_jsx(_components.p,{children:`Emotion prompt; only works with react-1`})}),`\n`,_jsx(ParamField,{body:`options.sync_mode`,type:`string`,id:`param-options-sync-mode`,children:_jsx(_components.p,{children:`How to handle duration mismatches between video and audio (bounce, loop, cut_off, silence, remap)`})}),`\n`,_jsxs(ParamField,{body:`options.temperature`,type:`number`,id:`param-options-temperature`,children:[_jsx(_components.p,{children:`How expressive lipsync can be, 0 to 1`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ParamField,{body:`outputFileName`,type:`string`,id:`param-output-file-name`,children:_jsx(_components.p,{children:`Base filename for the generated output without extension`})}),`\n`,_jsx(ParamField,{body:`projectId`,type:`string`,id:`param-project-id`,children:_jsx(_components.p,{children:`Optionally attach this generation to a Sync Labs project`})}),`\n`,_jsx(ParamField,{body:`segments`,type:`object[]`,id:`param-segments`,children:_jsx(_components.p,{children:`Segment definitions applying different audio inputs to different video segments`})}),`\n`,_jsx(ParamField,{body:`segments[].audioInput`,type:`object`,required:true,id:`param-segments-audio-input`,children:_jsx(_components.p,{children:`Audio input configuration for a specific segment`})}),`\n`,_jsxs(ParamField,{body:`segments[].audioInput.endTime`,type:`number`,id:`param-segments-audio-input-end-time`,children:[_jsx(_components.p,{children:`Optional end time in seconds to crop the referenced audio`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ParamField,{body:`segments[].audioInput.refId`,type:`string`,required:true,id:`param-segments-audio-input-ref-id`,children:_jsx(_components.p,{children:`Reference ID of the audio/text-to-speech input to use for this segment`})}),`\n`,_jsxs(ParamField,{body:`segments[].audioInput.startTime`,type:`number`,id:`param-segments-audio-input-start-time`,children:[_jsx(_components.p,{children:`Optional start time in seconds to crop the referenced audio`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsxs(ParamField,{body:`segments[].endTime`,type:`number`,required:true,id:`param-segments-end-time`,children:[_jsx(_components.p,{children:`Segment end time in seconds`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride`,type:`object`,id:`param-segments-options-override`,children:_jsx(_components.p,{children:`Override generation options for a specific segment`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.active_speaker_detection`,type:`object`,id:`param-segments-options-override-active-speaker-detection`,children:_jsx(_components.p,{children:`Active speaker detection configuration`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.active_speaker_detection.auto_detect`,type:`boolean`,id:`param-segments-options-override-active-speaker-detection-auto-detect`,children:_jsx(_components.p,{children:`Whether to automatically detect and apply generation to the active speaker`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.active_speaker_detection.bounding_boxes`,type:`integer[][]`,id:`param-segments-options-override-active-speaker-detection-bounding-boxes`,children:_jsx(_components.p,{children:`Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.active_speaker_detection.bounding_boxes_url`,type:`string`,id:`param-segments-options-override-active-speaker-detection-bounding-boxes-url`,children:_jsx(_components.p,{children:`URL to a JSON file containing bounding boxes`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.active_speaker_detection.coordinates`,type:`integer[]`,id:`param-segments-options-override-active-speaker-detection-coordinates`,children:_jsx(_components.p,{children:`Pixel coordinates [x, y] in the source video frame identified by frame_number`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.active_speaker_detection.frame_number`,type:`integer`,id:`param-segments-options-override-active-speaker-detection-frame-number`,children:_jsx(_components.p,{children:`Frame index that corresponds to the provided coordinates for manual speaker selection`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.active_speaker_detection.v3`,type:`boolean`,id:`param-segments-options-override-active-speaker-detection-v3`,children:_jsx(_components.p,{children:`Whether to use ASD v3`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.occlusion_detection_enabled`,type:`boolean`,id:`param-segments-options-override-occlusion-detection-enabled`,children:_jsx(_components.p,{children:`Override occlusion detection for this segment`})}),`\n`,_jsx(ParamField,{body:`segments[].optionsOverride.sync_mode`,type:`string`,id:`param-segments-options-override-sync-mode`,children:_jsx(_components.p,{children:`Override the sync mode for this segment`})}),`\n`,_jsxs(ParamField,{body:`segments[].optionsOverride.temperature`,type:`number`,id:`param-segments-options-override-temperature`,children:[_jsx(_components.p,{children:`Override temperature (0-1) for this segment`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsxs(ParamField,{body:`segments[].startTime`,type:`number`,required:true,id:`param-segments-start-time`,children:[_jsx(_components.p,{children:`Segment start time in seconds`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ParamField,{body:`webhookUrl`,type:`string`,id:`param-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for generation status updates`})}),`\n`,_jsxs(_components.p,{children:[`Generated from the schema Router serves at `,_jsx(_components.code,{children:`GET /v2/models/synclabs/sync-3/openapi.json`}),`, the same document it validates a call against before the request reaches the provider.`]}),`\n`,_jsx(Heading,{level:`3`,id:`output`,children:`Output`}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`The date and time the generation was created`})}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsx(_components.p,{children:`The error message if the generation failed`})}),`\n`,_jsx(ResponseField,{name:`errorCode`,type:`string`,id:`param-error-code`,children:_jsx(_components.p,{children:`Stable, machine-readable error code if the generation failed`})}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the generation`})}),`\n`,_jsx(ResponseField,{name:`input`,type:`object[]`,id:`param-input-1`,children:_jsx(_components.p,{children:`The input items used for generation`})}),`\n`,_jsx(ResponseField,{name:`input[].assetId`,type:`string`,id:`param-input-asset-id-1`,children:_jsx(_components.p,{children:`ID of an asset from the Sync Labs media library`})}),`\n`,_jsx(ResponseField,{name:`input[].provider`,type:`object`,id:`param-input-provider-1`,children:_jsx(_components.p,{children:`Text-to-speech provider configuration for a Sync Labs text input`})}),`\n`,_jsx(ResponseField,{name:`input[].provider.name`,type:`string`,required:true,id:`param-input-provider-name-1`,children:_jsx(_components.p,{children:`TTS provider name (e.g. elevenlabs)`})}),`\n`,_jsx(ResponseField,{name:`input[].provider.script`,type:`string`,required:true,id:`param-input-provider-script-1`,children:_jsx(_components.p,{children:`Script to be used for generation`})}),`\n`,_jsxs(ResponseField,{name:`input[].provider.similarityBoost`,type:`number`,id:`param-input-provider-similarity-boost-1`,children:[_jsx(_components.p,{children:`How closely the AI should adhere to the original voice`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsxs(ResponseField,{name:`input[].provider.stability`,type:`number`,id:`param-input-provider-stability-1`,children:[_jsx(_components.p,{children:`Voice stability; lower values introduce broader emotional range`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ResponseField,{name:`input[].provider.voiceId`,type:`string`,required:true,id:`param-input-provider-voice-id-1`,children:_jsx(_components.p,{children:`Sync voice id (cloned voice from the Studio) or ElevenLabs voice ID`})}),`\n`,_jsx(ResponseField,{name:`input[].refId`,type:`string`,id:`param-input-ref-id-1`,children:_jsx(_components.p,{children:`Reference identifier used to link this input to segment definitions`})}),`\n`,_jsx(ResponseField,{name:`input[].segments_frames`,type:`integer[][]`,id:`param-input-segments-frames-1`,children:_jsx(_components.p,{children:`Deprecated - use the top-level segments array instead`})}),`\n`,_jsx(ResponseField,{name:`input[].segments_secs`,type:`number[][]`,id:`param-input-segments-secs-1`,children:_jsx(_components.p,{children:`Deprecated - use the top-level segments array instead`})}),`\n`,_jsx(ResponseField,{name:`input[].type`,type:`string`,required:true,id:`param-input-type-1`,children:_jsx(_components.p,{children:`Input type (video, image, audio, or text)`})}),`\n`,_jsx(ResponseField,{name:`input[].url`,type:`string`,id:`param-input-url-1`,children:_jsx(_components.p,{children:`URL of the media to be used for generation`})}),`\n`,_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:_jsx(_components.p,{children:`The name of the model used for generation`})}),`\n`,_jsx(ResponseField,{name:`options`,type:`object`,id:`param-options-1`,children:_jsx(_components.p,{children:`Additional options available for a Sync Labs generation`})}),`\n`,_jsx(ResponseField,{name:`options.active_speaker_detection`,type:`object`,id:`param-options-active-speaker-detection-1`,children:_jsx(_components.p,{children:`Active speaker detection configuration`})}),`\n`,_jsx(ResponseField,{name:`options.active_speaker_detection.auto_detect`,type:`boolean`,id:`param-options-active-speaker-detection-auto-detect-1`,children:_jsx(_components.p,{children:`Whether to automatically detect and apply generation to the active speaker`})}),`\n`,_jsx(ResponseField,{name:`options.active_speaker_detection.bounding_boxes`,type:`integer[][]`,id:`param-options-active-speaker-detection-bounding-boxes-1`,children:_jsx(_components.p,{children:`Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face`})}),`\n`,_jsx(ResponseField,{name:`options.active_speaker_detection.bounding_boxes_url`,type:`string`,id:`param-options-active-speaker-detection-bounding-boxes-url-1`,children:_jsx(_components.p,{children:`URL to a JSON file containing bounding boxes`})}),`\n`,_jsx(ResponseField,{name:`options.active_speaker_detection.coordinates`,type:`integer[]`,id:`param-options-active-speaker-detection-coordinates-1`,children:_jsx(_components.p,{children:`Pixel coordinates [x, y] in the source video frame identified by frame_number`})}),`\n`,_jsx(ResponseField,{name:`options.active_speaker_detection.frame_number`,type:`integer`,id:`param-options-active-speaker-detection-frame-number-1`,children:_jsx(_components.p,{children:`Frame index that corresponds to the provided coordinates for manual speaker selection`})}),`\n`,_jsx(ResponseField,{name:`options.active_speaker_detection.v3`,type:`boolean`,id:`param-options-active-speaker-detection-v3-1`,children:_jsx(_components.p,{children:`Whether to use ASD v3`})}),`\n`,_jsx(ResponseField,{name:`options.model_mode`,type:`string`,id:`param-options-model-mode-1`,children:_jsx(_components.p,{children:`Edit region for the model (lips, face, head); only works with react-1`})}),`\n`,_jsx(ResponseField,{name:`options.occlusion_detection_enabled`,type:`boolean`,id:`param-options-occlusion-detection-enabled-1`,children:_jsx(_components.p,{children:`Whether to detect occlusion during generation`})}),`\n`,_jsx(ResponseField,{name:`options.prompt`,type:`string`,id:`param-options-prompt-1`,children:_jsx(_components.p,{children:`Emotion prompt; only works with react-1`})}),`\n`,_jsx(ResponseField,{name:`options.sync_mode`,type:`string`,id:`param-options-sync-mode-1`,children:_jsx(_components.p,{children:`How to handle duration mismatches between video and audio (bounce, loop, cut_off, silence, remap)`})}),`\n`,_jsxs(ResponseField,{name:`options.temperature`,type:`number`,id:`param-options-temperature-1`,children:[_jsx(_components.p,{children:`How expressive lipsync can be, 0 to 1`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsxs(ResponseField,{name:`outputDuration`,type:`number`,id:`param-output-duration`,children:[_jsx(_components.p,{children:`The duration of the output media in seconds`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ResponseField,{name:`outputFileName`,type:`string`,id:`param-output-file-name-1`,children:_jsx(_components.p,{children:`The sanitized filename applied to the output media`})}),`\n`,_jsx(ResponseField,{name:`outputUrl`,type:`string`,id:`param-output-url`,children:_jsx(_components.p,{children:`The URL of the output media`})}),`\n`,_jsx(ResponseField,{name:`projectId`,type:`string`,id:`param-project-id-1`,children:_jsx(_components.p,{children:`The id of the project this generation is attached to`})}),`\n`,_jsx(ResponseField,{name:`segmentOutputUrl`,type:`string`,id:`param-segment-output-url`,children:_jsx(_components.p,{children:`The URL of the segment output media`})}),`\n`,_jsx(ResponseField,{name:`segments`,type:`object[]`,id:`param-segments-1`,children:_jsx(_components.p,{children:`The segments of the generation`})}),`\n`,_jsx(ResponseField,{name:`segments[].audioInput`,type:`object`,required:true,id:`param-segments-audio-input-1`,children:_jsx(_components.p,{children:`Audio input configuration for a specific segment`})}),`\n`,_jsxs(ResponseField,{name:`segments[].audioInput.endTime`,type:`number`,id:`param-segments-audio-input-end-time-1`,children:[_jsx(_components.p,{children:`Optional end time in seconds to crop the referenced audio`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ResponseField,{name:`segments[].audioInput.refId`,type:`string`,required:true,id:`param-segments-audio-input-ref-id-1`,children:_jsx(_components.p,{children:`Reference ID of the audio/text-to-speech input to use for this segment`})}),`\n`,_jsxs(ResponseField,{name:`segments[].audioInput.startTime`,type:`number`,id:`param-segments-audio-input-start-time-1`,children:[_jsx(_components.p,{children:`Optional start time in seconds to crop the referenced audio`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsxs(ResponseField,{name:`segments[].endTime`,type:`number`,required:true,id:`param-segments-end-time-1`,children:[_jsx(_components.p,{children:`Segment end time in seconds`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride`,type:`object`,id:`param-segments-options-override-1`,children:_jsx(_components.p,{children:`Override generation options for a specific segment`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.active_speaker_detection`,type:`object`,id:`param-segments-options-override-active-speaker-detection-1`,children:_jsx(_components.p,{children:`Active speaker detection configuration`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.active_speaker_detection.auto_detect`,type:`boolean`,id:`param-segments-options-override-active-speaker-detection-auto-detect-1`,children:_jsx(_components.p,{children:`Whether to automatically detect and apply generation to the active speaker`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.active_speaker_detection.bounding_boxes`,type:`integer[][]`,id:`param-segments-options-override-active-speaker-detection-bounding-boxes-1`,children:_jsx(_components.p,{children:`Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.active_speaker_detection.bounding_boxes_url`,type:`string`,id:`param-segments-options-override-active-speaker-detection-bounding-boxes-url-1`,children:_jsx(_components.p,{children:`URL to a JSON file containing bounding boxes`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.active_speaker_detection.coordinates`,type:`integer[]`,id:`param-segments-options-override-active-speaker-detection-coordinates-1`,children:_jsx(_components.p,{children:`Pixel coordinates [x, y] in the source video frame identified by frame_number`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.active_speaker_detection.frame_number`,type:`integer`,id:`param-segments-options-override-active-speaker-detection-frame-number-1`,children:_jsx(_components.p,{children:`Frame index that corresponds to the provided coordinates for manual speaker selection`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.active_speaker_detection.v3`,type:`boolean`,id:`param-segments-options-override-active-speaker-detection-v3-1`,children:_jsx(_components.p,{children:`Whether to use ASD v3`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.occlusion_detection_enabled`,type:`boolean`,id:`param-segments-options-override-occlusion-detection-enabled-1`,children:_jsx(_components.p,{children:`Override occlusion detection for this segment`})}),`\n`,_jsx(ResponseField,{name:`segments[].optionsOverride.sync_mode`,type:`string`,id:`param-segments-options-override-sync-mode-1`,children:_jsx(_components.p,{children:`Override the sync mode for this segment`})}),`\n`,_jsxs(ResponseField,{name:`segments[].optionsOverride.temperature`,type:`number`,id:`param-segments-options-override-temperature-1`,children:[_jsx(_components.p,{children:`Override temperature (0-1) for this segment`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsxs(ResponseField,{name:`segments[].startTime`,type:`number`,required:true,id:`param-segments-start-time-1`,children:[_jsx(_components.p,{children:`Segment start time in seconds`}),_jsxs(_components.p,{children:[`Format: `,_jsx(_components.code,{children:`double`})]})]}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`The status of the generation (PENDING, PROCESSING, COMPLETED, NO_OP, FAILED, REJECTED). NO_OP is terminal; nothing was lip-synced, `,_jsx(_components.code,{children:`outputUrl`}),` is the input video unchanged (plus any generated speech), Sync does not charge for lip sync, and Comfy does not bill the caller.`]})}),`\n`,_jsx(ResponseField,{name:`synthesizedAudioUrl`,type:`string`,id:`param-synthesized-audio-url`,children:_jsx(_components.p,{children:`The URL of the audio synthesized from a text (TTS) input`})}),`\n`,_jsx(ResponseField,{name:`webhookUrl`,type:`string`,id:`param-webhook-url-1`,children:_jsx(_components.p,{children:`The URL to the webhook endpoint`})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`input-2`,children:`Input`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.invalid/synclabs/sync-3/speaker.mp4\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.invalid/synclabs/sync-3/voiceover.wav\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sync_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bounce\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`output-2`,children:`Output`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-01T00:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9a3d0c1e-0000-4000-8000-000000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sync-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outputDuration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outputFileName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lipsync\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outputUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.invalid/synclabs/sync-3/output.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"COMPLETED\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-ship`,children:`Before you ship`}),`\n`,_jsxs(_components.p,{children:[`The SDKs create an `,_jsx(_components.code,{children:`Idempotency-Key`}),` and reuse it for automatic retries. For manual retries, reuse the original key. Router can hold the connection for up to 10 minutes.`]}),`\n`,_jsxs(_components.p,{children:[`When a request fails, Router sends an `,_jsx(_components.code,{children:`X-Comfy-Error-Type`}),` response header explaining why. A `,_jsx(_components.code,{children:`422`}),` means Router rejected the input before calling the provider, and a `,_jsx(_components.code,{children:`413`}),` means the request body was larger than Router accepts. Download generated assets promptly because `,_jsx(_components.a,{href:`/development/comfy-router/reference#result-assets`,children:`result URLs can expire`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Any size limit named in a field description above is the provider’s own bound on that field, quoted from the provider’s specification. Router applies a separate cap to the whole request body, which base64-encoded media counts against: see `,_jsx(_components.a,{href:`/development/comfy-router/limitations#request-bodies-are-capped`,children:`request body size`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`This page documents one partner model called through Comfy Router. The same `,_jsx(_components.code,{children:`comfy-sdk`}),` / `,_jsx(_components.code,{children:`@comfyorg/sdk`}),` package also ships a second client, for running a whole ComfyUI workflow graph on Comfy Cloud: `,_jsx(_components.code,{children:`Comfy(api_key=...)`}),` / `,_jsx(_components.code,{children:`new Comfy({ apiKey })`}),`, with `,_jsx(_components.code,{children:`client.workflows`}),`, `,_jsx(_components.code,{children:`client.assets`}),` and `,_jsx(_components.code,{children:`client.jobs`}),`. See `,_jsx(_components.a,{href:`/development/api-development/sdks`,children:`Comfy SDKs`}),`.`]}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Headers`,icon:`list`,href:`/development/comfy-router/headers`,children:_jsx(_components.p,{children:`Authentication, idempotency, request IDs, error buckets, retry pacing, spend limits.`})}),_jsx(Card,{title:`Using the Router API`,icon:`code`,href:`/development/comfy-router/api`,children:_jsx(_components.p,{children:`Model discovery, validation errors, retries, and billing.`})}),_jsx(Card,{title:`Limitations`,icon:`triangle-exclamation`,href:`/development/comfy-router/limitations`,children:_jsx(_components.p,{children:`What Router does not do today, and what to use instead.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Use Sync 3 with Comfy Router","description":"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.","sidebarTitle":"Sync 3","href":"/development/comfy-router/models/synclabs/sync-3/code"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Quick start","slug":"quick-start","depth":2,"children":[]},{"title":"Schema","slug":"schema","depth":2,"children":[{"title":"Input","slug":"input","depth":3,"children":[]},{"title":"Output","slug":"output","depth":3,"children":[]}]},{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"Input","slug":"input-2","depth":3,"children":[]},{"title":"Output","slug":"output-2","depth":3,"children":[]}]},{"title":"Before you ship","slug":"before-you-ship","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dripart/9d6bf2b2531e904c/giscus-comments.js","/_mintlify/custom/dripart/bd0341946f3c75a6/syft.js","/_mintlify/custom/dripart/042392a43b5e681e/samples-cards.js"],"subdomain":"dripart","siteName":"ComfyUI","title":"Use Sync 3 with Comfy Router - ComfyUI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/development/comfy-router/models/synclabs/sync-3/code","matchLevel":0},"zh":{"href":"/zh/development/comfy-router/models/synclabs/sync-3/code","matchLevel":1},"ja":{"href":"/ja/development/comfy-router/models/synclabs/sync-3/code","matchLevel":1},"ko":{"href":"/ko/development/comfy-router/models/synclabs/sync-3/code","matchLevel":1},"es":{"href":"/es/development/comfy-router/models/synclabs/sync-3/code","matchLevel":1}}},"lastModified":"2026-11-19T18:48:18.785Z","originalFileLocation":"development/comfy-router/models/synclabs/sync-3/code.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Use Sync 3 with Comfy Router - ComfyUI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ComfyUI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dripart.mintlify.site/_mintlify/api/og/v2?division=Synclabs\u0026amp;title=Use+Sync+3+with+Comfy+Router\u0026amp;description=Call+synclabs%2Fsync-3+through+Comfy+Router%3A+endpoint%2C+request+shape+and+the+response+Router+returns.\u0026amp;theme=b252c39adf72ba65053766a0\u0026amp;signature=76dbf08e73792c73a2f29b1db14a82873bbf2792676c3aab11a97baab1d25f41\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Use Sync 3 with Comfy Router - ComfyUI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dripart.mintlify.site/_mintlify/api/og/v2?division=Synclabs\u0026amp;title=Use+Sync+3+with+Comfy+Router\u0026amp;description=Call+synclabs%2Fsync-3+through+Comfy+Router%3A+endpoint%2C+request+shape+and+the+response+Router+returns.\u0026amp;theme=b252c39adf72ba65053766a0\u0026amp;signature=76dbf08e73792c73a2f29b1db14a82873bbf2792676c3aab11a97baab1d25f41\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#49378B\">\u003cmeta data-mint-head name=\"googlebot\" content=\"max-video-preview:0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/development/comfy-router/models/synclabs/sync-3/code.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.comfy.org/zh/development/comfy-router/models/synclabs/sync-3/code\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.comfy.org/ja/development/comfy-router/models/synclabs/sync-3/code\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.comfy.org/ko/development/comfy-router/models/synclabs/sync-3/code\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.comfy.org/es/development/comfy-router/models/synclabs/sync-3/code\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.comfy.org/#organization\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.comfy.org#website\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code#webpage\",\"url\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code\",\"name\":\"Use Sync 3 with Comfy Router\",\"description\":\"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.\",\"dateModified\":\"2026-11-19T18:48:18.785Z\",\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Models\",\"item\":\"https://docs.comfy.org/development/comfy-router/models\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"All Models\",\"item\":\"https://docs.comfy.org/development/comfy-router/models/anthropic/claude-fable-5-1/code\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Use Sync 3 with Comfy Router\",\"item\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code#article\",\"headline\":\"Use Sync 3 with Comfy Router\",\"name\":\"Use Sync 3 with Comfy Router\",\"description\":\"Call synclabs/sync-3 through Comfy Router: endpoint, request shape and the response Router returns.\",\"url\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code\",\"mainEntityOfPage\":{\"@id\":\"https://docs.comfy.org/development/comfy-router/models/synclabs/sync-3/code#webpage\"},\"dateModified\":\"2026-11-19T18:48:18.785Z\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ComfyUI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ComfyUI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/development/comfy-router/models/synclabs/sync-3/code.md","siteName":"ComfyUI","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Getting started","pages":[{"title":"Getting started","href":""}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/basic-concepts/workflow"}]},{"tab":"Comfy Router","pages":[{"title":"Comfy Router quickstart","sidebarTitle":"Quickstart","href":"/development/comfy-router/quickstart"},{"group":"Router API","pages":[{"title":"Comfy Router API overview","sidebarTitle":"Overview","href":"/development/comfy-router/api"},{"title":"Discover Comfy Router models","sidebarTitle":"Discover models","href":"/development/comfy-router/discover-models"},{"title":"Comfy Router model schemas and results","sidebarTitle":"Schemas and results","href":"/development/comfy-router/schemas"},{"title":"Queue Comfy Router requests","sidebarTitle":"Queued requests","href":"/development/comfy-router/queue"},{"title":"Comfy Router errors and retries","sidebarTitle":"Errors and retries","href":"/development/comfy-router/errors"},{"title":"Comfy Router billing","sidebarTitle":"Billing","href":"/development/comfy-router/billing"},{"title":"Using Comfy Router with LiteLLM","sidebarTitle":"LiteLLM","href":"/development/comfy-router/litellm"},{"title":"Comfy Router realtime models","sidebarTitle":"Realtime models","href":"/development/comfy-router/realtime"}]},{"group":"Reference","pages":[{"title":"Comfy Router API reference","sidebarTitle":"API Reference","href":"/development/comfy-router/reference"},{"title":"Comfy Router headers","sidebarTitle":"Headers","href":"/development/comfy-router/headers"},{"title":"Comfy Router capabilities and limits","sidebarTitle":"Capabilities and limits","href":"/development/comfy-router/limitations"},{"group":"API Reference","pages":[{"group":"Comfy Router","pages":[{"title":"List the models Comfy Router can run.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml get /v2/models","href":"/api-reference/router/comfy-router/list-the-models-comfy-router-can-run"},{"title":"Read one partner model's catalog entry by canonical model ID.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml get /v2/models/{provider}/{model}","href":"/api-reference/router/comfy-router/read-one-partner-models-catalog-entry-by-canonical-model-id"},{"title":"Run a partner model synchronously by canonical model ID.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml post /v2/models/{provider}/{model}","href":"/api-reference/router/comfy-router/run-a-partner-model-synchronously-by-canonical-model-id"},{"title":"Price a model call before running it, without running it.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml post /v2/models/{provider}/{model}/estimate","href":"/api-reference/router/comfy-router/price-a-model-call-before-running-it-without-running-it"},{"title":"Read one partner model's input and output schemas as an OpenAPI document.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml get /v2/models/{provider}/{model}/openapi.json","href":"/api-reference/router/comfy-router/read-one-partner-models-input-and-output-schemas-as-an-openapi-document"},{"title":"Submit a partner model run to the queue and return immediately.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml post /v2/models/{provider}/{model}/requests","href":"/api-reference/router/comfy-router/submit-a-partner-model-run-to-the-queue-and-return-immediately"},{"title":"Collect the result of one submitted request.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml get /v2/models/{provider}/{model}/requests/{request_id}","href":"/api-reference/router/comfy-router/collect-the-result-of-one-submitted-request"},{"title":"Ask for one submitted request to be cancelled.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml put /v2/models/{provider}/{model}/requests/{request_id}/cancel","href":"/api-reference/router/comfy-router/ask-for-one-submitted-request-to-be-cancelled"},{"title":"Read the queue state of one submitted request.","deprecated":null,"version":null,"openapi":"/router-openapi.yaml get /v2/models/{provider}/{model}/requests/{request_id}/status","href":"/api-reference/router/comfy-router/read-the-queue-state-of-one-submitted-request"}]}]}]},{"group":"Models","pages":[{"title":"Comfy Router models","sidebarTitle":"All models","href":"/development/comfy-router/models"},{"title":"Comfy Router pricing","sidebarTitle":"Pricing","href":"/development/comfy-router/pricing"},{"title":"Comfy Router serving providers","sidebarTitle":"Serving providers","href":"/development/comfy-router/providers"},{"group":"All Models","pages":[{"group":"Anthropic","pages":[{"title":"Use Claude Fable 5.1 with Comfy Router","sidebarTitle":"Claude Fable 5.1","href":"/development/comfy-router/models/anthropic/claude-fable-5-1/code"},{"title":"Use Claude Fable 5.2 with Comfy Router","sidebarTitle":"Claude Fable 5.2","href":"/development/comfy-router/models/anthropic/claude-fable-5-2/code"},{"title":"Use Claude Fable 5 with Comfy Router","sidebarTitle":"Claude Fable 5","href":"/development/comfy-router/models/anthropic/claude-fable-5/code"},{"title":"Use Claude Haiku 4.5 20251001 with Comfy Router","sidebarTitle":"Claude Haiku 4.5 20251001","href":"/development/comfy-router/models/anthropic/claude-haiku-4-5-20251001/code"},{"title":"Use Claude Opus 4.6 with Comfy Router","sidebarTitle":"Claude Opus 4.6","href":"/development/comfy-router/models/anthropic/claude-opus-4-6/code"},{"title":"Use Claude Opus 4.7 with Comfy Router","sidebarTitle":"Claude Opus 4.7","href":"/development/comfy-router/models/anthropic/claude-opus-4-7/code"},{"title":"Use Claude Opus 4.8 with Comfy Router","sidebarTitle":"Claude Opus 4.8","href":"/development/comfy-router/models/anthropic/claude-opus-4-8/code"},{"title":"Use Claude Opus 5.5 with Comfy Router","sidebarTitle":"Claude Opus 5.5","href":"/development/comfy-router/models/anthropic/claude-opus-5-5/code"},{"title":"Use Claude Opus 5 with Comfy Router","sidebarTitle":"Claude Opus 5","href":"/development/comfy-router/models/anthropic/claude-opus-5/code"},{"title":"Use Claude Sonnet 4.5 20250929 with Comfy Router","sidebarTitle":"Claude Sonnet 4.5 20250929","href":"/development/comfy-router/models/anthropic/claude-sonnet-4-5-20250929/code"},{"title":"Use Claude Sonnet 4.6 with Comfy Router","sidebarTitle":"Claude Sonnet 4.6","href":"/development/comfy-router/models/anthropic/claude-sonnet-4-6/code"},{"title":"Use Claude Sonnet 5.5 with Comfy Router","sidebarTitle":"Claude Sonnet 5.5","href":"/development/comfy-router/models/anthropic/claude-sonnet-5-5/code"},{"title":"Use Claude Sonnet 5 with Comfy Router","sidebarTitle":"Claude Sonnet 5","href":"/development/comfy-router/models/anthropic/claude-sonnet-5/code"}]},{"group":"Beeble","pages":[{"title":"Use SwitchX with Comfy Router","sidebarTitle":"SwitchX","href":"/development/comfy-router/models/beeble/switchx/code"}]},{"group":"Black Forest Labs","pages":[{"title":"Use Erase V1 with Comfy Router","sidebarTitle":"Erase V1","href":"/development/comfy-router/models/black-forest-labs/erase-v1/code"},{"title":"Use Flux 1.1 Pro Ultra Image with Comfy Router","sidebarTitle":"Flux 1.1 Pro Ultra Image","href":"/development/comfy-router/models/black-forest-labs/flux-1-1-pro-ultra-image/code"},{"title":"Use FLUX.1 Kontext with Comfy Router","sidebarTitle":"FLUX.1 Kontext","href":"/development/comfy-router/models/black-forest-labs/flux-1-kontext/code"},{"title":"Use FLUX 2 Max with Comfy Router","sidebarTitle":"FLUX 2 Max","href":"/development/comfy-router/models/black-forest-labs/flux-2-max/code"},{"title":"Use FLUX 2 Pro with Comfy Router","sidebarTitle":"FLUX 2 Pro","href":"/development/comfy-router/models/black-forest-labs/flux-2-pro/code"},{"title":"Use FLUX 3 Image with Comfy Router","sidebarTitle":"FLUX 3 Image","href":"/development/comfy-router/models/black-forest-labs/flux-3-image/code"},{"title":"Use FLUX 3 Video with Comfy Router","sidebarTitle":"FLUX 3 Video","href":"/development/comfy-router/models/black-forest-labs/flux-3-video/code"},{"title":"Use FLUX Pro 1.0 Expand with Comfy Router","sidebarTitle":"FLUX Pro 1.0 Expand","href":"/development/comfy-router/models/black-forest-labs/flux-pro-1-0-expand/code"},{"title":"Use FLUX Pro 1.0 Fill with Comfy Router","sidebarTitle":"FLUX Pro 1.0 Fill","href":"/development/comfy-router/models/black-forest-labs/flux-pro-1-0-fill/code"},{"title":"Use FLUX Video Upscale with Comfy Router","sidebarTitle":"FLUX Video Upscale","href":"/development/comfy-router/models/black-forest-labs/flux-video-upscale/code"},{"title":"Use Video Edit V1 with Comfy Router","sidebarTitle":"Video Edit V1","href":"/development/comfy-router/models/black-forest-labs/video-edit-v1/code"},{"title":"Use VTO V1 with Comfy Router","sidebarTitle":"VTO V1","href":"/development/comfy-router/models/black-forest-labs/vto-v1/code"}]},{"group":"Bria","pages":[{"title":"Use Fibo with Comfy Router","sidebarTitle":"Fibo","href":"/development/comfy-router/models/bria/fibo/code"},{"title":"Use Image Edit Add Object By Text with Comfy Router","sidebarTitle":"Image Edit Add Object By Text","href":"/development/comfy-router/models/bria/image-edit-add-object-by-text/code"},{"title":"Use Image Edit Erase By Text with Comfy Router","sidebarTitle":"Image Edit Erase By Text","href":"/development/comfy-router/models/bria/image-edit-erase-by-text/code"},{"title":"Use Image Edit Erase Foreground with Comfy Router","sidebarTitle":"Image Edit Erase Foreground","href":"/development/comfy-router/models/bria/image-edit-erase-foreground/code"},{"title":"Use Image Edit Erase with Comfy Router","sidebarTitle":"Image Edit Erase","href":"/development/comfy-router/models/bria/image-edit-erase/code"},{"title":"Use Image Edit Expand with Comfy Router","sidebarTitle":"Image Edit Expand","href":"/development/comfy-router/models/bria/image-edit-expand/code"},{"title":"Use Image Edit Gen Fill with Comfy Router","sidebarTitle":"Image Edit Gen Fill","href":"/development/comfy-router/models/bria/image-edit-gen-fill/code"},{"title":"Use Image Edit Increase Resolution with Comfy Router","sidebarTitle":"Image Edit Increase Resolution","href":"/development/comfy-router/models/bria/image-edit-increase-resolution/code"},{"title":"Use Image Edit Product Holding with Comfy Router","sidebarTitle":"Image Edit Product Holding","href":"/development/comfy-router/models/bria/image-edit-product-holding/code"},{"title":"Use Image Edit Product Virtual Tryon with Comfy Router","sidebarTitle":"Image Edit Product Virtual Tryon","href":"/development/comfy-router/models/bria/image-edit-product-virtual-tryon/code"},{"title":"Use Image Edit Relight with Comfy Router","sidebarTitle":"Image Edit Relight","href":"/development/comfy-router/models/bria/image-edit-relight/code"},{"title":"Use Image Edit Remove Background Guided with Comfy Router","sidebarTitle":"Image Edit Remove Background Guided","href":"/development/comfy-router/models/bria/image-edit-remove-background-guided/code"},{"title":"Use Image Edit Remove Background with Comfy Router","sidebarTitle":"Image Edit Remove Background","href":"/development/comfy-router/models/bria/image-edit-remove-background/code"},{"title":"Use Image Edit Replace Background with Comfy Router","sidebarTitle":"Image Edit Replace Background","href":"/development/comfy-router/models/bria/image-edit-replace-background/code"},{"title":"Use Image Edit Replace Object By Text with Comfy Router","sidebarTitle":"Image Edit Replace Object By Text","href":"/development/comfy-router/models/bria/image-edit-replace-object-by-text/code"},{"title":"Use Image Edit Reseason with Comfy Router","sidebarTitle":"Image Edit Reseason","href":"/development/comfy-router/models/bria/image-edit-reseason/code"},{"title":"Use Image Edit Restore with Comfy Router","sidebarTitle":"Image Edit Restore","href":"/development/comfy-router/models/bria/image-edit-restore/code"},{"title":"Use Image with Comfy Router","sidebarTitle":"Image","href":"/development/comfy-router/models/bria/image/code"},{"title":"Use Video Edit Erase with Comfy Router","sidebarTitle":"Video Edit Erase","href":"/development/comfy-router/models/bria/video-edit-erase/code"},{"title":"Use Video Edit Green Screen with Comfy Router","sidebarTitle":"Video Edit Green Screen","href":"/development/comfy-router/models/bria/video-edit-green-screen/code"},{"title":"Use Video Edit Remove Background with Comfy Router","sidebarTitle":"Video Edit Remove Background","href":"/development/comfy-router/models/bria/video-edit-remove-background/code"},{"title":"Use Video Edit Replace Background with Comfy Router","sidebarTitle":"Video Edit Replace Background","href":"/development/comfy-router/models/bria/video-edit-replace-background/code"}]},{"group":"BytePlus","pages":[{"title":"Use Dreamina Seedance 2.0 260128 with Comfy Router","sidebarTitle":"Dreamina Seedance 2.0 260128","href":"/development/comfy-router/models/byteplus/dreamina-seedance-2-0-260128/code"},{"title":"Use Dreamina Seedance 2.0 Fast 260128 with Comfy Router","sidebarTitle":"Dreamina Seedance 2.0 Fast 260128","href":"/development/comfy-router/models/byteplus/dreamina-seedance-2-0-fast-260128/code"},{"title":"Use Dreamina Seedance 2.0 Mini with Comfy Router","sidebarTitle":"Dreamina Seedance 2.0 Mini","href":"/development/comfy-router/models/byteplus/dreamina-seedance-2-0-mini/code"},{"title":"Use Dreamina Seedance 2.5 260628 with Comfy Router","sidebarTitle":"Dreamina Seedance 2.5 260628","href":"/development/comfy-router/models/byteplus/dreamina-seedance-2-5-260628/code"},{"title":"Use Seed 2.0 Lite 260228 with Comfy Router","sidebarTitle":"Seed 2.0 Lite 260228","href":"/development/comfy-router/models/byteplus/seed-2-0-lite-260228/code"},{"title":"Use Seed 2.0 Mini 260215 with Comfy Router","sidebarTitle":"Seed 2.0 Mini 260215","href":"/development/comfy-router/models/byteplus/seed-2-0-mini-260215/code"},{"title":"Use Seed 2.0 Pro 260328 with Comfy Router","sidebarTitle":"Seed 2.0 Pro 260328","href":"/development/comfy-router/models/byteplus/seed-2-0-pro-260328/code"},{"title":"Use Seed Audio 1.0 Multilingual with Comfy Router","sidebarTitle":"Seed Audio 1.0 Multilingual","href":"/development/comfy-router/models/byteplus/seed-audio-1-0-multilingual/code"},{"title":"Use Seed Audio 1.0 with Comfy Router","sidebarTitle":"Seed Audio 1.0","href":"/development/comfy-router/models/byteplus/seed-audio-1-0/code"},{"title":"Use Seedance 1.0 Pro 250528 with Comfy Router","sidebarTitle":"Seedance 1.0 Pro 250528","href":"/development/comfy-router/models/byteplus/seedance-1-0-pro-250528/code"},{"title":"Use Seedance 1.0 Pro Fast 251015 with Comfy Router","sidebarTitle":"Seedance 1.0 Pro Fast 251015","href":"/development/comfy-router/models/byteplus/seedance-1-0-pro-fast-251015/code"},{"title":"Use Seedream 4.0 250828 with Comfy Router","sidebarTitle":"Seedream 4.0 250828","href":"/development/comfy-router/models/byteplus/seedream-4-0-250828/code"},{"title":"Use Seedream 4.5 251128 with Comfy Router","sidebarTitle":"Seedream 4.5 251128","href":"/development/comfy-router/models/byteplus/seedream-4-5-251128/code"},{"title":"Use Seedream 5.0 260128 with Comfy Router","sidebarTitle":"Seedream 5.0 260128","href":"/development/comfy-router/models/byteplus/seedream-5-0-260128/code"},{"title":"Use Seedream 5.0 Flash 260915 with Comfy Router","sidebarTitle":"Seedream 5.0 Flash 260915","href":"/development/comfy-router/models/byteplus/seedream-5-0-flash-260915/code"},{"title":"Use Seedream 5.0 Pro 260628 with Comfy Router","sidebarTitle":"Seedream 5.0 Pro 260628","href":"/development/comfy-router/models/byteplus/seedream-5-0-pro-260628/code"},{"title":"Use Seedream 5.5 261028 with Comfy Router","sidebarTitle":"Seedream 5.5 261028","href":"/development/comfy-router/models/byteplus/seedream-5-5-261028/code"}]},{"group":"Elevenlabs","pages":[{"title":"Use Eleven Multilingual V2 with Comfy Router","sidebarTitle":"Eleven Multilingual V2","href":"/development/comfy-router/models/elevenlabs/eleven-multilingual-v2/code"},{"title":"Use Eleven Sfx V2 with Comfy Router","sidebarTitle":"Eleven Sfx V2","href":"/development/comfy-router/models/elevenlabs/eleven-sfx-v2/code"},{"title":"Use Eleven Sfx V3 with Comfy Router","sidebarTitle":"Eleven Sfx V3","href":"/development/comfy-router/models/elevenlabs/eleven-sfx-v3/code"},{"title":"Use Eleven V3 with Comfy Router","sidebarTitle":"Eleven V3","href":"/development/comfy-router/models/elevenlabs/eleven-v3/code"},{"title":"Use Eleven V4 Turbo with Comfy Router","sidebarTitle":"Eleven V4 Turbo","href":"/development/comfy-router/models/elevenlabs/eleven-v4-turbo/code"},{"title":"Use Eleven V4 with Comfy Router","sidebarTitle":"Eleven V4","href":"/development/comfy-router/models/elevenlabs/eleven-v4/code"}]},{"group":"fal","pages":[{"title":"Use Crystal Upscaler with Comfy Router","sidebarTitle":"Crystal Upscaler","href":"/development/comfy-router/models/fal/crystal-upscaler/code"},{"title":"Use Crystal Video Upscaler with Comfy Router","sidebarTitle":"Crystal Video Upscaler","href":"/development/comfy-router/models/fal/crystal-video-upscaler/code"},{"title":"Use FLUX 3 Max with Comfy Router","sidebarTitle":"FLUX 3 Max","href":"/development/comfy-router/models/fal/flux-3-max/code"},{"title":"Use H3 Max Turbo with Comfy Router","sidebarTitle":"H3 Max Turbo","href":"/development/comfy-router/models/fal/h3-max-turbo/code"},{"title":"Use H3 Max with Comfy Router","sidebarTitle":"H3 Max","href":"/development/comfy-router/models/fal/h3-max/code"},{"title":"Use Patina with Comfy Router","sidebarTitle":"Patina","href":"/development/comfy-router/models/fal/patina/code"}]},{"group":"Freepik","pages":[{"title":"Use AI Image Relight with Comfy Router","sidebarTitle":"AI Image Relight","href":"/development/comfy-router/models/freepik/ai-image-relight/code"},{"title":"Use AI Image Style Transfer with Comfy Router","sidebarTitle":"AI Image Style Transfer","href":"/development/comfy-router/models/freepik/ai-image-style-transfer/code"},{"title":"Use AI Image Upscaler Precision V2 with Comfy Router","sidebarTitle":"AI Image Upscaler Precision V2","href":"/development/comfy-router/models/freepik/ai-image-upscaler-precision-v2/code"},{"title":"Use AI Skin Enhancer Creative with Comfy Router","sidebarTitle":"AI Skin Enhancer Creative","href":"/development/comfy-router/models/freepik/ai-skin-enhancer-creative/code"},{"title":"Use AI Skin Enhancer Faithful with Comfy Router","sidebarTitle":"AI Skin Enhancer Faithful","href":"/development/comfy-router/models/freepik/ai-skin-enhancer-faithful/code"},{"title":"Use AI Skin Enhancer Flexible with Comfy Router","sidebarTitle":"AI Skin Enhancer Flexible","href":"/development/comfy-router/models/freepik/ai-skin-enhancer-flexible/code"}]},{"group":"Gemini Interactions","pages":[{"title":"Use Gemini Omni 1.1 Flash with Comfy Router","sidebarTitle":"Gemini Omni 1.1 Flash","href":"/development/comfy-router/models/gemini-interactions/gemini-omni-1-1-flash/code"},{"title":"Use Gemini Omni 1.2 Flash with Comfy Router","sidebarTitle":"Gemini Omni 1.2 Flash","href":"/development/comfy-router/models/gemini-interactions/gemini-omni-1-2-flash/code"},{"title":"Use Gemini Omni Flash Preview with Comfy Router","sidebarTitle":"Gemini Omni Flash Preview","href":"/development/comfy-router/models/gemini-interactions/gemini-omni-flash-preview/code"}]},{"group":"Google","pages":[{"title":"Use Gemini 2.5 Flash Image with Comfy Router","sidebarTitle":"Gemini 2.5 Flash Image","href":"/development/comfy-router/models/google/gemini-2-5-flash-image/code"},{"title":"Use Gemini 3.1 Flash Lite with Comfy Router","sidebarTitle":"Gemini 3.1 Flash Lite","href":"/development/comfy-router/models/google/gemini-3-1-flash-lite/code"},{"title":"Use Gemini 3.7 Flash with Comfy Router","sidebarTitle":"Gemini 3.7 Flash","href":"/development/comfy-router/models/google/gemini-3-7-flash/code"},{"title":"Use Gemini 3.8 Flash with Comfy Router","sidebarTitle":"Gemini 3.8 Flash","href":"/development/comfy-router/models/google/gemini-3-8-flash/code"},{"title":"Use Gemini 4 Argon with Comfy Router","sidebarTitle":"Gemini 4 Argon","href":"/development/comfy-router/models/google/gemini-4-argon/code"},{"title":"Use Gemini 4 Carbon with Comfy Router","sidebarTitle":"Gemini 4 Carbon","href":"/development/comfy-router/models/google/gemini-4-carbon/code"},{"title":"Use Gemini 4 Hydrogen with Comfy Router","sidebarTitle":"Gemini 4 Hydrogen","href":"/development/comfy-router/models/google/gemini-4-hydrogen/code"},{"title":"Use Gemini 4 Neon with Comfy Router","sidebarTitle":"Gemini 4 Neon","href":"/development/comfy-router/models/google/gemini-4-neon/code"},{"title":"Use Gemini Nano Banana 2.1 with Comfy Router","sidebarTitle":"Gemini Nano Banana 2.1","href":"/development/comfy-router/models/google/gemini-nano-banana-2-1/code"},{"title":"Use Google Gemini with Comfy Router","sidebarTitle":"Google Gemini","href":"/development/comfy-router/models/google/gemini/code"},{"title":"Use Nano Banana 2 Lite with Comfy Router","sidebarTitle":"Nano Banana 2 Lite","href":"/development/comfy-router/models/google/nano-banana-2-lite/code"},{"title":"Use Nano Banana 2 with Comfy Router","sidebarTitle":"Nano Banana 2","href":"/development/comfy-router/models/google/nano-banana-2/code"},{"title":"Use Nano Banana Pro with Comfy Router","sidebarTitle":"Nano Banana Pro","href":"/development/comfy-router/models/google/nano-banana-pro/code"}]},{"group":"HeyGen","pages":[{"title":"Use Starfish with Comfy Router","sidebarTitle":"Starfish","href":"/development/comfy-router/models/heygen/starfish/code"}]},{"group":"Higgsfield","pages":[{"title":"Use Higgsfield Genjutsu Motion Transfer V1.0 with Comfy Router","sidebarTitle":"Higgsfield Genjutsu Motion Transfer V1.0","href":"/development/comfy-router/models/higgsfield/higgsfield-genjutsu-motion-transfer-v1-0/code"},{"title":"Use Higgsfield Kling 3.4k with Comfy Router","sidebarTitle":"Higgsfield Kling 3.4k","href":"/development/comfy-router/models/higgsfield/higgsfield-kling-3-4k/code"},{"title":"Use Higgsfield Kling 3 Pro with Comfy Router","sidebarTitle":"Higgsfield Kling 3 Pro","href":"/development/comfy-router/models/higgsfield/higgsfield-kling-3-pro/code"}]},{"group":"Ideogram","pages":[{"title":"Use Ideogram 4.5 with Comfy Router","sidebarTitle":"Ideogram 4.5","href":"/development/comfy-router/models/ideogram/ideogram-4-5/code"},{"title":"Use Ideogram 4.6 with Comfy Router","sidebarTitle":"Ideogram 4.6","href":"/development/comfy-router/models/ideogram/ideogram-4-6/code"},{"title":"Use Ideogram V3 with Comfy Router","sidebarTitle":"Ideogram V3","href":"/development/comfy-router/models/ideogram/ideogram-v3/code"},{"title":"Use Ideogram 4.0 with Comfy Router","sidebarTitle":"Ideogram 4.0","href":"/development/comfy-router/models/ideogram/ideogram-v4/code"},{"title":"Use P Image Ideogram with Comfy Router","sidebarTitle":"P Image Ideogram","href":"/development/comfy-router/models/ideogram/p-image-ideogram/code"}]},{"group":"Kelly","pages":[{"title":"Use Kelly Kling 4.0 with Comfy Router","sidebarTitle":"Kelly Kling 4.0","href":"/development/comfy-router/models/kelly/kelly-kling-4-0/code"},{"title":"Use Kelly Seedance 2.0 Fast with Comfy Router","sidebarTitle":"Kelly Seedance 2.0 Fast","href":"/development/comfy-router/models/kelly/kelly-seedance-2-0-fast/code"},{"title":"Use Kelly Seedance 2.0 with Comfy Router","sidebarTitle":"Kelly Seedance 2.0","href":"/development/comfy-router/models/kelly/kelly-seedance-2-0/code"},{"title":"Use Kelly Seedance 2.5 with Comfy Router","sidebarTitle":"Kelly Seedance 2.5","href":"/development/comfy-router/models/kelly/kelly-seedance-2-5/code"}]},{"group":"Kling","pages":[{"title":"Use Kling 3.0 Turbo with Comfy Router","sidebarTitle":"Kling 3.0 Turbo","href":"/development/comfy-router/models/kling/kling-3-0-turbo/code"},{"title":"Use Kling 4.0 with Comfy Router","sidebarTitle":"Kling 4.0","href":"/development/comfy-router/models/kling/kling-4-0/code"},{"title":"Use Kling Image 4.0 with Comfy Router","sidebarTitle":"Kling Image 4.0","href":"/development/comfy-router/models/kling/kling-image-4-0/code"},{"title":"Use Kling Image O1 with Comfy Router","sidebarTitle":"Kling Image O1","href":"/development/comfy-router/models/kling/kling-image-o1/code"},{"title":"Use Kling Long Image 4.0 with Comfy Router","sidebarTitle":"Kling Long Image 4.0","href":"/development/comfy-router/models/kling/kling-long-image-4-0/code"},{"title":"Use Kling V2.5 Turbo with Comfy Router","sidebarTitle":"Kling V2.5 Turbo","href":"/development/comfy-router/models/kling/kling-v2-5-turbo/code"},{"title":"Use Kling V2.6 with Comfy Router","sidebarTitle":"Kling V2.6","href":"/development/comfy-router/models/kling/kling-v2-6/code"},{"title":"Use Kling V3 Omni with Comfy Router","sidebarTitle":"Kling V3 Omni","href":"/development/comfy-router/models/kling/kling-v3-omni/code"},{"title":"Use Kling V3 with Comfy Router","sidebarTitle":"Kling V3","href":"/development/comfy-router/models/kling/kling-v3/code"},{"title":"Use Kling Video O1 with Comfy Router","sidebarTitle":"Kling Video O1","href":"/development/comfy-router/models/kling/kling-video-o1/code"},{"title":"Use Videos Avatar Image 2video with Comfy Router","sidebarTitle":"Videos Avatar Image 2video","href":"/development/comfy-router/models/kling/videos-avatar-image2video/code"},{"title":"Use Videos Lip Sync with Comfy Router","sidebarTitle":"Videos Lip Sync","href":"/development/comfy-router/models/kling/videos-lip-sync/code"}]},{"group":"Krea","pages":[{"title":"Use Krea 2 Large with Comfy Router","sidebarTitle":"Krea 2 Large","href":"/development/comfy-router/models/krea/krea-2-large/code"},{"title":"Use Krea 2 Medium Turbo with Comfy Router","sidebarTitle":"Krea 2 Medium Turbo","href":"/development/comfy-router/models/krea/krea-2-medium-turbo/code"},{"title":"Use Krea 2 Medium with Comfy Router","sidebarTitle":"Krea 2 Medium","href":"/development/comfy-router/models/krea/krea-2-medium/code"},{"title":"Use Krea 2 with Comfy Router","sidebarTitle":"Krea 2","href":"/development/comfy-router/models/krea/krea-2/code"},{"title":"Use Krea 3 with Comfy Router","sidebarTitle":"Krea 3","href":"/development/comfy-router/models/krea/krea-3/code"}]},{"group":"LTX","pages":[{"title":"Use LTX 2.5 Fast with Comfy Router","sidebarTitle":"LTX 2.5 Fast","href":"/development/comfy-router/models/ltx/ltx-2-5-fast/code"},{"title":"Use LTX 2.5 Pro with Comfy Router","sidebarTitle":"LTX 2.5 Pro","href":"/development/comfy-router/models/ltx/ltx-2-5-pro/code"},{"title":"Use LTX Video Alpha Gen with Comfy Router","sidebarTitle":"LTX Video Alpha Gen","href":"/development/comfy-router/models/ltx/ltx-video-alpha-gen/code"},{"title":"Use LTX Video To Video Hdr with Comfy Router","sidebarTitle":"LTX Video To Video Hdr","href":"/development/comfy-router/models/ltx/ltx-video-to-video-hdr/code"},{"title":"Use LTX Video To Video Reframe with Comfy Router","sidebarTitle":"LTX Video To Video Reframe","href":"/development/comfy-router/models/ltx/ltx-video-to-video-reframe/code"},{"title":"Use LTX Video Upscale with Comfy Router","sidebarTitle":"LTX Video Upscale","href":"/development/comfy-router/models/ltx/ltx-video-upscale/code"}]},{"group":"Luma 2","pages":[{"title":"Use Ray 3.2 with Comfy Router","sidebarTitle":"Ray 3.2","href":"/development/comfy-router/models/luma_2/ray-3-2/code"},{"title":"Use Uni 1 Max with Comfy Router","sidebarTitle":"Uni 1 Max","href":"/development/comfy-router/models/luma_2/uni-1-max/code"},{"title":"Use Uni 1 with Comfy Router","sidebarTitle":"Uni 1","href":"/development/comfy-router/models/luma_2/uni-1/code"}]},{"group":"Meshy","pages":[{"title":"Use Animations with Comfy Router","sidebarTitle":"Animations","href":"/development/comfy-router/models/meshy/animations/code"},{"title":"Use Meshy 6 with Comfy Router","sidebarTitle":"Meshy 6","href":"/development/comfy-router/models/meshy/meshy-6/code"},{"title":"Use Meshy 7.1 with Comfy Router","sidebarTitle":"Meshy 7.1","href":"/development/comfy-router/models/meshy/meshy-7-1/code"},{"title":"Use Meshy 7 with Comfy Router","sidebarTitle":"Meshy 7","href":"/development/comfy-router/models/meshy/meshy-7/code"},{"title":"Use Remesh with Comfy Router","sidebarTitle":"Remesh","href":"/development/comfy-router/models/meshy/remesh/code"},{"title":"Use Rigging with Comfy Router","sidebarTitle":"Rigging","href":"/development/comfy-router/models/meshy/rigging/code"}]},{"group":"MiniMax","pages":[{"title":"Use MiniMax H3 Image Highspeed with Comfy Router","sidebarTitle":"MiniMax H3 Image Highspeed","href":"/development/comfy-router/models/minimax/minimax-h3-image-highspeed/code"},{"title":"Use MiniMax H3 Image with Comfy Router","sidebarTitle":"MiniMax H3 Image","href":"/development/comfy-router/models/minimax/minimax-h3-image/code"},{"title":"Use MiniMax H3 with Comfy Router","sidebarTitle":"MiniMax H3","href":"/development/comfy-router/models/minimax/minimax-h3/code"}]},{"group":"OpenAI","pages":[{"title":"Use GPT 4.1 Mini with Comfy Router","sidebarTitle":"GPT 4.1 Mini","href":"/development/comfy-router/models/openai/gpt-4-1-mini/code"},{"title":"Use GPT 4.1 with Comfy Router","sidebarTitle":"GPT 4.1","href":"/development/comfy-router/models/openai/gpt-4-1/code"},{"title":"Use GPT 4o with Comfy Router","sidebarTitle":"GPT 4o","href":"/development/comfy-router/models/openai/gpt-4o/code"},{"title":"Use GPT 5.5 Pro with Comfy Router","sidebarTitle":"GPT 5.5 Pro","href":"/development/comfy-router/models/openai/gpt-5-5-pro/code"},{"title":"Use GPT 5.5 with Comfy Router","sidebarTitle":"GPT 5.5","href":"/development/comfy-router/models/openai/gpt-5-5/code"},{"title":"Use GPT 5.6 Luna with Comfy Router","sidebarTitle":"GPT 5.6 Luna","href":"/development/comfy-router/models/openai/gpt-5-6-luna/code"},{"title":"Use GPT 5.6 Sol with Comfy Router","sidebarTitle":"GPT 5.6 Sol","href":"/development/comfy-router/models/openai/gpt-5-6-sol/code"},{"title":"Use GPT 5.6 Terra with Comfy Router","sidebarTitle":"GPT 5.6 Terra","href":"/development/comfy-router/models/openai/gpt-5-6-terra/code"},{"title":"Use GPT 5 Mini with Comfy Router","sidebarTitle":"GPT 5 Mini","href":"/development/comfy-router/models/openai/gpt-5-mini/code"},{"title":"Use GPT 5 Nano with Comfy Router","sidebarTitle":"GPT 5 Nano","href":"/development/comfy-router/models/openai/gpt-5-nano/code"},{"title":"Use GPT 5 with Comfy Router","sidebarTitle":"GPT 5","href":"/development/comfy-router/models/openai/gpt-5/code"},{"title":"Use GPT 6.1 Sol with Comfy Router","sidebarTitle":"GPT 6.1 Sol","href":"/development/comfy-router/models/openai/gpt-6-1-sol/code"},{"title":"Use GPT 6.1 Terra with Comfy Router","sidebarTitle":"GPT 6.1 Terra","href":"/development/comfy-router/models/openai/gpt-6-1-terra/code"},{"title":"Use GPT 6 Astra with Comfy Router","sidebarTitle":"GPT 6 Astra","href":"/development/comfy-router/models/openai/gpt-6-astra/code"},{"title":"Use GPT 6 Luna with Comfy Router","sidebarTitle":"GPT 6 Luna","href":"/development/comfy-router/models/openai/gpt-6-luna/code"},{"title":"Use GPT 6 Sol with Comfy Router","sidebarTitle":"GPT 6 Sol","href":"/development/comfy-router/models/openai/gpt-6-sol/code"},{"title":"Use GPT Image 1.5 with Comfy Router","sidebarTitle":"GPT Image 1.5","href":"/development/comfy-router/models/openai/gpt-image-1-5/code"},{"title":"Use GPT Image 2.5 Flare with Comfy Router","sidebarTitle":"GPT Image 2.5 Flare","href":"/development/comfy-router/models/openai/gpt-image-2-5-flare/code"},{"title":"Use GPT Image 2.5 Sunburst with Comfy Router","sidebarTitle":"GPT Image 2.5 Sunburst","href":"/development/comfy-router/models/openai/gpt-image-2-5-sunburst/code"},{"title":"Use GPT Image 2.6 Flare with Comfy Router","sidebarTitle":"GPT Image 2.6 Flare","href":"/development/comfy-router/models/openai/gpt-image-2-6-flare/code"},{"title":"Use GPT Image 2.6 Sunburst with Comfy Router","sidebarTitle":"GPT Image 2.6 Sunburst","href":"/development/comfy-router/models/openai/gpt-image-2-6-sunburst/code"},{"title":"Use GPT Image 2 with Comfy Router","sidebarTitle":"GPT Image 2","href":"/development/comfy-router/models/openai/gpt-image-2/code"},{"title":"Use o3 with Comfy Router","sidebarTitle":"o3","href":"/development/comfy-router/models/openai/o3/code"}]},{"group":"Openrouter","pages":[{"title":"Use Chat Completions with Comfy Router","sidebarTitle":"Chat Completions","href":"/development/comfy-router/models/openrouter/chat-completions/code"}]},{"group":"Pika","pages":[{"title":"Use Pika 2.5 Image To Video with Comfy Router","sidebarTitle":"Pika 2.5 Image To Video","href":"/development/comfy-router/models/pika/pika-2-5-image-to-video/code"},{"title":"Use Pika 2.5 Text To Video with Comfy Router","sidebarTitle":"Pika 2.5 Text To Video","href":"/development/comfy-router/models/pika/pika-2-5-text-to-video/code"},{"title":"Use Pika H3 Flex Image To Video with Comfy Router","sidebarTitle":"Pika H3 Flex Image To Video","href":"/development/comfy-router/models/pika/pika-h3-flex-image-to-video/code"},{"title":"Use Pika H3 Flex Reference To Video with Comfy Router","sidebarTitle":"Pika H3 Flex Reference To Video","href":"/development/comfy-router/models/pika/pika-h3-flex-reference-to-video/code"},{"title":"Use Pika H3 Flex Text To Video with Comfy Router","sidebarTitle":"Pika H3 Flex Text To Video","href":"/development/comfy-router/models/pika/pika-h3-flex-text-to-video/code"},{"title":"Use Pika Music with Comfy Router","sidebarTitle":"Pika Music","href":"/development/comfy-router/models/pika/pika-music/code"},{"title":"Use Pika Sfx with Comfy Router","sidebarTitle":"Pika Sfx","href":"/development/comfy-router/models/pika/pika-sfx/code"},{"title":"Use Pika Soundtrack with Comfy Router","sidebarTitle":"Pika Soundtrack","href":"/development/comfy-router/models/pika/pika-soundtrack/code"}]},{"group":"Pixverse","pages":[{"title":"Use V3.5 with Comfy Router","sidebarTitle":"V3.5","href":"/development/comfy-router/models/pixverse/v3-5/code"},{"title":"Use V6 Max with Comfy Router","sidebarTitle":"V6 Max","href":"/development/comfy-router/models/pixverse/v6-max/code"},{"title":"Use V6 with Comfy Router","sidebarTitle":"V6","href":"/development/comfy-router/models/pixverse/v6/code"}]},{"group":"Pruna","pages":[{"title":"Use P Video 2 with Comfy Router","sidebarTitle":"P Video 2","href":"/development/comfy-router/models/pruna/p-video-2/code"}]},{"group":"Quiver","pages":[{"title":"Use Arrow 2 Telos with Comfy Router","sidebarTitle":"Arrow 2 Telos","href":"/development/comfy-router/models/quiver/arrow-2-telos/code"},{"title":"Use Arrow 2 with Comfy Router","sidebarTitle":"Arrow 2","href":"/development/comfy-router/models/quiver/arrow-2/code"}]},{"group":"Qwen","pages":[{"title":"Use Qwen Image 3.0 Pro with Comfy Router","sidebarTitle":"Qwen Image 3.0 Pro","href":"/development/comfy-router/models/qwen/qwen-image-3-0-pro/code"},{"title":"Use Qwen Image 3.0 with Comfy Router","sidebarTitle":"Qwen Image 3.0","href":"/development/comfy-router/models/qwen/qwen-image-3-0/code"}]},{"group":"Recraft","pages":[{"title":"Use Recraft V2 with Comfy Router","sidebarTitle":"Recraft V2","href":"/development/comfy-router/models/recraft/recraftv2/code"},{"title":"Use Recraft V3 with Comfy Router","sidebarTitle":"Recraft V3","href":"/development/comfy-router/models/recraft/recraftv3/code"},{"title":"Use Recraft V4.1 Pro Vector with Comfy Router","sidebarTitle":"Recraft V4.1 Pro Vector","href":"/development/comfy-router/models/recraft/recraftv4-1-pro-vector/code"},{"title":"Use Recraft V4.1 Pro with Comfy Router","sidebarTitle":"Recraft V4.1 Pro","href":"/development/comfy-router/models/recraft/recraftv4-1-pro/code"},{"title":"Use Recraft V4.1 Utility Pro Vector with Comfy Router","sidebarTitle":"Recraft V4.1 Utility Pro Vector","href":"/development/comfy-router/models/recraft/recraftv4-1-utility-pro-vector/code"},{"title":"Use Recraft V4.1 Utility Pro with Comfy Router","sidebarTitle":"Recraft V4.1 Utility Pro","href":"/development/comfy-router/models/recraft/recraftv4-1-utility-pro/code"},{"title":"Use Recraft V4.1 Utility Vector with Comfy Router","sidebarTitle":"Recraft V4.1 Utility Vector","href":"/development/comfy-router/models/recraft/recraftv4-1-utility-vector/code"},{"title":"Use Recraft V4.1 Utility with Comfy Router","sidebarTitle":"Recraft V4.1 Utility","href":"/development/comfy-router/models/recraft/recraftv4-1-utility/code"},{"title":"Use Recraft V4.1 Vector with Comfy Router","sidebarTitle":"Recraft V4.1 Vector","href":"/development/comfy-router/models/recraft/recraftv4-1-vector/code"},{"title":"Use Recraft V4.1 with Comfy Router","sidebarTitle":"Recraft V4.1","href":"/development/comfy-router/models/recraft/recraftv4-1/code"},{"title":"Use Recraft V4 Pro with Comfy Router","sidebarTitle":"Recraft V4 Pro","href":"/development/comfy-router/models/recraft/recraftv4-pro/code"},{"title":"Use Recraft V4 Styles Pro Vector with Comfy Router","sidebarTitle":"Recraft V4 Styles Pro Vector","href":"/development/comfy-router/models/recraft/recraftv4-styles-pro-vector/code"},{"title":"Use Recraft V4 Styles Pro with Comfy Router","sidebarTitle":"Recraft V4 Styles Pro","href":"/development/comfy-router/models/recraft/recraftv4-styles-pro/code"},{"title":"Use Recraft V4 Styles Vector with Comfy Router","sidebarTitle":"Recraft V4 Styles Vector","href":"/development/comfy-router/models/recraft/recraftv4-styles-vector/code"},{"title":"Use Recraft V4 Styles with Comfy Router","sidebarTitle":"Recraft V4 Styles","href":"/development/comfy-router/models/recraft/recraftv4-styles/code"},{"title":"Use Recraft V4 with Comfy Router","sidebarTitle":"Recraft V4","href":"/development/comfy-router/models/recraft/recraftv4/code"}]},{"group":"Runway","pages":[{"title":"Use Aleph 2 with Comfy Router","sidebarTitle":"Aleph 2","href":"/development/comfy-router/models/runway/aleph2/code"},{"title":"Use Gen 4 Image with Comfy Router","sidebarTitle":"Gen 4 Image","href":"/development/comfy-router/models/runway/gen4-image/code"},{"title":"Use Gen 4 Turbo with Comfy Router","sidebarTitle":"Gen 4 Turbo","href":"/development/comfy-router/models/runway/gen4-turbo/code"}]},{"group":"Stability","pages":[{"title":"Use Control Sketch with Comfy Router","sidebarTitle":"Control Sketch","href":"/development/comfy-router/models/stability/control-sketch/code"},{"title":"Use Control Structure with Comfy Router","sidebarTitle":"Control Structure","href":"/development/comfy-router/models/stability/control-structure/code"},{"title":"Use Control Style Transfer with Comfy Router","sidebarTitle":"Control Style Transfer","href":"/development/comfy-router/models/stability/control-style-transfer/code"},{"title":"Use Control Style with Comfy Router","sidebarTitle":"Control Style","href":"/development/comfy-router/models/stability/control-style/code"},{"title":"Use Edit Erase with Comfy Router","sidebarTitle":"Edit Erase","href":"/development/comfy-router/models/stability/edit-erase/code"},{"title":"Use Edit Inpaint with Comfy Router","sidebarTitle":"Edit Inpaint","href":"/development/comfy-router/models/stability/edit-inpaint/code"},{"title":"Use Edit Outpaint with Comfy Router","sidebarTitle":"Edit Outpaint","href":"/development/comfy-router/models/stability/edit-outpaint/code"},{"title":"Use Edit Remove Background with Comfy Router","sidebarTitle":"Edit Remove Background","href":"/development/comfy-router/models/stability/edit-remove-background/code"},{"title":"Use Edit Replace Background And Relight with Comfy Router","sidebarTitle":"Edit Replace Background And Relight","href":"/development/comfy-router/models/stability/edit-replace-background-and-relight/code"},{"title":"Use Edit Search And Recolor with Comfy Router","sidebarTitle":"Edit Search And Recolor","href":"/development/comfy-router/models/stability/edit-search-and-recolor/code"},{"title":"Use Edit Search And Replace with Comfy Router","sidebarTitle":"Edit Search And Replace","href":"/development/comfy-router/models/stability/edit-search-and-replace/code"},{"title":"Use Generate Core with Comfy Router","sidebarTitle":"Generate Core","href":"/development/comfy-router/models/stability/generate-core/code"},{"title":"Use Generate Ultra with Comfy Router","sidebarTitle":"Generate Ultra","href":"/development/comfy-router/models/stability/generate-ultra/code"},{"title":"Use Sd3.5 Flash with Comfy Router","sidebarTitle":"Sd3.5 Flash","href":"/development/comfy-router/models/stability/sd3-5-flash/code"},{"title":"Use Sd3.5 Large Turbo with Comfy Router","sidebarTitle":"Sd3.5 Large Turbo","href":"/development/comfy-router/models/stability/sd3-5-large-turbo/code"},{"title":"Use Sd3.5 Large with Comfy Router","sidebarTitle":"Sd3.5 Large","href":"/development/comfy-router/models/stability/sd3-5-large/code"},{"title":"Use Sd3.5 Medium with Comfy Router","sidebarTitle":"Sd3.5 Medium","href":"/development/comfy-router/models/stability/sd3-5-medium/code"},{"title":"Use Sdxl 1.0 Image To Image with Comfy Router","sidebarTitle":"Sdxl 1.0 Image To Image","href":"/development/comfy-router/models/stability/sdxl-1-0-image-to-image/code"},{"title":"Use Sdxl 1.0 Masking with Comfy Router","sidebarTitle":"Sdxl 1.0 Masking","href":"/development/comfy-router/models/stability/sdxl-1-0-masking/code"},{"title":"Use Sdxl 1.0 Text To Image with Comfy Router","sidebarTitle":"Sdxl 1.0 Text To Image","href":"/development/comfy-router/models/stability/sdxl-1-0-text-to-image/code"},{"title":"Use Stable Fast 3D with Comfy Router","sidebarTitle":"Stable Fast 3D","href":"/development/comfy-router/models/stability/stable-fast-3d/code"},{"title":"Use Stable Point Aware 3D with Comfy Router","sidebarTitle":"Stable Point Aware 3D","href":"/development/comfy-router/models/stability/stable-point-aware-3d/code"},{"title":"Use Upscale Conservative with Comfy Router","sidebarTitle":"Upscale Conservative","href":"/development/comfy-router/models/stability/upscale-conservative/code"},{"title":"Use Upscale Creative with Comfy Router","sidebarTitle":"Upscale Creative","href":"/development/comfy-router/models/stability/upscale-creative/code"},{"title":"Use Upscale Fast with Comfy Router","description":"Call stability/upscale-fast through Comfy Router: endpoint, request shape and the response Router returns.","sidebarTitle":"Upscale Fast","href":"/development/comfy-router/models/stability/upscale-fast/code"}]},{"group":"Synclabs","pages":[{"title":"Use Sync 3 with Comfy Router","sidebarTitle":"Sync 3","href":"/development/comfy-router/models/synclabs/sync-3/code"}]},{"group":"Tencent","pages":[{"title":"Use Hunyuan 3D Part with Comfy Router","description":"Call tencent/hunyuan-3d-part through Comfy Router: endpoint, request shape and the response Router returns.","sidebarTitle":"Hunyuan 3D Part","href":"/development/comfy-router/models/tencent/hunyuan-3d-part/code"},{"title":"Use Hunyuan 3D Smart Topology with Comfy Router","sidebarTitle":"Hunyuan 3D Smart Topology","href":"/development/comfy-router/models/tencent/hunyuan-3d-smart-topology/code"},{"title":"Use Hunyuan 3D Texture Edit with Comfy Router","sidebarTitle":"Hunyuan 3D Texture Edit","href":"/development/comfy-router/models/tencent/hunyuan-3d-texture-edit/code"},{"title":"Use Hunyuan 3D Uv with Comfy Router","sidebarTitle":"Hunyuan 3D Uv","href":"/development/comfy-router/models/tencent/hunyuan-3d-uv/code"}]},{"group":"Typesafe","pages":[{"title":"Use Jev 1.13.0 with Comfy Router","sidebarTitle":"Jev 1.13.0","href":"/development/comfy-router/models/typesafe/jev-1-13-0/code"},{"title":"Use Jev 1.14.0 with Comfy Router","sidebarTitle":"Jev 1.14.0","href":"/development/comfy-router/models/typesafe/jev-1-14-0/code"}]},{"group":"Veed","pages":[{"title":"Use Clean Audio Video with Comfy Router","sidebarTitle":"Clean Audio Video","href":"/development/comfy-router/models/veed/clean-audio-video/code"},{"title":"Use Clean Audio with Comfy Router","sidebarTitle":"Clean Audio","href":"/development/comfy-router/models/veed/clean-audio/code"},{"title":"Use Fabric 1.0 with Comfy Router","sidebarTitle":"Fabric 1.0","href":"/development/comfy-router/models/veed/fabric-1-0/code"},{"title":"Use Lipsync 2.0 with Comfy Router","sidebarTitle":"Lipsync 2.0","href":"/development/comfy-router/models/veed/lipsync-2-0/code"},{"title":"Use Video Background Removal Fast with Comfy Router","sidebarTitle":"Video Background Removal Fast","href":"/development/comfy-router/models/veed/video-background-removal-fast/code"},{"title":"Use Video Background Removal Green Screen with Comfy Router","sidebarTitle":"Video Background Removal Green Screen","href":"/development/comfy-router/models/veed/video-background-removal-green-screen/code"},{"title":"Use Video Background Removal with Comfy Router","sidebarTitle":"Video Background Removal","href":"/development/comfy-router/models/veed/video-background-removal/code"}]},{"group":"Veo","pages":[{"title":"Use Veo 3.1 Fast Generate 001 with Comfy Router","sidebarTitle":"Veo 3.1 Fast Generate 001","href":"/development/comfy-router/models/veo/veo-3-1-fast-generate-001/code"},{"title":"Use Veo 3.1 Generate 001 with Comfy Router","sidebarTitle":"Veo 3.1 Generate 001","href":"/development/comfy-router/models/veo/veo-3-1-generate-001/code"},{"title":"Use Veo 3.1 Lite Generate 001 with Comfy Router","sidebarTitle":"Veo 3.1 Lite Generate 001","href":"/development/comfy-router/models/veo/veo-3-1-lite-generate-001/code"}]},{"group":"Wan","pages":[{"title":"Use HappyHorse 1.0 I2V with Comfy Router","sidebarTitle":"HappyHorse 1.0 I2V","href":"/development/comfy-router/models/wan/happyhorse-1-0-i2v/code"},{"title":"Use HappyHorse 1.0 R2V with Comfy Router","sidebarTitle":"HappyHorse 1.0 R2V","href":"/development/comfy-router/models/wan/happyhorse-1-0-r2v/code"},{"title":"Use HappyHorse 1.0 T2V with Comfy Router","sidebarTitle":"HappyHorse 1.0 T2V","href":"/development/comfy-router/models/wan/happyhorse-1-0-t2v/code"},{"title":"Use HappyHorse 1.0 Video Edit with Comfy Router","sidebarTitle":"HappyHorse 1.0 Video Edit","href":"/development/comfy-router/models/wan/happyhorse-1-0-video-edit/code"},{"title":"Use HappyHorse 1.1 I2V with Comfy Router","sidebarTitle":"HappyHorse 1.1 I2V","href":"/development/comfy-router/models/wan/happyhorse-1-1-i2v/code"},{"title":"Use HappyHorse 1.1 R2V with Comfy Router","sidebarTitle":"HappyHorse 1.1 R2V","href":"/development/comfy-router/models/wan/happyhorse-1-1-r2v/code"},{"title":"Use HappyHorse 1.1 T2V with Comfy Router","sidebarTitle":"HappyHorse 1.1 T2V","href":"/development/comfy-router/models/wan/happyhorse-1-1-t2v/code"},{"title":"Use Wan 2.5 I2I Preview with Comfy Router","sidebarTitle":"Wan 2.5 I2I Preview","href":"/development/comfy-router/models/wan/wan2-5-i2i-preview/code"},{"title":"Use Wan 2.5 I2V Preview with Comfy Router","sidebarTitle":"Wan 2.5 I2V Preview","href":"/development/comfy-router/models/wan/wan2-5-i2v-preview/code"},{"title":"Use Wan 2.5 T2I Preview with Comfy Router","sidebarTitle":"Wan 2.5 T2I Preview","href":"/development/comfy-router/models/wan/wan2-5-t2i-preview/code"},{"title":"Use Wan 2.5 T2V Preview with Comfy Router","sidebarTitle":"Wan 2.5 T2V Preview","href":"/development/comfy-router/models/wan/wan2-5-t2v-preview/code"},{"title":"Use Wan 2.6 I2V with Comfy Router","sidebarTitle":"Wan 2.6 I2V","href":"/development/comfy-router/models/wan/wan2-6-i2v/code"},{"title":"Use Wan 2.6 R2V with Comfy Router","sidebarTitle":"Wan 2.6 R2V","href":"/development/comfy-router/models/wan/wan2-6-r2v/code"},{"title":"Use Wan 2.6 T2V with Comfy Router","sidebarTitle":"Wan 2.6 T2V","href":"/development/comfy-router/models/wan/wan2-6-t2v/code"},{"title":"Use Wan 2.7 I2V with Comfy Router","sidebarTitle":"Wan 2.7 I2V","href":"/development/comfy-router/models/wan/wan2-7-i2v/code"},{"title":"Use Wan 2.7 R2V with Comfy Router","sidebarTitle":"Wan 2.7 R2V","href":"/development/comfy-router/models/wan/wan2-7-r2v/code"},{"title":"Use Wan 2.7 T2V with Comfy Router","sidebarTitle":"Wan 2.7 T2V","href":"/development/comfy-router/models/wan/wan2-7-t2v/code"},{"title":"Use Wan 2.7 Video Edit with Comfy Router","sidebarTitle":"Wan 2.7 Video Edit","href":"/development/comfy-router/models/wan/wan2-7-videoedit/code"},{"title":"Use Wan 3.0 Video Prime with Comfy Router","sidebarTitle":"Wan 3.0 Video Prime","href":"/development/comfy-router/models/wan/wan3-0-video-prime/code"},{"title":"Use Wan 3.0 Video with Comfy Router","sidebarTitle":"Wan 3.0 Video","href":"/development/comfy-router/models/wan/wan3-0-video/code"}]},{"group":"WaveSpeed","pages":[{"title":"Use Flashvsr with Comfy Router","sidebarTitle":"Flashvsr","href":"/development/comfy-router/models/wavespeed/flashvsr/code"},{"title":"Use Seedvr 2 with Comfy Router","sidebarTitle":"Seedvr 2","href":"/development/comfy-router/models/wavespeed/seedvr2/code"},{"title":"Use Ultimate Image Upscaler with Comfy Router","sidebarTitle":"Ultimate Image Upscaler","href":"/development/comfy-router/models/wavespeed/ultimate-image-upscaler/code"}]},{"group":"xAI","pages":[{"title":"Use Grok Imagine Image 2.0 with Comfy Router","sidebarTitle":"Grok Imagine Image 2.0","href":"/development/comfy-router/models/xai/grok-imagine-image-2-0/code"},{"title":"Use Grok Imagine Image Pro with Comfy Router","sidebarTitle":"Grok Imagine Image Pro","href":"/development/comfy-router/models/xai/grok-imagine-image-pro/code"},{"title":"Use Grok Imagine Image Quality with Comfy Router","sidebarTitle":"Grok Imagine Image Quality","href":"/development/comfy-router/models/xai/grok-imagine-image-quality/code"},{"title":"Use Grok Imagine Image with Comfy Router","sidebarTitle":"Grok Imagine Image","href":"/development/comfy-router/models/xai/grok-imagine-image/code"},{"title":"Use Grok Imagine Video 1.5 Lite with Comfy Router","sidebarTitle":"Grok Imagine Video 1.5 Lite","href":"/development/comfy-router/models/xai/grok-imagine-video-1-5-lite/code"},{"title":"Use Grok Imagine Video 1.5 Preview with Comfy Router","sidebarTitle":"Grok Imagine Video 1.5 Preview","href":"/development/comfy-router/models/xai/grok-imagine-video-1-5-preview/code"},{"title":"Use Grok Imagine Video 1.5 with Comfy Router","sidebarTitle":"Grok Imagine Video 1.5","href":"/development/comfy-router/models/xai/grok-imagine-video-1-5/code"},{"title":"Use Grok Imagine Video with Comfy Router","sidebarTitle":"Grok Imagine Video","href":"/development/comfy-router/models/xai/grok-imagine-video/code"}]}]}]}]},{"tab":"Agent tools","pages":[{"title":"Agent tools","href":"/agent-tools"}]},{"tab":"Built-in Nodes","pages":[{"title":"Built-in Nodes","href":"/built-in-nodes/overview"}]},{"tab":"Developer","pages":[{"title":"Developer","href":"/development/overview"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/contact-support"}]}]},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"pages":[{"title":"zh","href":"/zh/development/comfy-router/models/synclabs/sync-3/code"}]},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ja","href":"/ja/development/comfy-router/models/synclabs/sync-3/code"}]},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ko","href":"/ko/development/comfy-router/models/synclabs/sync-3/code"}]},{"language":"es","pages":[{"title":"es","href":"/es/development/comfy-router/models/synclabs/sync-3/code"}]}]},"basePath":"","title":"Use Sync 3 with Comfy Router - ComfyUI","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}