FLUX 2 Lora Gallery Realism

Usage-based pricing
ae_flux_2_lora_gallery_realism

Create photorealistic images from text prompts with natural lighting and authentic detail.

Image
Usage-based pricing

Pricing

The charge per call is (max(25.2 × total generated image area (megapixels), 0)) AE credits. All applicable conditions are combined to calculate the total.

Charges are based on the total generated image area; the size and number of generated images affect this usage.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedinteger | unknownNoRandom seed for reproducibility. Same seed with same prompt will produce same result.—
request_body.promptstringYesThe prompt to generate a realistic image with natural lighting and authentic details.—
request_body.sync_modebooleanNoIf `True`, the media will be returned as a data URI and won't be saved in history.false
request_body.image_sizeobject | stringNoThe size of the generated image.landscape_4_3
request_body.image_size.widthintegerNoThe width of the generated image.512
request_body.image_size.heightintegerNoThe height of the generated image.512
request_body.lora_scalenumberNoThe strength of the realism effect.1
request_body.num_imagesintegerNoNumber of images to generate1
request_body.accelerationenum (none | regular)NoAcceleration level for image generation. 'regular' balances speed and quality.regular
request_body.output_formatenum (png | jpeg | webp)NoThe format of the output imagepng
request_body.guidance_scalenumberNoThe CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.2.5
request_body.num_inference_stepsintegerNoThe number of inference steps to perform.40
request_body.enable_safety_checkerbooleanNoWhether to enable the safety checker for the generated image.true

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
Response exampleresponse.json
JSONPartial content

This example shows part of the response. Copied content is valid JSON.

Guides using this tool

See how this tool fits into real workflows