Run a GPT Image 2 task from a backend script with native fetch.
cp ../.env.example ../.env
# Set POYO_API_KEY in ../.env
npm startThe script submits a task, stores the returned task_id in memory for the demo, then polls until the task reaches finished or failed.