Nodes/comfyui-byokey/BYOKey Reve Image
ComfyUI Node

BYOKey Reve Image

Reve create, the new closed-model darling, with your own key

By MeteorAndy·Created 4 months ago·Updated 3 months ago· 0
BYOKey Reve Image
    • image
    api_key
    base_urlhttps://api.reve.com
    prompt
    modelreve-create@20250915
    aspect_ratio3:2
    test_time_scaling1
    upscaledisabled
    upscale_factor2
    remove_backgroundfalse
    seed0

    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 to reve-create@20250915, the dated snapshot Reve serves. An enum with one choice today; it'll grow as they release versions.
    • aspect_ratio - 3:2 default, plus 16: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.

    Categoryapi/byokey/image

    Inputs (10)

    NameTypeDefaultDescription
    api_keySTRINGReve API key (papi.xxxxx).
    base_urlSTRINGhttps://api.reve.comReve API host. Override for relays.
    promptSTRINGText description of the desired image. Maximum 2560 characters.
    modelCOMBOreve-create@20250915Model version to use for generation.
    aspect_ratioCOMBO3:2Aspect ratio of the output image.
    test_time_scalingoptINT11–5Higher values produce better images but cost more credits.
    upscaleoptCOMBOdisabledUpscale the generated image. May add additional cost.
    upscale_factoroptINT22–4Upscale factor (2x, 3x, or 4x).
    remove_backgroundoptBOOLEANfalseRemove the background from the generated image. May add additional cost.
    seedoptINT00–2147483647Seed controls whether the node should re-run; results are non-deterministic regardless of seed.

    Outputs (1)

    NameTypeDescription
    imageIMAGE