🔍 Querying product list: category=text_to_image
✅ Model found:
   name          = Nano Banana Pro
   model_id      = gemini-3-pro-image
   model_version = gemini-3-pro-image-preview   ← version_id from product list
   attribute_id  = 2399
   credit        = 10 pts
   form_params   = {"aspect_ratio": "1:1", "size": "1K"}

🚀 Creating task…
🎯 Smart credit_rule selection: {'size': '2K'} → attribute_id=2400, credit=10 pts
✅ Task created: 1717787

⏳ Polling… (interval=5s, max=180s)
⏳ 18s elapsed … 20%

✅ Generation complete!
   URL:   https://ws.esxscloud.com/aiagent/src/d/20260321/in/c54b7fa8c88905b1ec392473a3a92533.jpg

{
  "task_id": "1717787",
  "url": "https://ws.esxscloud.com/aiagent/src/d/20260321/in/c54b7fa8c88905b1ec392473a3a92533.jpg",
  "cover_url": "",
  "model_id": "gemini-3-pro-image",
  "model_name": "Nano Banana Pro",
  "credit": 10
}
