Payload JSON
{
"external_task_no": "BATCH-TEMPLATE_IMAGE-20260517205436-9048",
"partner_id": 12,
"supplier_id": 5,
"product_id": 101,
"template_id": 6,
"request_type": "template_image",
"prompt_text": "GPT-A A line batch test template_image #17",
"design_requirement": {
"style": "smoke_test",
"color": "pastel"
},
"upload_source_path": "/assets/seed/input/demo.png",
"output_aspect_ratio": "1:1",
"quantity": 1,
"quote_amount": 1200,
"supplier_cost": 700,
"partner_share_amount": 200,
"estimate_cost": true,
"task_id": 206
}
Result JSON
{
"request_type": "template_image",
"source": "gpt-a-oem-bridge",
"adapter": "TemplateImageAdapter",
"adapter_version": "adapter-mvp-1",
"execution_mode": "placeholder_fallback",
"service": "/volume1/docker/auto-login-csv/ecommerce-ai-system/php/api/platform-ai/preview.php",
"service_probe_id": "probe-20260517204541-6778",
"service_probe_time": "2026-05-17T20:45:41+08:00",
"placeholder": true,
"prompt_text": "GPT-A A line batch test template_image #17",
"artifact": {
"filesystem_path": "/volume1/web/gpt-a/oem_bridge/output/template/206.png",
"public_url": "http://211.75.219.184/gpt-a/oem_bridge/output/template/206.png",
"sha256": "432f756647c44e6732ab704de3c289570f90aae1e24ee1895f738c842e47ef6a",
"size_bytes": 8632
},
"preview_artifact": {
"filesystem_path": "/volume1/web/gpt-a/oem_bridge/output/preview/206.jpg",
"public_url": "http://211.75.219.184/gpt-a/oem_bridge/output/preview/206.jpg",
"sha256": "7a13cf8f07ed5ee139aac55e551677838ac4556dace4794c2cac84b11d2e6457",
"size_bytes": 26959
},
"service_found": true,
"service_path": "/volume1/docker/auto-login-csv/ecommerce-ai-system/php/api/platform-ai/preview.php",
"real_template_enabled": false,
"allow_expensive_ai": false,
"cost_guard": {
"allowed": false,
"reason": "estimate_cost requested; real service was not executed",
"estimated_cost_twd": 3,
"actual_cost_twd": null,
"guard_mode": "estimate_only",
"request_type": "template_image",
"provider": null,
"model": null,
"require_real_service": false,
"max_cost_twd": null,
"feature_flags": {
"real_label": true,
"real_video": true,
"real_seed_image": false,
"real_template": false,
"real_ecommerce": false,
"allow_expensive_ai": false
}
},
"estimated_cost_twd": 3,
"actual_cost_twd": null,
"fallback_reason": "estimate_cost requested; real service was not executed",
"engine": "gpt-a",
"worker": "disney",
"worker_id": "disney-32631-20260517205450",
"duration_sec": 0.6779,
"queue_id": 206,
"bridge_version": "mvp-1"
}
Worker Log Snippet
{"ts":"2026-05-17T20:55:55+08:00","message":"picked task","context":{"queue_id":206,"platform_task_id":206,"entrypoint":"template_image","worker_id":"disney-32631-20260517205450"}}
{"ts":"2026-05-17T20:55:56+08:00","message":"callback request","context":{"url":"http://127.0.0.1/oem-platform/internal_api/task_callback.php","payload":{"template_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/template/206.png","preview_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/206.jpg","result_json":{"request_type":"template_image","source":"gpt-a-oem-bridge","adapter":"TemplateImageAdapter","adapter_version":"adapter-mvp-1","execution_mode":"placeholder_fallback","service":"/volume1/docker/auto-login-csv/ecommerce-ai-system/php/api/platform-ai/preview.php","service_probe_id":"probe-20260517204541-6778","service_probe_time":"2026-05-17T20:45:41+08:00","placeholder":true,"prompt_text":"GPT-A A line batch test template_image #17","artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/template/206.png","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/template/206.png","sha256":"432f756647c44e6732ab704de3c289570f90aae1e24ee1895f738c842e47ef6a","size_bytes":8632},"preview_artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/preview/206.jpg","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/206.jpg","sha256":"7a13cf8f07ed5ee139aac55e551677838ac4556dace4794c2cac84b11d2e6457","size_bytes":26959},"service_found":true,"service_path":"/volume1/docker/auto-login-csv/ecommerce-ai-system/php/api/platform-ai/preview.php","real_template_enabled":false,"allow_expensive_ai":false,"cost_guard":{"allowed":false,"reason":"estimate_cost requested; real service was not executed","estimated_cost_twd":3,"actual_cost_twd":null,"guard_mode":"estimate_only","request_type":"template_image","provider":null,"model":null,"require_real_service":false,"max_cost_twd":null,"feature_flags":{"real_label":true,"real_video":true,"real_seed_image":false,"real_template":false,"real_ecommerce":false,"allow_expensive_ai":false}},"estimated_cost_twd":3,"actual_cost_twd":null,"fallback_reason":"estimate_cost requested; real service was not executed","engine":"gpt-a","worker":"disney","worker_id":"disney-32631-20260517205450","duration_sec":0.6779,"queue_id":206,"bridge_version":"mvp-1"},"task_id":206,"platform_task_id":206,"status":"completed"},"token":"***"}}
{"ts":"2026-05-17T20:55:59+08:00","message":"completed task","context":{"queue_id":206,"platform_task_id":206,"worker_id":"disney-32631-20260517205450","result":{"template_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/template/206.png","preview_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/206.jpg","result_json":{"request_type":"template_image","source":"gpt-a-oem-bridge","adapter":"TemplateImageAdapter","adapter_version":"adapter-mvp-1","execution_mode":"placeholder_fallback","service":"/volume1/docker/auto-login-csv/ecommerce-ai-system/php/api/platform-ai/preview.php","service_probe_id":"probe-20260517204541-6778","service_probe_time":"2026-05-17T20:45:41+08:00","placeholder":true,"prompt_text":"GPT-A A line batch test template_image #17","artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/template/206.png","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/template/206.png","sha256":"432f756647c44e6732ab704de3c289570f90aae1e24ee1895f738c842e47ef6a","size_bytes":8632},"preview_artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/preview/206.jpg","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/206.jpg","sha256":"7a13cf8f07ed5ee139aac55e551677838ac4556dace4794c2cac84b11d2e6457","size_bytes":26959},"service_found":true,"service_path":"/volume1/docker/auto-login-csv/ecommerce-ai-system/php/api/platform-ai/preview.php","real_template_enabled":false,"allow_expensive_ai":false,"cost_guard":{"allowed":false,"reason":"estimate_cost requested; real service was not executed","estimated_cost_twd":3,"actual_cost_twd":null,"guard_mode":"estimate_only","request_type":"template_image","provider":null,"model":null,"require_real_service":false,"max_cost_twd":null,"feature_flags":{"real_label":true,"real_video":true,"real_seed_image":false,"real_template":false,"real_ecommerce":false,"allow_expensive_ai":false}},"estimated_cost_twd":3,"actual_cost_twd":null,"fallback_reason":"estimate_cost requested; real service was not executed","engine":"gpt-a","worker":"disney","worker_id":"disney-32631-20260517205450","duration_sec":0.6779,"queue_id":206,"bridge_version":"mvp-1"}}}}