Skip to main content
Glama

BFL MCP Server

by elhombrejd

edit_image

Modify images using text prompts with the FLUX.1 Kontext model. Input a base64 encoded image and a text description to adjust aspect ratio, format, and safety settings. Ideal for precise image editing.

Instructions

Edit an existing image using FLUX.1 Kontext model based on a text prompt

Input Schema

NameRequiredDescriptionDefault
aspect_ratioNoAspect ratio of the output image (e.g., "1:1", "16:9", "9:16")1:1
input_imageYesBase64 encoded input image to edit
output_formatNoOutput image formatjpeg
promptYesText description of how to edit the image
safety_toleranceNoSafety tolerance level (0-6)
seedNoSeed for reproducible generation

Input Schema (JSON Schema)

{ "properties": { "aspect_ratio": { "default": "1:1", "description": "Aspect ratio of the output image (e.g., \"1:1\", \"16:9\", \"9:16\")", "type": "string" }, "input_image": { "description": "Base64 encoded input image to edit", "type": "string" }, "output_format": { "default": "jpeg", "description": "Output image format", "enum": [ "jpeg", "png" ], "type": "string" }, "prompt": { "description": "Text description of how to edit the image", "type": "string" }, "safety_tolerance": { "description": "Safety tolerance level (0-6)", "maximum": 6, "minimum": 0, "type": "number" }, "seed": { "description": "Seed for reproducible generation", "type": "number" } }, "required": [ "prompt", "input_image" ], "type": "object" }
Install Server

Other Tools from BFL MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/elhombrejd/bfl_mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server