All models
See the code
xAI / Model reference
Grok Imagine Image
xAI model available through the Celeste SDK. Explore its supported operations and parameters.
Model ID
grok-imagine-imageWhat it can do.
celeste.images.generateGenerate imagesceleste.images.editTransform an imageParameters.
Supported controls from Celeste’s model registry. Values and availability differ between models.
| Parameter | Accepted values |
|---|---|
num_images | 1 – 10 |
aspect_ratio | 1:13:44:39:1616:92:33:29:19.519.5:99:2020:91:22:1auto |
output_format | urlb64_json |
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", prompt="A quiet observatory on a volcanic coast at dawn."
)image = response.contentThis example uses images.generate. Explore the quickstart for installation and authentication.