ImageAPI
Grok Image
Grok Image text-to-image and image-to-image. Pass image_list to edit reference images, or omit it for pure text-to-image.
Pricing: 1.3 tokens per image (= $0.026).
Returns an img_uuid; poll GET /api/v1/jobs/detail (or use custom_callback_url) to get the generated image.
post/api/v1/grok-image
Headers
Authorizationstring
Request body
Example request
{
"custom_callback_url": "https://your-server.com/goenhance/callback"
}Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.