From c3880454c578f963d2b89bdf20067b3d1f5b5169 Mon Sep 17 00:00:00 2001 From: puke <1129090915@qq.com> Date: Sat, 24 May 2025 14:18:31 +0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9c4c6a9..de98828 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ curl -X POST "http://localhost:8188/oneapi/v1/execute" \ ### 📝 Simplest Request Format -```json +``` { "workflow": {...} # Supports JSON object, local filename, or URL } @@ -39,7 +39,7 @@ curl -X POST "http://localhost:8188/oneapi/v1/execute" \ Add markers in node titles to easily replace parameters: -```json +``` // Request { "workflow": {...}, @@ -58,7 +58,7 @@ Add markers in node titles to easily replace parameters: When your workflow has multiple SaveImage nodes, easily distinguish different outputs: -```json +``` // Response { "status": "completed", @@ -160,7 +160,7 @@ How to distinguish: - Otherwise, treat as a local filename and load from `user/default/workflows` directory. **Examples:** -```json +``` // 1. Pass JSON directly {"workflow": {"node1": {...}, ...}} @@ -170,4 +170,4 @@ How to distinguish: // 3. Pass URL {"workflow": "https://example.com/1.json"} -``` \ No newline at end of file +```