xAI / Image
grok-imagine-image-2.0
Image generation for photographic scenes and creative concepts. Supplier validation is pending.
POST
https://orux.top/api/v1/tasksRequest body
model: grok-imagine-image-2.0. Place model parameters inside input.
Examples use configured defaults. Replace placeholders in angle brackets with actual values.
Parameters
Fields accepted in the request body for this model.
prompttextRequired
Length: ≥ 1
resolutionenumRequired
Values: 1K
aspect_ratioenumRequired
Values: 1:1
Response examples
Illustrative response structures. Actual content depends on the request.
Retrieve the result
Save task_id and poll the task endpoint. An accepted task has not yet finished generating.