Index

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

A

action() - Method in class ai.runapi.flux2.types.RemixImageParams
Returns the RunAPI action key for this request.
action() - Method in class ai.runapi.flux2.types.TextToImageParams
Returns the RunAPI action key for this request.
ai.runapi.flux2 - package ai.runapi.flux2
 
ai.runapi.flux2.resources - package ai.runapi.flux2.resources
 
ai.runapi.flux2.types - package ai.runapi.flux2.types
 
apiKey(String) - Method in class ai.runapi.flux2.Flux2Client.Builder
Sets the API key.
aspectRatio(String) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the output aspect ratio.
aspectRatio(String) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the output aspect ratio.

B

baseUrl(String) - Method in class ai.runapi.flux2.Flux2Client.Builder
Sets the RunAPI base URL.
baseUrl(URI) - Method in class ai.runapi.flux2.Flux2Client.Builder
Sets the RunAPI base URL from a URI.
build() - Method in class ai.runapi.flux2.Flux2Client.Builder
Builds an immutable Flux2Client.
build() - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Builds immutable remix image parameters.
build() - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Builds immutable text to image parameters.
builder() - Static method in class ai.runapi.flux2.Flux2Client
Creates a new Flux2Client builder.
builder() - Static method in class ai.runapi.flux2.types.RemixImageParams
Creates a new RemixImageParams builder.
builder() - Static method in class ai.runapi.flux2.types.TextToImageParams
Creates a new TextToImageParams builder.

C

callbackUrl(String) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the webhook URL for task completion notifications.
callbackUrl(String) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the webhook URL for task completion notifications.
CompletedRemixImageResponse - Class in ai.runapi.flux2.types
Completed response for remix image operations.
CompletedRemixImageResponse() - Constructor for class ai.runapi.flux2.types.CompletedRemixImageResponse
 
CompletedTextToImageResponse - Class in ai.runapi.flux2.types
Completed response for text to image operations.
CompletedTextToImageResponse() - Constructor for class ai.runapi.flux2.types.CompletedTextToImageResponse
 
create(RemixImageParams) - Method in class ai.runapi.flux2.resources.RemixImageResource
Creates a remix image task.
create(RemixImageParams, RequestOptions) - Method in class ai.runapi.flux2.resources.RemixImageResource
Creates a remix image task with per-request options.
create(TextToImageParams) - Method in class ai.runapi.flux2.resources.TextToImageResource
Creates a text to image task.
create(TextToImageParams, RequestOptions) - Method in class ai.runapi.flux2.resources.TextToImageResource
Creates a text to image task with per-request options.

E

enableSafetyChecker(boolean) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the content safety checker toggle.
enableSafetyChecker(boolean) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the content safety checker toggle.
ENDPOINT - Static variable in class ai.runapi.flux2.resources.RemixImageResource
API endpoint path for remix image operations.
ENDPOINT - Static variable in class ai.runapi.flux2.resources.TextToImageResource
API endpoint path for text to image operations.
ensureResultPresent() - Method in class ai.runapi.flux2.types.ImagesTaskResponse
Ensures a completed response contains its expected result field.
extraFields() - Method in class ai.runapi.flux2.types.Image
Returns unrecognized response fields preserved from the API response.
extraFields() - Method in class ai.runapi.flux2.types.ImagesTaskResponse
Returns unrecognized response fields preserved from the API response.

F

FLUX_2_FLEX_REMIX_IMAGE - Static variable in class ai.runapi.flux2.types.RemixImageModel
flux-2-flex-remix-image model slug.
FLUX_2_FLEX_TEXT_TO_IMAGE - Static variable in class ai.runapi.flux2.types.TextToImageModel
flux-2-flex-text-to-image model slug.
FLUX_2_MAX_REMIX_IMAGE - Static variable in class ai.runapi.flux2.types.RemixImageModel
flux-2-max-remix-image model slug.
FLUX_2_MAX_TEXT_TO_IMAGE - Static variable in class ai.runapi.flux2.types.TextToImageModel
flux-2-max-text-to-image model slug.
FLUX_2_PRO_REMIX_IMAGE - Static variable in class ai.runapi.flux2.types.RemixImageModel
flux-2-pro-remix-image model slug.
FLUX_2_PRO_TEXT_TO_IMAGE - Static variable in class ai.runapi.flux2.types.TextToImageModel
flux-2-pro-text-to-image model slug.
Flux2Client - Class in ai.runapi.flux2
Flux2 model-family Java SDK client.
Flux2Client.Builder - Class in ai.runapi.flux2
Builder for Flux2Client.

G

