curl --request POST \
--url https://api.ttapi.io/grok/image \
--header 'Content-Type: application/json' \
--header 'TT-API-KEY: <api-key>' \
--data '
{
"prompt": "<string>",
"enable_pro": true,
"aspect_ratio": "1:1",
"n": 1,
"hook_url": "https://example.com/callback"
}
'