Skip to main content
Glama

generate_image

Transform text prompts into custom images using the Flux model. Specify dimensions, aspect ratio, and save location for high-quality outputs with controlled denoising steps.

Instructions

Generate an image from a text prompt using Flux model

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aspect_ratioNoAspect ratio for the generated image1:1
file_nameNoName of the file to save the image
heightNoHeight of the generated image
num_inference_stepsNoNumber of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster.
promptYesPrompt for generated image
save_folderNoFolder path to save the image./output
widthNoWidth of the generated image
Install Server

Other Tools

Related Tools

Latest Blog Posts

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/duoduohe/flux-cloudfare-mcp'

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