Skip to main content
Generate images using the smallest and fastest Flux.2 Klein 4B model.

Model

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text description of the image
aspect_ratiostringNo"16:9""21:9", "16:9", "4:3", "1:1", "3:4", "9:16", "9:21"
resolutionstringNo"1mp""0.6mp", "1mp", "2mp", "4mp"
image_urlsstring[]NonullReference image URLs
seedintegerNorandomSeed for reproducibility
Klein models do not support guidance, steps, or prompt_upsampling.

Example Request

Response