🔍 Querying product list: category=image_to_video
✅ Model found:
   name          = Sora 2 Pro
   model_id      = sora-2-pro
   model_version = sora-2-pro   ← version_id from product list
   attribute_id  = 1945
   credit        = 160 pts
   form_params   = {"duration": "4", "aspect_ratio": "16:9", "resolution": "720p"}

📤 Processing 1 input image(s)…
   [1] Using URL: https://ws.esxscloud.com/aiagent/src/d/20260320/in/67ed1184b...
✅ All 1 image(s) ready

🚀 Creating task…
🎯 Smart credit_rule selection: {'duration': '4', 'resolution': '720p'} → attribute_id=1945, credit=160 pts
✅ Task created: 1706947

⏳ Polling… (interval=8s, max=600s)
⏳ 36s elapsed … 12%
⏳ 73s elapsed … 24%
⏳ 109s elapsed … 36%
⏳ 146s elapsed … 48%
⏳ 182s elapsed … 60%
⏳ 219s elapsed … 73%
⏳ 256s elapsed … 85%
⏳ 292s elapsed … 95%
⏳ 329s elapsed … 95%  (taking longer than expected, please wait…)

✅ Generation complete!
   URL:   https://ima-ga.esxscloud.com/aiagent/src/d/20260320/in/d9f881e30552d41e030aa4694753cc63.mp4

{
  "task_id": "1706947",
  "url": "https://ima-ga.esxscloud.com/aiagent/src/d/20260320/in/d9f881e30552d41e030aa4694753cc63.mp4",
  "cover_url": "",
  "model_id": "sora-2-pro",
  "model_name": "Sora 2 Pro",
  "credit": 160
}
