#!/bin/bash
echo "=== LOADING Z-IMAGE-TURBO ==="
START=$(date +%s)

curl -v -X POST http://localhost:8080/models/load \
  -H "Content-Type: application/json" \
  -d '{
    "model_name": "z_image_turbo-Q5_K_S.gguf",
    "model_type": "diffusion",
    "llm": "Qwen_3_4b-Q8_0.gguf",
    "vae": "ae.safetensors"
  }' 2>&1

END=$(date +%s)
echo ""
echo "Load took $((END-START))s"
