🔍 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: 1706944

⏳ Polling… (interval=8s, max=600s)
⏳ 36s elapsed … 12%
⏳ 73s elapsed … 24%
⏳ 109s elapsed … 36%
⏳ 146s elapsed … 48%
2026-03-20 13:31:54 | ERROR | poll_task            | Task failed: task_id=1706944, status=failed, error=unknown
2026-03-20 13:31:54 | ERROR | main                 | Task polling failed: Generation failed: unknown

❌ Generation failed: unknown
