Flux.2[max] API Documentation
Use the Flux.2[max] API to generate detailed, high-fidelity AI images for advanced creative, design, and visual production use cases.
Authorizations
You can obtain your API key from the TTAPI Dashboard.
Body
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