bash
curl -sSf -X POST https://hub.oxen.ai/api/images/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "ideogram-v4",
"prompt": "A red panda perched on a mossy branch in a misty forest at sunrise",
"image_size": "square_hd",
"rendering_speed": "BALANCED",
"expansion_model": "Medium",
"acceleration": "none",
"num_images": 1,
"enable_safety_checker": true,
"output_format": "jpeg"
}'