
Imagegemini-3.1-flash-image-previewgemini-3.1-flash-image-preview
Gemini 3.1 Flash Image Preview
Gemini 3.1 Flash Image Preview via fal.ai (fal-ai/gemini-3.1-flash-image-preview).
Parameters
- output_formatstringThe format of the generated image.jpegpngwebpdefault: png
- safety_tolerancestringThe safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.123456default: 4
- enable_web_searchbooleanEnable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.default: false
- limit_generationsbooleanExperimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate and ignore any intermediate images generated by the model. This may affect gener…default: true
- seedintThe seed for the random number generator.
- num_imagesintThe number of images to generate.default: 1range: 1 … 4
- thinking_levelstringWhen set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable.
- resolutionstringThe resolution of the image to generate.0.5K1K2K4Kdefault: 1K
- aspect_ratiostringThe aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8. Use "auto" to let the model decide based on the prompt.auto21:916:93:24:35:41:14:53:42:39:16default: auto
- system_promptstringOptional system instruction that steers the model's persona and output style across the request. Leave blank to omit; when provided, it is sent as the system instruction to Gemini (or as a system message on OpenAI-compatible providers).default: