bash
curl -sSf -X POST https://hub.oxen.ai/api/ai/images/edit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "xai-grok-imagine-image-edit",
"prompt": "Place the ox in a neon-lit cyberpunk city at night, rain-slick streets reflecting pink and cyan signs, cinematic lighting",
"input_image": "https://hub.oxen.ai/api/repos/ox/Oxen-Character-Simple-Vector-Graphic/file/main/images/reference/bloxy_white_bg.png",
"output_format": "webp"
}'