Directory object · grok
GROK IMAGE
Generate an image from a text prompt. Returns a JSON url (grok-imagine-image-quality, $0.05/image).
WHAT
Generate an image from a text prompt. Returns a JSON url (grok-imagine-image-quality, $0.05/image).
WHEN TO USE
any "make/generate/create an image, picture, photo, or art" request. The whole body is the prompt.
Model and router layerOpen the live contract4 sections
ARGS
prompt (free text)
EX
[GROK_IMAGE]a golden retriever in an astronaut suit, studio lighting[/GROK_IMAGE]
{"model":"grok-imagine-image-quality","prompt":"$1"}Target
http · POST https://api.x.ai/v1/images/generations
Article-object law
This definition is also an article and a Skill.
The human expression explains the capability. The Skill directs model behavior. The directory row remains the executable contract. OIP invokes it and receipts prove what happened.