Go bindings to interract with RunComfy serverless API.
Based on the official API reference.
go get -u github.com/iguanesolutions/go-runcomfyserverless
A complete code usage example can be found in the example folder. It executes a custom Flux Kontext workflow.
Execute it with:
go run example/main.go
Note: deployment was warn
Job sent: f033d089-3518-49c4-8abb-ef53018f7260
started ! (queued for 10.407347s)
still in progress
still in progress
still in progress
still in progress
still in progress
still in progress
Done (generation took 1m9.997048083s -not counting wait time-):
ComfyUI_00021_.png
Job sent: b6f21678-6a84-4e0a-97f0-67563dbfca50
started ! (queued for 10.545094334s)
still in progress
still in progress
^C Cancelling request
Cancel request status: cancellation_requested
canceled