bash
curl -sSf -X POST https://staging.hub.oxen.ai/api/images/edit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "gpt-image-2-edit",
"prompt": "Place the subject on the surface of the moon with Earth rising in the background, photorealistic, cinematic lighting.",
"input_image": [
"https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/ox_zoom_out_1926_1076.png"
],
"resolution": "1024x1024",
"quality": "high",
"num_images": 1,
"output_format": "png"
}'