Python Quickstart Guide
Below is a minimal Python snippet to demonstrate how to:
- POST to the
/run
endpoint with your input data. - Poll the
/status/<ID>
endpoint until the prediction is completed. - Retrieve the final results from the
"output"
field.
For detailed documentation (including advanced parameters and usage), please refer to:
- Official API Documentation
- tryon-gradio-app (interactive Gradio UI example)
- ComfyUI-FASHN (node-based workflow integration)
Minimal Python Example
This snippet demonstrates a basic request using model and garment image URLs. You can also adapt the code to send local images in Base64 format.