FLUX Pro V1 1 Redux
Usage-based pricing
ae_flux_pro_v1_1_redux
Transform an input image into prompt-guided edits, restyles, or variations.
Usage-based pricing
Pricing
The charge per call is (max(60 × generated image megapixels, 0)) AE credits. All applicable conditions are combined to calculate the total.
Billable usage depends on the dimensions and number of images actually generated. Each image is rounded up to the nearest whole megapixel, then the billable megapixels are added together.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.seed | integer | unknown | No | The same seed and the same prompt given to the same version of the model will output the same image every time. | — |
request_body.prompt | string | No | The prompt to generate an image from. | "" |
request_body.image_url | string | Yes | The image URL to generate an image from. Needs to match the dimensions of the mask. | — |
request_body.sync_mode | boolean | No | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | false |
request_body.image_size | object | string | No | The size of the generated image. | landscape_4_3 |
request_body.image_size.width | integer | No | The width of the generated image. | 512 |
request_body.image_size.height | integer | No | The height of the generated image. | 512 |
request_body.num_images | integer | No | The number of images to generate. | 1 |
request_body.output_format | enum (jpeg | png) | No | The format of the generated image. | jpeg |
request_body.enhance_prompt | boolean | No | Whether to enhance the prompt for better results. | false |
request_body.guidance_scale | number | No | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. | 3.5 |
request_body.safety_tolerance | enum (1 | 2 | 3 | 4 | 5 | 6) | No | The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. | 2 |
request_body.num_inference_steps | integer | No | The number of inference steps to perform. | 28 |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_flux_pro_v1_1_redux' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image_url": "https://fal.media/files/kangaroo/acQvq-Kmo2lajkgvcEHdv.png"
}
}
}'No response example available yet.

