stable-diffusion-aws-extension/docs/en/developer-guide/api_inference_process.md

688 B

Asynchronous inference

  • Create inference job through CreateInferenceJob
  • Based on the presigned address api_params_s3_upload_url returned by CreatInferenceJob Upload inference parameters
  • Start inference job through StartInferenceJob
  • Obtain inference job through GetInferenceJob, check the status, and stop the request if successful

Real-time inference

  • Create inference job through CreateInferenceJob
  • Based on the pre signed address api_params_s3_upload_url returned by CreatInferenceJob Upload inference parameters
  • Starting the inference job through StartInferenceJob, the real-time inference job will obtain the inference result in this interface