xAI 的 Grok Imagine Image 2.0,统一低价——字体清晰、精准遵循提示词,提供五种画面比例。每次请求一张图像,无质量或分辨率选项。
~10s
curl https://www.flixly.ai/api/v1/generate \
-H "Authorization: Bearer flx_live_..." \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-image-2-fast",
"prompt": "A beautiful sunset over the ocean",
"type": "TEXT_TO_IMAGE"
}'在开发者门户获取你的API密钥。