Index

A B C E G I M R S T U 
All Classes and Interfaces|All Packages|Constant Field Values

A

action() - Method in class ai.runapi.recraft.types.RemoveBackgroundParams
Returns the RunAPI action key for this request.
action() - Method in class ai.runapi.recraft.types.UpscaleImageParams
Returns the RunAPI action key for this request.
ai.runapi.recraft - package ai.runapi.recraft
 
ai.runapi.recraft.resources - package ai.runapi.recraft.resources
 
ai.runapi.recraft.types - package ai.runapi.recraft.types
 
apiKey(String) - Method in class ai.runapi.recraft.RecraftClient.Builder
Sets the API key.

B

baseUrl(String) - Method in class ai.runapi.recraft.RecraftClient.Builder
Sets the RunAPI base URL.
baseUrl(URI) - Method in class ai.runapi.recraft.RecraftClient.Builder
Sets the RunAPI base URL from a URI.
build() - Method in class ai.runapi.recraft.RecraftClient.Builder
Builds an immutable RecraftClient.
build() - Method in class ai.runapi.recraft.types.RemoveBackgroundParams.Builder
Builds immutable remove background parameters.
build() - Method in class ai.runapi.recraft.types.UpscaleImageParams.Builder
Builds immutable upscale image parameters.
builder() - Static method in class ai.runapi.recraft.RecraftClient
Creates a new RecraftClient builder.
builder() - Static method in class ai.runapi.recraft.types.RemoveBackgroundParams
Creates a new RemoveBackgroundParams builder.
builder() - Static method in class ai.runapi.recraft.types.UpscaleImageParams
Creates a new UpscaleImageParams builder.

C

callbackUrl(String) - Method in class ai.runapi.recraft.types.RemoveBackgroundParams.Builder
Sets the webhook URL for task completion notifications.
callbackUrl(String) - Method in class ai.runapi.recraft.types.UpscaleImageParams.Builder
Sets the webhook URL for task completion notifications.
CompletedRemoveBackgroundResponse - Class in ai.runapi.recraft.types
Completed response for remove background operations.
CompletedRemoveBackgroundResponse() - Constructor for class ai.runapi.recraft.types.CompletedRemoveBackgroundResponse
 
CompletedUpscaleImageResponse - Class in ai.runapi.recraft.types
Completed response for upscale image operations.
CompletedUpscaleImageResponse() - Constructor for class ai.runapi.recraft.types.CompletedUpscaleImageResponse
 
create(RemoveBackgroundParams) - Method in class ai.runapi.recraft.resources.RemoveBackgroundResource
Creates a remove background task.
create(RemoveBackgroundParams, RequestOptions) - Method in class ai.runapi.recraft.resources.RemoveBackgroundResource
Creates a remove background task with per-request options.
create(UpscaleImageParams) - Method in class ai.runapi.recraft.resources.UpscaleImageResource
Creates a upscale image task.
create(UpscaleImageParams, RequestOptions) - Method in class ai.runapi.recraft.resources.UpscaleImageResource
Creates a upscale image task with per-request options.

E

ENDPOINT - Static variable in class ai.runapi.recraft.resources.RemoveBackgroundResource
API endpoint path for remove background operations.
ENDPOINT - Static variable in class ai.runapi.recraft.resources.UpscaleImageResource
API endpoint path for upscale image operations.
ensureResultPresent() - Method in class ai.runapi.recraft.types.ImagesTaskResponse
Ensures a completed response contains its expected result field.
extraFields() - Method in class ai.runapi.recraft.types.Image
Returns unrecognized response fields preserved from the API response.
extraFields() - Method in class ai.runapi.recraft.types.ImagesTaskResponse
Returns unrecognized response fields preserved from the API response.

G

get(String) - Method in class ai.runapi.recraft.resources.RemoveBackgroundResource
Retrieves a remove background task by ID.
get(String) - Method in class ai.runapi.recraft.resources.UpscaleImageResource
Retrieves a upscale image task by ID.
get(String, RequestOptions) - Method in class ai.runapi.recraft.resources.RemoveBackgroundResource
Retrieves a remove background task by ID with per-request options.
get(String, RequestOptions) - Method in class ai.runapi.recraft.resources.UpscaleImageResource
Retrieves a upscale image task by ID with per-request options.
getError() - Method in class ai.runapi.recraft.types.ImagesTaskResponse
Returns the task error message, if the task failed.
getId() - Method in class ai.runapi.recraft.types.ImagesTaskResponse
Returns the task ID.
getImages() - Method in class ai.runapi.recraft.types.ImagesTaskResponse
Returns the generated image results, when present.
getStatus() - Method in class ai.runapi.recraft.types.ImagesTaskResponse
Returns the current task status.
getUrl() - Method in class ai.runapi.recraft.types.Image
Returns the media URL.

I

