Files
2026-01-26 11:40:11 +08:00

14 lines
671 B
Python

# This file is auto-generated by LitServe.
# Disable auto-generation by setting `generate_client_file=False` in `LitServer.run()`.
import requests
request_data = {
"prompt": "Create realistic studio photo with real people model standing and wearing this garment, in white studio, Keep original model if present, or generate appropriate model, Standing pose, facing camera.",
"image_path":"aida-results/result_38151e0a-f83b-11f0-89f6-0242ac130002.png",
"infer_step":4,
"tasks_id":"123456-123"
}
response = requests.post("http://127.0.0.1:10090//api/v1/to_product", json=request_data)
print(f"Status: {response.status_code}\nResponse:\n {response.text}")