Use the Flux Kontext Max API for context-aware image generation and editing with stronger control over complex prompts and visual consistency.
Documentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
You can obtain your API key from the TTAPI Dashboard.
Generate or edit images using the Flux Kontext Max model based on text prompts. Official documentation
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
Aspect ratio
21:9, 9:21 "21:9"
Random seed
Output format
jpeg, png "jpeg"
Whether to enable prompt upsampling. true - yes, false - no
false, true "false"
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