BYOKey Reve Image
Reve create, the new closed-model darling, with your own key
- image
Reve is one of the new wave of closed image models the community keeps grumbling about - "so high quality and locked behind closed doors," as one r/StableDiffusion thread put it. There are no weights to download, so the only way to use it is to call it. This node is that call, with your own Reve key instead of a Comfy credit balance.
How it works. Straightforward POST to https://api.reve.com (the default base_url, overridable for a relay) with your key in the Authorization header. Notably, the key format here is papi.xxxxx, not the usual sk-... - grab it from your Reve account as-is. The node submits the request, downloads the returned image, and decodes it into a [1, H, W, C] torch tensor, so it plugs into standard Save Image / Preview nodes like anything else. Reve's API is synchronous enough that there's no polling involved.
The inputs that matter:
prompt- your text description, up to 2560 characters (validated non-empty). Reve is a very literal, photorealistic-ish model; describe the scene, lighting, and composition explicitly.model- pinned toreve-create@20250915, the dated snapshot Reve serves. An enum with one choice today; it'll grow as they release versions.aspect_ratio-3:2default, plus16:9,9:16,2:3,4:3,3:4,1:1. Set it before generating; you don't get to recrop cheaply.test_time_scaling- 1 to 5. This is Reve's distinctive knob: higher values spend more inference time for better results, and cost more credits. Start at 1 for drafts, go up only when a composition is worth the spend.upscale/upscale_factor- optional API-side upscale (2x, 3x, or 4x) that adds cost. Usually cheaper to skip and upscale locally if that's your style; but if you want Reve's own upscale baked in, this is where.remove_background- one-click background removal at extra cost, returned as an RGBA image. Fine for a quick cutout; for anything serious you'd still rather run a proper local bg-removal model.seed- same caveat as most of this pack: it controls whether the node re-runs, but results are non-deterministic regardless. Don't chase reproducibility here.
Output: one image (IMAGE) socket.
Install. Same shared pack, one clone:
cd ComfyUI/custom_nodes
git clone https://github.com/MeteorAndy/comfyui-byokey.git
# restart ComfyUI; it's under api/byokey/image
No model downloads, no dependencies beyond ComfyUI's bundled torch/aiohttp/PIL/numpy/av.
Gotchas. The papi. key format trips people up - don't prepend Bearer or anything else. test_time_scaling and the upscale/background options are all credit-burners, so watch the bill if you're iterating a lot. And as with every node in this young pack: it holds your key and phones home by design, so skim the source once before trusting it with real credentials.
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | Reve API key (papi.xxxxx). | |
| base_url | STRING | https://api.reve.com | Reve API host. Override for relays. |
| prompt | STRING | Text description of the desired image. Maximum 2560 characters. | |
| model | COMBO | reve-create@20250915 | Model version to use for generation. |
| aspect_ratio | COMBO | 3:2 | Aspect ratio of the output image. |
| test_time_scalingopt | INT | 11–5 | Higher values produce better images but cost more credits. |
| upscaleopt | COMBO | disabled | Upscale the generated image. May add additional cost. |
| upscale_factoropt | INT | 22–4 | Upscale factor (2x, 3x, or 4x). |
| remove_backgroundopt | BOOLEAN | false | Remove the background from the generated image. May add additional cost. |
| seedopt | INT | 00–2147483647 | Seed controls whether the node should re-run; results are non-deterministic regardless of seed. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |