🔍 Querying product list: category=text_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  = 1977
   credit        = 120 pts
   form_params   = {"duration": "4", "aspect_ratio": "16:9", "resolution": "720p"}

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

⏳ Polling… (interval=8s, max=600s)
⏳ 36s elapsed … 12%
⏳ 73s elapsed … 24%
⏳ 109s elapsed … 36%
⏳ 146s elapsed … 48%
⏳ 183s elapsed … 61%
⏳ 219s elapsed … 73%
⏳ 256s elapsed … 85%

✅ Generation complete!
   URL:   https://ima-ga.esxscloud.com/aiagent/src/d/20260321/in/784f36595aec008e3580ffca20420432.mp4

{
  "task_id": "1710523",
  "url": "https://ima-ga.esxscloud.com/aiagent/src/d/20260321/in/784f36595aec008e3580ffca20420432.mp4",
  "cover_url": "",
  "model_id": "sora-2-pro",
  "model_name": "Sora 2 Pro",
  "credit": 120
}
