mirror of
https://github.com/LukeHagar/comfy-deploy-python.git
synced 2025-12-06 04:19:25 +00:00
init
This commit is contained in:
17
USAGE.md
Normal file
17
USAGE.md
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- Start SDK Example Usage [usage] -->
|
||||
```python
|
||||
import comfydeploy
|
||||
|
||||
s = comfydeploy.ComfyDeploy(
|
||||
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
|
||||
)
|
||||
|
||||
|
||||
res = s.run.get(run_id='<value>')
|
||||
|
||||
if res.object is not None:
|
||||
# handle response
|
||||
pass
|
||||
|
||||
```
|
||||
<!-- End SDK Example Usage [usage] -->
|
||||
Reference in New Issue
Block a user