The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
fix(KlingLipSyncAudioToVideoNode): convert audio to mp3 format (#10811)
Alexander Piskunb75d349f25cc
diff --git a/comfy_api_nodes/nodes_kling.py b/comfy_api_nodes/nodes_kling.pyindex 7b23e9cf9..36852038b 100644--- a/comfy_api_nodes/nodes_kling.py+++ b/comfy_api_nodes/nodes_kling.py@@ -518,7 +518,9 @@ async def execute_lipsync(# Upload the audio file to Comfy API and get download URLif audio:- audio_url = await upload_audio_to_comfyapi(cls, audio)+ audio_url = await upload_audio_to_comfyapi(+ cls, audio, container_format="mp3", codec_name="libmp3lame", mime_type="audio/mpeg", filename="output.mp3"+ )logging.info("Uploaded audio to Comfy API. URL: %s", audio_url)else:audio_url = None