Cobalt PearOpen the app

Make a pack for your worker

A pack is one small file, pack.json, that tells Cobalt Pear how to call your RunPod Serverless worker. You need a working endpoint first — the pack only says what to send it. Fill in the boxes and the file is made below.

1. What your worker takes

5. Put it in your repo and try it

  1. Save it as pack.json at the top of your worker's GitHub repo, on the main branch.
  2. Open Cobalt Pear → Models → Custom → paste the repo's address under «Your own worker» → Add. No repo? Choose a pack or ComfyUI workflow takes the file itself.
  3. Paste your endpoint ID and send a prompt. The app reads the pack again each time it opens, so a fix shows at once.

6. Let people find it

Add the topic cobalt-pear to your repo (the ⚙️ next to About on its GitHub page). Every worker with a pack is listed at github.com/topics/cobalt-pear.

What each field means

format · enginepack/1 · comfyui (a ComfyUI workflow) or json (any other worker)
id · label · notea short id · the name shown · tips shown under the model
kindthe group it sits under in the model menu
workflow · inputwhat is sent — the ComfyUI workflow, or the RunPod input
prompt · negative · seed · width · height · size · imagewhere each value goes, as a list of places. comfyui = [node id, input name], json = the path inside input. size = "1536x960" in one string · image = a starting picture as base64
sizes · size_stepsizes as [width, height, name] · the step sizes must be a multiple of

What your worker sends back can have any shape — the app looks through the whole output for files ({type: "base64", data}, data:…, base64, https://… links) and for text under content, text, response, output or caption.