Edit one source image by a written instruction with HiDream-O1-Image Dev (bf16) on the RunPod image endpoint, SFW only. Translated from Comfy-Org/workflow_templates@aaac56dd templates/image_hidream_o1_dev.json with its Switch to Image Edit on (the template's shipped state): the source goes into HiDreamO1ReferenceImages as image_1 on both the prompt and the empty negative, and the output takes the source's size through GetImageSize and two ComfyMathExpression floor(a/32)*32 nodes into EmptyHiDreamO1LatentImage; sampling is the Dev chain (ModelNoiseScale 7.6, BasicScheduler normal 28 steps, SamplerLCM 1/1/2.5, SamplerCustom CFG 1). One reference is the node's instruction-edit case (its tooltip: 1 image = instruction edit, 2-10 = multi reference, which hidream-o1-personalize covers). The template's ImageScaleToTotalPixels (lanczos, 4 MP, resolution_steps 1) ships bypassed with a note to enable it for large inputs; it is always on here, so the output lands near the model's ~4 MP training size and inside the per-job pixel cap, which cannot see a size read from an image. 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-imageimage-edithidream-o1
Inputs (3)#
The typed parameter surface callers bind when they request this workflow. Enum options and numeric bounds are the values the workflow document declares.
promptstringrequireddefault Transform the background into a rainy neon city street at night, with wet asphalt reflections, blurred neon signsseedintegerdefault -1source_imageimagerequiredComfyUI node graph (16)#
The executable ComfyUI prompt graph: 16 nodes across 14 distinct node classes, wired by 22 data dependencies. Nodes tinted green come from a custom node pack this workflow declares; the rest are ComfyUI core / baked-community classes.
Nodes (16)#
1CheckpointLoaderSimplecoreckpt_name = hidream_o1_image_dev_bf16.safetensorsMODELCLIPVAE2CLIPTextEncodecoretext = {{constructed_prompt}} tmplclip = ◂ node 1 · out[1]CONDITIONING3CLIPTextEncodecoretext = clip = ◂ node 1 · out[1]CONDITIONING4LoadImagecoreimage = {{source_image}} tmplIMAGEMASK5ImageScaleToTotalPixelscoreimage = ◂ node 4 · out[0]upscale_method = lanczosmegapixels = 4.0resolution_steps = 1IMAGE6HiDreamO1ReferenceImagescorepositive = ◂ node 2 · out[0]negative = ◂ node 3 · out[0]images.image_1 = ◂ node 4 · out[0]CONDITIONINGCONDITIONING7GetImageSizecoreimage = ◂ node 5 · out[0]INTINTINT8ComfyMathExpressioncoreexpression = floor(a/32)*32values.a = ◂ node 7 · out[0]FLOATINTBOOLEAN9ComfyMathExpressioncoreexpression = floor(a/32)*32values.a = ◂ node 7 · out[1]FLOATINTBOOLEAN10EmptyHiDreamO1LatentImagecorewidth = ◂ node 8 · out[1]height = ◂ node 9 · out[1]batch_size = 1LATENT11ModelNoiseScalecoremodel = ◂ node 1 · out[0]noise_scale = 7.6MODEL12BasicSchedulercoremodel = ◂ node 11 · out[0]scheduler = normalsteps = 28denoise = 1.0SIGMAS13SamplerLCMcores_noise = 1.0s_noise_end = 1.0noise_clip_std = 2.5SAMPLER14SamplerCustomcoremodel = ◂ node 11 · out[0]add_noise = truenoise_seed = {{seed}} tmplcfg = 1.0positive = ◂ node 6 · out[0]negative = ◂ node 6 · out[1]sampler = ◂ node 13 · out[0]sigmas = ◂ node 12 · out[0]latent_image = ◂ node 10 · out[0]LATENTLATENT15VAEDecodecoresamples = ◂ node 14 · out[0]vae = ◂ node 1 · out[2]IMAGE16SaveImagecoreimages = ◂ node 15 · out[0]filename_prefix = isis/hidream-o1-editPrompt construction#
template{base_prompt}Variables (1)#
base_prompt{{prompt}} tmplParameter banks (1)#
The prompt / configuration lookup tables this workflow keys into from its inputs — the vocabulary that turns a style / palette / preset selection into graph parameters.
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-profilecontrolModalitiesmodel-locksampler-scheduler-lockseed-locklatent-reuseconsistencyDimensionsidentitylightingenvironmentnotesHiDream-O1-Image Dev instruction edit of one source image, output at the source aspect near 4 MP, SFW only.