Class EditImageResource

java.lang.Object
ai.runapi.qwenimage.resources.EditImageResource

public final class EditImageResource extends Object
Edit Image operations.
  • Field Details

  • Constructor Details

    • EditImageResource

      public EditImageResource(ai.runapi.core.http.HttpTransport transport, ai.runapi.core.ClientOptions options)
      Creates a resource bound to the supplied transport and client options.
  • Method Details

    • create

      public ai.runapi.core.polling.TaskCreateResponse create(EditImageParams params)
      Creates a edit image task.
    • create

      public ai.runapi.core.polling.TaskCreateResponse create(EditImageParams params, ai.runapi.core.RequestOptions options)
      Creates a edit image task with per-request options.
    • get

      public EditImageResponse get(String id)
      Retrieves a edit image task by ID.
    • get

      public EditImageResponse get(String id, ai.runapi.core.RequestOptions options)
      Retrieves a edit image task by ID with per-request options.
    • run

      Creates a edit image task and polls until it completes.
    • run

      public CompletedEditImageResponse run(EditImageParams params, ai.runapi.core.RequestOptions options)
      Creates a edit image task with per-request options and polls until it completes.