All models
See the code
xAI / Model reference
Grok Imagine Image 2.0
xAI model available through the Celeste SDK. Explore its supported operations and parameters.
Model ID
grok-imagine-image-2.0What it can do.
celeste.images.editEdit imagesceleste.images.generateGenerate imagesParameters.
Supported controls from Celeste’s model registry. Values and availability differ between models.
| Parameter | Accepted values |
|---|---|
aspect_ratio | 1:13:44:39:1616:92:33:29:19.519.5:99:2020:91:22:121:95:2auto |
num_images | 1 – 10 |
output_format | urlb64_json |
quality | 1k2k1.5k |
reference_images | Image artifacts |
Start with a few lines
Put it to work.
Use your provider credentials. Call the model through the SDK and build around its output.
import celesteresponse = await celeste.images.generate( model="grok-imagine-image-2.0", prompt="A quiet observatory on a volcanic coast at dawn."
)image = response.contentThis example uses images.generate. Explore the quickstart for installation and authentication.