#!/usr/bin/env python3
import json, pathlib, sys
root=pathlib.Path(__file__).resolve().parents[1]
data=json.loads((root/'data/prompts.json').read_text())
assert data['model']=='seedance-2.5'
assert data['count']==len(data['prompts'])==50
ids=[p['id'] for p in data['prompts']]
assert len(ids)==len(set(ids))
for p in data['prompts']:
  assert p['prompt'].strip() and 4 <= p['suggested']['duration_seconds'] <= 30
  assert p['suggested']['resolution'] in ('480p','720p','1080p')
print(json.dumps({'status':'ok','prompts':50,'categories':len(set(p['category'] for p in data['prompts']))}))
