Subject-driven personalization with HiDream-O1-Image Dev (bf16) on the RunPod image endpoint, SFW only: two to ten reference images define the subject(s) and the prompt places them in a new scene. Translated from Comfy-Org/workflow_templates@aaac56dd templates/image_hidream_o1_dev.json: its HiDreamO1ReferenceImages node (the template's note: up to 10 reference images, add Load Image nodes and link them; the node's tooltip: 2-10 images = multi reference) on the prompt and the empty negative, the Dev sampling chain (ModelNoiseScale 7.6, BasicScheduler normal 28 steps, SamplerLCM 1/1/2.5, SamplerCustom CFG 1), and the template's EmptyHiDreamO1LatentImage at a chosen trained resolution rather than the source's size, because upstream's personalization runs (HiDream-ai/HiDream-O1-Image README, sections 3-5) generate at --height/--width (2048x2048 by default) instead of keeping a reference's aspect as its edit example does. Skeleton conditioning in the upstream pipeline is a pose skeleton image passed as one of the reference images (README section 4), so it needs no input of its own; layout conditioning is the pipeline's --layout_bboxes argument, which neither the ComfyUI template nor any core node exposes, so it is not offered. The template loads the fp8_scaled checkpoint; this catalog loads the bf16 file on the volume. Prompt refine is not offered (see prompt_refine_note).
Tags: chromarunpod-serverlessvolume-backedimage-to-imagepersonalizationmulti-referencehidream-o1
Inputs (15)#
The typed parameter surface callers bind when they request this workflow. Enum options and numeric bounds are the values the workflow document declares.
promptstringrequireddefault Create a realistic try-on image of the person wearing the provided clothing.seedintegerdefault -1reference_countintegerdefault 2min 2max 10reference_image_1imagerequiredreference_image_2imagerequiredreference_image_3imagereference_image_4imagereference_image_5imagereference_image_6imagereference_image_7imagereference_image_8imagereference_image_9imagereference_image_10imageaspectenumdefault square_2048x2048square_2048x2048landscape_4x3_2304x1728portrait_3x4_1728x2304landscape_9x7_2304x1792portrait_7x9_1792x2304landscape_3x2_2496x1664portrait_2x3_1664x2496landscape_16x9_2560x1440portrait_9x16_1440x2560ultrawide_3104x1312ultratall_1312x3104batch_sizeintegerdefault 1min 1max 1ComfyUI node graph (21)#
The executable ComfyUI prompt graph: 21 nodes across 11 distinct node classes, wired by 25 data dependencies. Nodes tinted green come from a custom node pack this workflow declares; the rest are ComfyUI core / baked-community classes.
Nodes (21)#
1CheckpointLoaderSimplecoreckpt_name = hidream_o1_image_dev_bf16.safetensorsMODELCLIPVAE2CLIPTextEncodecoretext = {{constructed_prompt}} tmplclip = ◂ node 1 · out[1]CONDITIONING3CLIPTextEncodecoretext = clip = ◂ node 1 · out[1]CONDITIONING4LoadImagecoreimage = {{reference_image_1}} tmplIMAGEMASK5LoadImagecoreimage = {{reference_image_2}} tmplIMAGEMASK6LoadImagecoreimage = {{reference_image_3}} tmplIMAGEMASK7LoadImagecoreimage = {{reference_image_4}} tmplIMAGEMASK8LoadImagecoreimage = {{reference_image_5}} tmplIMAGEMASK9LoadImagecoreimage = {{reference_image_6}} tmplIMAGEMASK10LoadImagecoreimage = {{reference_image_7}} tmplIMAGEMASK11LoadImagecoreimage = {{reference_image_8}} tmplIMAGEMASK12LoadImagecoreimage = {{reference_image_9}} tmplIMAGEMASK13LoadImagecoreimage = {{reference_image_10}} tmplIMAGEMASK14HiDreamO1ReferenceImagescorepositive = ◂ node 2 · out[0]negative = ◂ node 3 · out[0]images.image_1 = ◂ node 4 · out[0]images.image_2 = ◂ node 5 · out[0]images.image_3 = ◂ node 6 · out[0]images.image_4 = ◂ node 7 · out[0]images.image_5 = ◂ node 8 · out[0]images.image_6 = ◂ node 9 · out[0]images.image_7 = ◂ node 10 · out[0]images.image_8 = ◂ node 11 · out[0]images.image_9 = ◂ node 12 · out[0]images.image_10 = ◂ node 13 · out[0]CONDITIONINGCONDITIONING15EmptyHiDreamO1LatentImagecorewidth = {{aspect_map[aspect].width}} tmplheight = {{aspect_map[aspect].height}} tmplbatch_size = {{batch_size}} tmplLATENT16ModelNoiseScalecoremodel = ◂ node 1 · out[0]noise_scale = 7.6MODEL17BasicSchedulercoremodel = ◂ node 16 · out[0]scheduler = normalsteps = 28denoise = 1.0SIGMAS18SamplerLCMcores_noise = 1.0s_noise_end = 1.0noise_clip_std = 2.5SAMPLER19SamplerCustomcoremodel = ◂ node 16 · out[0]add_noise = truenoise_seed = {{seed}} tmplcfg = 1.0positive = ◂ node 14 · out[0]negative = ◂ node 14 · out[1]sampler = ◂ node 18 · out[0]sigmas = ◂ node 17 · out[0]latent_image = ◂ node 15 · out[0]LATENTLATENT20VAEDecodecoresamples = ◂ node 19 · out[0]vae = ◂ node 1 · out[2]IMAGE21SaveImagecoreimages = ◂ node 20 · out[0]filename_prefix = isis/hidream-o1-personalizePrompt construction#
template{base_prompt}Variables (1)#
base_prompt{{prompt}} tmplParameter banks (2)#
The prompt / configuration lookup tables this workflow keys into from its inputs — the vocabulary that turns a style / palette / preset selection into graph parameters.
aspect_map (11)#
square_2048x2048{"width": 2048, "height": 2048}landscape_4x3_2304x1728{"width": 2304, "height": 1728}portrait_3x4_1728x2304{"width": 1728, "height": 2304}landscape_9x7_2304x1792{"width": 2304, "height": 1792}portrait_7x9_1792x2304{"width": 1792, "height": 2304}landscape_3x2_2496x1664{"width": 2496, "height": 1664}portrait_2x3_1664x2496{"width": 1664, "height": 2496}landscape_16x9_2560x1440{"width": 2560, "height": 1440}portrait_9x16_1440x2560{"width": 1440, "height": 2560}ultrawide_3104x1312{"width": 3104, "height": 1312}ultratall_1312x3104{"width": 1312, "height": 3104}requires_families (1)#
hidream-o1Models & dependencies#
Models required (1)#
hidream_o1_image_dev_bf16.safetensorsOutput contract#
What a successful run of this workflow returns.
typeimageformatpngTaxonomy & routing#
How the control plane classifies this workflow — from the committed workflow-taxonomy-registry.json. It drives the consistency / control surface the agentic director can exercise over the workflow.
assetFamilyportrait-hero-image-bundleoutputPackageProfileimage-single-profilecontrolModalitiesreference-ensemblemodel-locksampler-scheduler-lockseed-lockprompt-template-lockconsistencyDimensionsidentitylightingenvironmentnotesHiDream-O1-Image Dev subject-driven personalization from two to ten reference images at a trained ~4 MP resolution, SFW only.