Image - Class in ai.runapi.recraft.types
Media result URL.
Image() - Constructor for class ai.runapi.recraft.types.Image
 
ImagesTaskResponse - Class in ai.runapi.recraft.types
Task response base containing generated image results.
ImagesTaskResponse() - Constructor for class ai.runapi.recraft.types.ImagesTaskResponse
 

M

model(RemoveBackgroundModel) - Method in class ai.runapi.recraft.types.RemoveBackgroundParams.Builder
Sets the model slug using a typed model value.
model(UpscaleImageModel) - Method in class ai.runapi.recraft.types.UpscaleImageParams.Builder
Sets the model slug using a typed model value.
model(String) - Method in class ai.runapi.recraft.types.RemoveBackgroundParams.Builder
Sets the model slug using a string value.
model(String) - Method in class ai.runapi.recraft.types.UpscaleImageParams.Builder
Sets the model slug using a string value.

R

RECRAFT_CRISP_UPSCALE - Static variable in class ai.runapi.recraft.types.UpscaleImageModel
recraft-crisp-upscale model slug.
RECRAFT_REMOVE_BACKGROUND - Static variable in class ai.runapi.recraft.types.RemoveBackgroundModel
recraft-remove-background model slug.
RecraftClient - Class in ai.runapi.recraft
Recraft model-family Java SDK client.
RecraftClient.Builder - Class in ai.runapi.recraft
Builder for RecraftClient.
removeBackground() - Method in class ai.runapi.recraft.RecraftClient
Remove Background operations.
RemoveBackgroundModel - Class in ai.runapi.recraft.types
Model slug for remove background operations.
RemoveBackgroundModel(String) - Constructor for class ai.runapi.recraft.types.RemoveBackgroundModel
Creates a model value from a literal model slug.
RemoveBackgroundParams - Class in ai.runapi.recraft.types
Parameters for remove background operations.
RemoveBackgroundParams.Builder - Class in ai.runapi.recraft.types
RemoveBackgroundResource - Class in ai.runapi.recraft.resources
Remove Background operations.
RemoveBackgroundResource(HttpTransport, ClientOptions) - Constructor for class ai.runapi.recraft.resources.RemoveBackgroundResource
Creates a resource bound to the supplied transport and client options.
RemoveBackgroundResponse - Class in ai.runapi.recraft.types
Response for remove background operations.
RemoveBackgroundResponse() - Constructor for class ai.runapi.recraft.types.RemoveBackgroundResponse
 
run(RemoveBackgroundParams) - Method in class ai.runapi.recraft.resources.RemoveBackgroundResource
Creates a remove background task and polls until it completes.
run(RemoveBackgroundParams, RequestOptions) - Method in class ai.runapi.recraft.resources.RemoveBackgroundResource
Creates a remove background task with per-request options and polls until it completes.
run(UpscaleImageParams) - Method in class ai.runapi.recraft.resources.UpscaleImageResource
Creates a upscale image task and polls until it completes.
run(UpscaleImageParams, RequestOptions) - Method in class ai.runapi.recraft.resources.UpscaleImageResource
Creates a upscale image task with per-request options and polls until it completes.

S

sourceImageUrl(String) - Method in class ai.runapi.recraft.types.RemoveBackgroundParams.Builder
Sets the source image URL.
sourceImageUrl(String) - Method in class ai.runapi.recraft.types.UpscaleImageParams.Builder
Sets the source image URL.

T

toMap() - Method in class ai.runapi.recraft.types.RemoveBackgroundParams
Converts these parameters to the JSON request body shape.
toMap() - Method in class ai.runapi.recraft.types.UpscaleImageParams
Converts these parameters to the JSON request body shape.
transport(HttpTransport) - Method in class ai.runapi.recraft.RecraftClient.Builder
Sets a custom HTTP transport.

U

upscaleImage() - Method in class ai.runapi.recraft.RecraftClient
Upscale Image operations.
UpscaleImageModel - Class in ai.runapi.recraft.types
Model slug for upscale image operations.
UpscaleImageModel(String) - Constructor for class ai.runapi.recraft.types.UpscaleImageModel
Creates a model value from a literal model slug.
UpscaleImageParams - Class in ai.runapi.recraft.types
Parameters for upscale image operations.
UpscaleImageParams.Builder - Class in ai.runapi.recraft.types
Builder for UpscaleImageParams.
UpscaleImageResource - Class in ai.runapi.recraft.resources
Upscale Image operations.
UpscaleImageResource(HttpTransport, ClientOptions) - Constructor for class ai.runapi.recraft.resources.UpscaleImageResource
Creates a resource bound to the supplied transport and client options.
UpscaleImageResponse - Class in ai.runapi.recraft.types
Response for upscale image operations.
UpscaleImageResponse() - Constructor for class ai.runapi.recraft.types.UpscaleImageResponse
 
A B C E G I M R S T U 
All Classes and Interfaces|All Packages|Constant Field Values