Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

get image of an ongoing async run  #11

@CyrusVorwald

Description

@CyrusVorwald

I have an async RunPod call that I get the image of when the RunPod job is COMPLETED. However, I am trying to figure out how to get the image of a running process, similar to mrhan1993/Fooocus-API#51. This means, in addition to the RunPod call being async, the Fooocus API call also needs to be async.

Let's say I have the following:

  • RunPod endpoint at https://api.runpod.ai/v2/abcd1234
  • Call run at https://api.runpod.ai/v2/abcd1234/run
  • I receive back a completed RunPod job ID that looks like this:
    {
    "delayTime": 1350,
    "executionTime": 50,
    "id": "7a857de9-e180-4226-be6b-1a1585c597cd-u1",
    "output": {
    "job_id": "3d653995-23ea-4311-bfee-dec98d8fca8c",
    "job_progress": 0,
    "job_result": null,
    "job_stage": "WAITING",
    "job_status": null,
    "job_step_preview": null,
    "job_type": "Text to Image"
    },
    "status": "COMPLETED"
    }

But I am not sure what to do with the Fooocus job id, 3d653995-23ea-4311-bfee-dec98d8fca8c, or what the HTTP request to the Fooocus API would be in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementPossible new feature or improvement request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions