This ComfyUI workflow, titled 'Stability Audio 2.5: Audio Inpainting,' is designed to help users complete or extend audio tracks using advanced AI techniques. By leveraging the StabilityAudioInpaint node, this workflow allows users to upload an existing audio file and generate additional audio content that seamlessly integrates with the original track. The process involves loading the initial audio using the LoadAudio node, applying the inpainting model via the StabilityAudioInpaint node, and then saving the output with the SaveAudioMP3 node. This workflow is particularly useful for musicians, podcasters, and content creators who need to fill in gaps or extend audio content without noticeable transitions. The use of the Stable Audio model ensures high-quality results that maintain the original audio's tone and style.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
GET https://comfy.org/workflows/download/6c6b1b1f2443.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run this workflow (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
wf = client.workflows.from_file("workflow_api.json")
job = client.run(wf)
for output in job.get_outputs("<output-node-id>"):
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














