Generate or edit images using the Flux 2 Flex model based on text prompts. Official documentation
You can obtain your API key from the TTAPI Dashboard.
Image description. Note: Flux supports multilingual understanding, but English performs best in testing.
Reference image 1, URL or base64
Reference image 2, URL or base64
Reference image 3, URL or base64
Reference image 4, URL or base64
Reference image, base64 encoded
Width of generated image. Range: 256-1440, must be a multiple of 32. Default: 1024
Height of generated image. Range: 256-1440, must be a multiple of 32. Default: 768
Random seed
Output format
jpeg, png "jpeg"
Safety tolerance level for input and output adjustment. Range: 0-6, where 0 is strictest and 6 is most permissive. Default: 2
"2"
Asynchronous callback URL