Package ai.runapi.qwenimage.resources
Class EditImageResource
java.lang.Object
ai.runapi.qwenimage.resources.EditImageResource
Edit Image operations.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEditImageResource(ai.runapi.core.http.HttpTransport transport, ai.runapi.core.ClientOptions options) Creates a resource bound to the supplied transport and client options. -
Method Summary
Modifier and TypeMethodDescriptionai.runapi.core.polling.TaskCreateResponsecreate(EditImageParams params) Creates a edit image task.ai.runapi.core.polling.TaskCreateResponsecreate(EditImageParams params, ai.runapi.core.RequestOptions options) Creates a edit image task with per-request options.Retrieves a edit image task by ID.Retrieves a edit image task by ID with per-request options.run(EditImageParams params) Creates a edit image task and polls until it completes.run(EditImageParams params, ai.runapi.core.RequestOptions options) Creates a edit image task with per-request options and polls until it completes.
-
Field Details
-
ENDPOINT
API endpoint path for edit image operations.- See Also:
-
-
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
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
Retrieves a edit image task by ID. -
get
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.
-