Create AI-generated images from text descriptions using black-forest-labs/flux-schnell
/image-generate
command enables you to create unique images from text descriptions using the high-performance Flux Schnell model. You can generate artwork, product mockups, marketing visuals, concept designs, illustrations, and professional graphics by simply describing what you want to see, with precise control over style, composition, and quality.
prompt
- Text description of the image you want to generateaspect_ratio
- Image dimensions: “1:1”, “16:9”, “21:9”, “3:2”, “2:3”, “4:5”, “5:4”, “3:4”, “4:3”, “9:16”, “9:21” (defaults to “1:1”)num_outputs
- Number of variations to generate: 1-4 (defaults to 1)num_inference_steps
- Number of denoising steps: 1-4 (defaults to 4). Lower steps = faster but lower qualityseed
- Random seed for reproducible generation (integer, optional)output_format
- Format of output images: “webp”, “jpg”, “png” (defaults to “webp”)output_quality
- Quality when saving images: 0-100 (defaults to 80). Not relevant for PNG outputsdisable_safety_checker
- Disable safety checker for generated images (boolean, defaults to false)go_fast
- Run faster predictions with fp8 quantized model (boolean, defaults to true). Note: outputs not deterministic when enabledmegapixels
- Approximate megapixels for generated image: “1”, “0.25” (defaults to “1”)fileLinksExpireInDays
- How long generated files remain accessible: 1-7 days (defaults to 7)fileLinksExpireInMinutes
- How long generated files remain accessible in minutes (takes precedence over days)fileLinksExpireInDays
parameter.