v1

latestOpenAPI 3.0.12026-07-26101834.1 KB
Image Generation

Generate images using Flux model

Generate high-quality images using the Flux model

post/model/infer/flux

Request body

promptstring required

Text description of the image to generate

heightinteger

Height of the generated image in pixels

widthinteger

Width of the generated image in pixels

seedinteger

Random seed for reproducible generation

num_inference_stepsinteger

Number of denoising steps

num_images_per_promptinteger

Number of images to generate

guidance_scalenumber

How closely to follow the prompt

negative_promptstring

Text description of what to avoid in the generated image

lora_weightsstring

LoRA weights configuration

Response

Successful image generation

imagesstring[] required

Array of generated images in base64 format

time_takennumber required

Inference time in seconds

durationnumber required

Total processing time including queuing in seconds

seedinteger

The seed used for generation

All 10 operations