Payload JSON
{
"external_task_no": "BATCH-ECOMMERCE_IMAGE-20260517205427-3223",
"partner_id": 12,
"supplier_id": 5,
"product_id": 101,
"template_id": 6,
"request_type": "ecommerce_image",
"prompt_text": "GPT-A A line batch test ecommerce_image #13",
"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,
"max_cost_twd": 1,
"task_id": 202
}
Result JSON
{
"request_type": "ecommerce_image",
"source": "gpt-a-oem-bridge",
"adapter": "EcommerceImageAdapter",
"adapter_version": "adapter-mvp-1",
"execution_mode": "placeholder_fallback",
"service": "/volume1/web/ai-copy/api/image/ai_background.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 ecommerce_image #13",
"artifact": {
"filesystem_path": "/volume1/web/gpt-a/oem_bridge/output/ecommerce/202.png",
"public_url": "http://211.75.219.184/gpt-a/oem_bridge/output/ecommerce/202.png",
"sha256": "ef12c8fec30f382cbd21b9a7560e01cb330c9245d10cf8b170598ece0b07d6ce",
"size_bytes": 8643
},
"preview_artifact": {
"filesystem_path": "/volume1/web/gpt-a/oem_bridge/output/preview/202.jpg",
"public_url": "http://211.75.219.184/gpt-a/oem_bridge/output/preview/202.jpg",
"sha256": "18a6a52a3ef6a379713e688cc3cec105a59862843c8343083fbf6fd9f4e5c9c8",
"size_bytes": 26995
},
"service_found": true,
"service_path": "/volume1/web/ai-copy/api/image/ai_background.php",
"real_ecommerce_enabled": false,
"allow_expensive_ai": false,
"cost_guard": {
"allowed": false,
"reason": "estimated cost NT$ 5.00 exceeds max_cost_twd NT$ 1.00",
"estimated_cost_twd": 5,
"actual_cost_twd": null,
"guard_mode": "blocked_by_cost_limit",
"request_type": "ecommerce_image",
"provider": null,
"model": null,
"require_real_service": false,
"max_cost_twd": 1,
"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": 5,
"actual_cost_twd": null,
"fallback_reason": "estimated cost NT$ 5.00 exceeds max_cost_twd NT$ 1.00",
"engine": "gpt-a",
"worker": "disney",
"worker_id": "disney-32631-20260517205450",
"duration_sec": 0.5167,
"queue_id": 202,
"bridge_version": "mvp-1"
}
Worker Log Snippet
{"ts":"2026-05-17T20:55:42+08:00","message":"picked task","context":{"queue_id":202,"platform_task_id":202,"entrypoint":"ecommerce_image","worker_id":"disney-32631-20260517205450"}}
{"ts":"2026-05-17T20:55:43+08:00","message":"callback request","context":{"url":"http://127.0.0.1/oem-platform/internal_api/task_callback.php","payload":{"ecommerce_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/ecommerce/202.png","preview_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/202.jpg","result_json":{"request_type":"ecommerce_image","source":"gpt-a-oem-bridge","adapter":"EcommerceImageAdapter","adapter_version":"adapter-mvp-1","execution_mode":"placeholder_fallback","service":"/volume1/web/ai-copy/api/image/ai_background.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 ecommerce_image #13","artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/ecommerce/202.png","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/ecommerce/202.png","sha256":"ef12c8fec30f382cbd21b9a7560e01cb330c9245d10cf8b170598ece0b07d6ce","size_bytes":8643},"preview_artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/preview/202.jpg","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/202.jpg","sha256":"18a6a52a3ef6a379713e688cc3cec105a59862843c8343083fbf6fd9f4e5c9c8","size_bytes":26995},"service_found":true,"service_path":"/volume1/web/ai-copy/api/image/ai_background.php","real_ecommerce_enabled":false,"allow_expensive_ai":false,"cost_guard":{"allowed":false,"reason":"estimated cost NT$ 5.00 exceeds max_cost_twd NT$ 1.00","estimated_cost_twd":5,"actual_cost_twd":null,"guard_mode":"blocked_by_cost_limit","request_type":"ecommerce_image","provider":null,"model":null,"require_real_service":false,"max_cost_twd":1,"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":5,"actual_cost_twd":null,"fallback_reason":"estimated cost NT$ 5.00 exceeds max_cost_twd NT$ 1.00","engine":"gpt-a","worker":"disney","worker_id":"disney-32631-20260517205450","duration_sec":0.5167,"queue_id":202,"bridge_version":"mvp-1"},"task_id":202,"platform_task_id":202,"status":"completed"},"token":"***"}}
{"ts":"2026-05-17T20:55:46+08:00","message":"completed task","context":{"queue_id":202,"platform_task_id":202,"worker_id":"disney-32631-20260517205450","result":{"ecommerce_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/ecommerce/202.png","preview_image_path":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/202.jpg","result_json":{"request_type":"ecommerce_image","source":"gpt-a-oem-bridge","adapter":"EcommerceImageAdapter","adapter_version":"adapter-mvp-1","execution_mode":"placeholder_fallback","service":"/volume1/web/ai-copy/api/image/ai_background.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 ecommerce_image #13","artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/ecommerce/202.png","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/ecommerce/202.png","sha256":"ef12c8fec30f382cbd21b9a7560e01cb330c9245d10cf8b170598ece0b07d6ce","size_bytes":8643},"preview_artifact":{"filesystem_path":"/volume1/web/gpt-a/oem_bridge/output/preview/202.jpg","public_url":"http://211.75.219.184/gpt-a/oem_bridge/output/preview/202.jpg","sha256":"18a6a52a3ef6a379713e688cc3cec105a59862843c8343083fbf6fd9f4e5c9c8","size_bytes":26995},"service_found":true,"service_path":"/volume1/web/ai-copy/api/image/ai_background.php","real_ecommerce_enabled":false,"allow_expensive_ai":false,"cost_guard":{"allowed":false,"reason":"estimated cost NT$ 5.00 exceeds max_cost_twd NT$ 1.00","estimated_cost_twd":5,"actual_cost_twd":null,"guard_mode":"blocked_by_cost_limit","request_type":"ecommerce_image","provider":null,"model":null,"require_real_service":false,"max_cost_twd":1,"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":5,"actual_cost_twd":null,"fallback_reason":"estimated cost NT$ 5.00 exceeds max_cost_twd NT$ 1.00","engine":"gpt-a","worker":"disney","worker_id":"disney-32631-20260517205450","duration_sec":0.5167,"queue_id":202,"bridge_version":"mvp-1"}}}}