API Reference
Grok Imagine
Generate images and video from text or a still, then edit, extend, segment, or upscale, with xAI's Grok Imagine models.
- Grok Imagine Edit-Image Edit an image from a prompt, or blend up to five source images with image-2.0.
- Grok Imagine Extend Continue a generated Grok video from a chosen point with a prompt-driven extension.
- Grok Imagine Image-to-Video Animate a still into a short clip with xAI's Grok Imagine video models.
- Grok Imagine Segment-Map Map an image into labelled regions so a later edit can target one area.
- Grok Imagine Text-to-Image Generate images from prompts with xAI's models at a chosen aspect ratio.
- Grok Imagine Text-to-Video Generate video from a prompt with reference images and up to 1080p output.
- Grok Imagine Upscale-Image Upscale a previously generated Grok image task to a higher resolution.