Skip to main content
Generate an original image from a text prompt using xAI Grok Imagine. Returns the URLs of the generated images. Those URLs are temporary: kie.ai deletes generated media after 14 days, so download anything you need to keep.
Use when you want a photographic or cinematic look, or several takes on one prompt in a single call. A good default when the brief is a mood rather than a precise layout. Text to image only.

Price

$0.06 per call. A flat price. Every call that succeeds costs exactly this, whatever it returns, and you know the number before you make the call. There is no ceiling to read and no usage to reconcile afterwards. A call that fails, times out or is stopped releases its hold in full and costs nothing.

Input

These are all the fields this endpoint accepts. Anything else is rejected as a validation_error rather than forwarded to the provider.

Example

Response

The full response. Values are illustrative.