FLUX Pro Kontext Max Multi
96积分/次起
ae_flux_pro_kontext_max_multi
根据文本提示词和多张参考图片创建或编辑图像,并可控制宽高比、输出格式和变体。
96积分/次起
价格说明
96积分/次起
| 条件 | 费用 |
|---|---|
| 每张图片 | 96积分/张 |
按请求的图片数量计费。
图片数量未填写时按1张计费。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.seed | integer | unknown | 否 | 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 | 是 | The prompt to generate an image from. | — |
request_body.sync_mode | boolean | 否 | 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_urls | array | 是 | Image prompt for the omni model. | — |
request_body.num_images | integer | 否 | The number of images to generate. | 1 |
request_body.aspect_ratio | string | unknown | 否 | The aspect ratio of the generated image. | — |
request_body.output_format | enum (jpeg | png) | 否 | The format of the generated image. | jpeg |
request_body.enhance_prompt | boolean | 否 | Whether to enhance the prompt for better results. | false |
request_body.guidance_scale | number | 否 | 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) | 否 | The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. | 2 |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_flux_pro_kontext_max_multi' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"prompt": "Put the little duckling on top of the woman'\''s t-shirt.",
"image_urls": [
"https://v3.fal.media/files/penguin/XoW0qavfF-ahg-jX4BMyL_image.webp",
"https://v3.fal.media/files/tiger/bml6YA7DWJXOigadvxk75_image.webp"
]
}
}
}'暂无返回示例。

