aboutsummaryrefslogtreecommitdiff
path: root/store/works
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-03-01 00:23:55 +0800
committerYuqian Yang <crupest@crupest.life>2025-03-01 00:23:55 +0800
commited7d5205bb1d938f777d15bdd965fbca7fbdfbed (patch)
tree1458445a137231e9a083044c42d0adaf9561a652 /store/works
parentdc1f0c4c0096013799416664894c5194dc7e1f52 (diff)
downloadcrupest-ed7d5205bb1d938f777d15bdd965fbca7fbdfbed.tar.gz
crupest-ed7d5205bb1d938f777d15bdd965fbca7fbdfbed.tar.bz2
crupest-ed7d5205bb1d938f777d15bdd965fbca7fbdfbed.zip
chore: fix modes of files.
Diffstat (limited to 'store/works')
-rw-r--r--store/works/bruno/ComfyUI/Get Object Info.bru11
-rw-r--r--store/works/bruno/ComfyUI/Get Prompt History.bru15
-rw-r--r--store/works/bruno/ComfyUI/Post Prompt.bru124
-rw-r--r--store/works/bruno/ComfyUI/Upload Image.bru18
-rw-r--r--store/works/bruno/ComfyUI/View Image.bru19
-rw-r--r--store/works/bruno/ComfyUI/bruno.json9
-rw-r--r--store/works/bruno/ComfyUI/environments/ChimerAI ComfyUI Server.bru3
7 files changed, 199 insertions, 0 deletions
diff --git a/store/works/bruno/ComfyUI/Get Object Info.bru b/store/works/bruno/ComfyUI/Get Object Info.bru
new file mode 100644
index 0000000..d1a833c
--- /dev/null
+++ b/store/works/bruno/ComfyUI/Get Object Info.bru
@@ -0,0 +1,11 @@
+meta {
+ name: Get Object Info
+ type: http
+ seq: 4
+}
+
+get {
+ url: {{BASE_URL}}/object_info
+ body: none
+ auth: none
+}
diff --git a/store/works/bruno/ComfyUI/Get Prompt History.bru b/store/works/bruno/ComfyUI/Get Prompt History.bru
new file mode 100644
index 0000000..2e26888
--- /dev/null
+++ b/store/works/bruno/ComfyUI/Get Prompt History.bru
@@ -0,0 +1,15 @@
+meta {
+ name: Get Prompt History
+ type: http
+ seq: 6
+}
+
+get {
+ url: {{BASE_URL}}/history/{{prompt_id}}
+ body: none
+ auth: none
+}
+
+vars:pre-request {
+ prompt_id: 7e345a55-21c4-4bdc-9b34-add561775144
+}
diff --git a/store/works/bruno/ComfyUI/Post Prompt.bru b/store/works/bruno/ComfyUI/Post Prompt.bru
new file mode 100644
index 0000000..09bf89a
--- /dev/null
+++ b/store/works/bruno/ComfyUI/Post Prompt.bru
@@ -0,0 +1,124 @@
+meta {
+ name: Post Prompt
+ type: http
+ seq: 5
+}
+
+post {
+ url: {{BASE_URL}}/prompt
+ body: json
+ auth: none
+}
+
+body:json {
+ {
+ "client_id": "crupest",
+ "prompt": {
+ "3": {
+ "inputs": {
+ "seed": 156680208700286,
+ "steps": 20,
+ "cfg": 8,
+ "sampler_name": "euler",
+ "scheduler": "normal",
+ "denoise": 1,
+ "model": [
+ "4",
+ 0
+ ],
+ "positive": [
+ "6",
+ 0
+ ],
+ "negative": [
+ "7",
+ 0
+ ],
+ "latent_image": [
+ "5",
+ 0
+ ]
+ },
+ "class_type": "KSampler",
+ "_meta": {
+ "title": "KSampler"
+ }
+ },
+ "4": {
+ "inputs": {
+ "ckpt_name": "SUPIR/SUPIR-v0Q.ckpt"
+ },
+ "class_type": "CheckpointLoaderSimple",
+ "_meta": {
+ "title": "Load Checkpoint"
+ }
+ },
+ "5": {
+ "inputs": {
+ "width": 512,
+ "height": 512,
+ "batch_size": 1
+ },
+ "class_type": "EmptyLatentImage",
+ "_meta": {
+ "title": "Empty Latent Image"
+ }
+ },
+ "6": {
+ "inputs": {
+ "text": "beautiful scenery nature glass bottle landscape, , purple galaxy bottle,",
+ "clip": [
+ "4",
+ 1
+ ]
+ },
+ "class_type": "CLIPTextEncode",
+ "_meta": {
+ "title": "CLIP Text Encode (Prompt)"
+ }
+ },
+ "7": {
+ "inputs": {
+ "text": "text, watermark",
+ "clip": [
+ "4",
+ 1
+ ]
+ },
+ "class_type": "CLIPTextEncode",
+ "_meta": {
+ "title": "CLIP Text Encode (Prompt)"
+ }
+ },
+ "8": {
+ "inputs": {
+ "samples": [
+ "3",
+ 0
+ ],
+ "vae": [
+ "4",
+ 2
+ ]
+ },
+ "class_type": "VAEDecode",
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "9": {
+ "inputs": {
+ "filename_prefix": "ComfyUI",
+ "images": [
+ "8",
+ 0
+ ]
+ },
+ "class_type": "SaveImage",
+ "_meta": {
+ "title": "Save Image"
+ }
+ }
+ }
+ }
+}
diff --git a/store/works/bruno/ComfyUI/Upload Image.bru b/store/works/bruno/ComfyUI/Upload Image.bru
new file mode 100644
index 0000000..92b4aeb
--- /dev/null
+++ b/store/works/bruno/ComfyUI/Upload Image.bru
@@ -0,0 +1,18 @@
+meta {
+ name: Upload Image
+ type: http
+ seq: 2
+}
+
+post {
+ url: {{BASE_URL}}/upload/image
+ body: multipartForm
+ auth: none
+}
+
+body:multipart-form {
+ overwrite: true
+ type: input
+ subfolder: crupest-test
+ image: @file(/Users/crupest/codes/crupest/assets/crupest-transparent.png)
+}
diff --git a/store/works/bruno/ComfyUI/View Image.bru b/store/works/bruno/ComfyUI/View Image.bru
new file mode 100644
index 0000000..395eccd
--- /dev/null
+++ b/store/works/bruno/ComfyUI/View Image.bru
@@ -0,0 +1,19 @@
+meta {
+ name: View Image
+ type: http
+ seq: 1
+}
+
+get {
+ url: {{BASE_URL}}/view?filename=crupest-transparent.png&type=input&subfolder=crupest-test&preview=jpeg;90&channel=rgb
+ body: none
+ auth: none
+}
+
+query {
+ filename: crupest-transparent.png
+ type: input
+ subfolder: crupest-test
+ preview: jpeg;90
+ channel: rgb
+}
diff --git a/store/works/bruno/ComfyUI/bruno.json b/store/works/bruno/ComfyUI/bruno.json
new file mode 100644
index 0000000..ee35540
--- /dev/null
+++ b/store/works/bruno/ComfyUI/bruno.json
@@ -0,0 +1,9 @@
+{
+ "version": "1",
+ "name": "ComfyUI",
+ "type": "collection",
+ "ignore": [
+ "node_modules",
+ ".git"
+ ]
+} \ No newline at end of file
diff --git a/store/works/bruno/ComfyUI/environments/ChimerAI ComfyUI Server.bru b/store/works/bruno/ComfyUI/environments/ChimerAI ComfyUI Server.bru
new file mode 100644
index 0000000..480c8da
--- /dev/null
+++ b/store/works/bruno/ComfyUI/environments/ChimerAI ComfyUI Server.bru
@@ -0,0 +1,3 @@
+vars:secret [
+ BASE_URL
+]