get(String) - Method in class ai.runapi.flux2.resources.RemixImageResource
Retrieves a remix image task by ID.
get(String) - Method in class ai.runapi.flux2.resources.TextToImageResource
Retrieves a text to image task by ID.
get(String, RequestOptions) - Method in class ai.runapi.flux2.resources.RemixImageResource
Retrieves a remix image task by ID with per-request options.
get(String, RequestOptions) - Method in class ai.runapi.flux2.resources.TextToImageResource
Retrieves a text to image task by ID with per-request options.
getError() - Method in class ai.runapi.flux2.types.ImagesTaskResponse
Returns the task error message, if the task failed.
getId() - Method in class ai.runapi.flux2.types.ImagesTaskResponse
Returns the task ID.
getImages() - Method in class ai.runapi.flux2.types.ImagesTaskResponse
Returns the generated image results, when present.
getStatus() - Method in class ai.runapi.flux2.types.ImagesTaskResponse
Returns the current task status.
getUrl() - Method in class ai.runapi.flux2.types.Image
Returns the media URL.

I

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

M

model(RemixImageModel) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the model slug using a typed model value.
model(TextToImageModel) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the model slug using a typed model value.
model(String) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the model slug using a string value.
model(String) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the model slug using a string value.

O

outputCount(int) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the output count.
outputCount(int) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the output count.
outputResolution(String) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the output resolution.
outputResolution(String) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the output resolution.

P

prompt(String) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the text prompt.
prompt(String) - Method in class ai.runapi.flux2.types.TextToImageParams.Builder
Sets the text prompt.

R

remixImage() - Method in class ai.runapi.flux2.Flux2Client
Remix Image operations.
RemixImageModel - Class in ai.runapi.flux2.types
Model slug for remix image operations.
RemixImageModel(String) - Constructor for class ai.runapi.flux2.types.RemixImageModel
Creates a model value from a literal model slug.
RemixImageParams - Class in ai.runapi.flux2.types
Parameters for remix image operations.
RemixImageParams.Builder - Class in ai.runapi.flux2.types
Builder for RemixImageParams.
RemixImageResource - Class in ai.runapi.flux2.resources
Remix Image operations.
RemixImageResource(HttpTransport, ClientOptions) - Constructor for class ai.runapi.flux2.resources.RemixImageResource
Creates a resource bound to the supplied transport and client options.
RemixImageResponse - Class in ai.runapi.flux2.types
Response for remix image operations.
RemixImageResponse() - Constructor for class ai.runapi.flux2.types.RemixImageResponse
 
run(RemixImageParams) - Method in class ai.runapi.flux2.resources.RemixImageResource
Creates a remix image task and polls until it completes.
run(RemixImageParams, RequestOptions) - Method in class ai.runapi.flux2.resources.RemixImageResource
Creates a remix image task with per-request options and polls until it completes.
run(TextToImageParams) - Method in class ai.runapi.flux2.resources.TextToImageResource
Creates a text to image task and polls until it completes.
run(TextToImageParams, RequestOptions) - Method in class ai.runapi.flux2.resources.TextToImageResource
Creates a text to image task with per-request options and polls until it completes.

S

sourceImageUrls(List<String>) - Method in class ai.runapi.flux2.types.RemixImageParams.Builder
Sets the source image URLs.

T

textToImage() - Method in class ai.runapi.flux2.Flux2Client
Text To Image operations.
TextToImageModel - Class in ai.runapi.flux2.types
Model slug for text to image operations.
TextToImageModel(String) - Constructor for class ai.runapi.flux2.types.TextToImageModel
Creates a model value from a literal model slug.
TextToImageParams - Class in ai.runapi.flux2.types
Parameters for text to image operations.
TextToImageParams.Builder - Class in ai.runapi.flux2.types
Builder for TextToImageParams.
TextToImageResource - Class in ai.runapi.flux2.resources
Text To Image operations.
TextToImageResource(HttpTransport, ClientOptions) - Constructor for class ai.runapi.flux2.resources.TextToImageResource
Creates a resource bound to the supplied transport and client options.
TextToImageResponse - Class in ai.runapi.flux2.types
Response for text to image operations.
TextToImageResponse() - Constructor for class ai.runapi.flux2.types.TextToImageResponse
 
toMap() - Method in class ai.runapi.flux2.types.RemixImageParams
Converts these parameters to the JSON request body shape.
toMap() - Method in class ai.runapi.flux2.types.TextToImageParams
Converts these parameters to the JSON request body shape.
transport(HttpTransport) - Method in class ai.runapi.flux2.Flux2Client.Builder
Sets a custom HTTP transport.
A B C E F G I M O P R S T 
All Classes and Interfaces|All Packages|Constant Field Values