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": "sam-3-image",
"input_image": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/ox_zoom_out_1926_1076.png",
"prompt": "the ox horns",
"apply_mask": true,
"output_format": "png"
}'