RunPod-Fooocus-API
RunPod-Fooocus-API copied to clipboard
No Image Output or Preview Received from runpod-fooocus-api on Completed Requests
We are experiencing issues while testing the POST request to the https://api.runpod.ai/v2/secret_key/runsync
endpoint. Our serverless setup utilizes the 3wad/runpod-fooocus-api:0.4.1.0-standalone
image, and despite successfully completing the request, we are not receiving the expected job results or previews.
Current Behavior
When sending the POST request to initiate a text-to-image generation, the response indicates that the status is COMPLETED
, but the job_result
and job_step_preview
fields remain null
. This issue prevents us from retrieving any image data or previews.
Request Details
Endpoint: https://api.runpod.ai/v2/secret_key/runsync
Request Body:
{
"input": {
"api_name": "txt2img",
"prompt": "A ball",
"negative_prompt": "",
"style_selections": [],
"performance_selection": "Speed",
"aspect_ratios_selection": "1024*1024",
"image_number": 1,
"image_seed": -1,
"save_extension": "png",
"require_base64": true,
"async_process": true,
"preview_url": "https:/endpoint/previews",
"preview_headers": "{"Cookie":"foo=bar"}"
}
}
Response Received:
{
"delayTime": 391,
"executionTime": 48,
"id": "sync-184706f0-8300-482a-a424-7548483769fe-u1",
"output": {
"job_id": "d206eafb-c69e-4f75-b1de-ad0b0e7ae49b",
"job_progress": 0,
"job_result": null,
"job_stage": "WAITING",
"job_status": null,
"job_step_preview": null,
"job_type": "Text to Image"
},
"status": "COMPLETED"
}
Expected Behavior
We expect the following upon successful request completion:
-
job_result
to contain the image or data URL(s). -
job_step_preview
to provide incremental previews if available. - A
job_progress
update reflecting the progress of the job beyond 0. - An indication of success or failure in the
job_status
field.
Environment Details
-
Image Used:
3wad/runpod-fooocus-api:0.4.1.0-standalone
- Testing Tools: Postman (or relevant API testing tool)
Steps to Reproduce
- Set up the serverless function using the
3wad/runpod-fooocus-api:0.4.1.0-standalone
image. - Send a POST request to the endpoint
https://api.runpod.ai/v2/secret_key/runsync
with the provided request body. - Observe the response and note the absence of expected job results and previews.
Additional Information
- We have ensured that the
preview_url
andpreview_headers
as provided on the docs , but no such data is arriving at our endpoint. - Any insights into whether this is an API misconfiguration or a bug in the image would be greatly appreciated.
Request for Help
We are seeking assistance to:
- Identify potential misconfigurations in our request or setup.
- Understand any additional requirements for successful API operation.
- Resolve the issue to retrieve and handle image generation results correctly.