"""真实数据端到端验证：倍分子素颜霜（用完即删）"""
from app.core.database import SessionLocal
from app.models.task import GenerationTask
from app.workers.tasks import run_generation_pipeline

db = SessionLocal()
task = GenerationTask(
    workspace_id=3, product_id=1, operator_id=4,
    theme="倍分子素颜霜真实数据端到端", text_count=1, image_count=6,
    track="ai", need_product_image=True, status="pending",
)
db.add(task); db.commit(); db.refresh(task)
tid = task.id; db.close()
print("NEW_TASK_ID=", tid)
run_generation_pipeline.delay(tid)
print("ENQUEUED")
