b
flux-1-schnell Beta
Text-to-Image • black-forest-labsFLUX.1 [schnell] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions.
Usage
Workers - Returning a data URI - TypeScript
Workers - Returning an image - TypeScript
curl
Parameters
Input
-
prompt
string min 1A text description of the image you want to generate
-
num_steps
integer default 4 max 8The number of diffusion steps; higher values can improve quality but take longer
Output
-
image
stringThe generated image in Base64 format.
API Schemas
The following schemas are based on JSON Schema