Text to image generation
This is the core generation interface of the Grok Image APIDocumentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
Please go to TTAPI Console to obtain the API key.
Prompt word
True is quality mode, false is speed mode
Image aspect ratio
2:3, 3:2, 1:1, 9:16, 16:9 Number of generated images (1 - 4)
Callback URL. Notifications will be sent to this address when the task is completed or failed, and the notification data structure is consistent with the fetch structure [blocked]. If not set, you need to request the fetch endpoint [blocked] to query the result.
"https://example.com/callback"