Run this model with HF Jobs
Run NeedAHugNOW/City-Pop-LoKr on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/NeedAHugNOW/City-Pop-LoKr. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/NeedAHugNOW/City-Pop-LoKr on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use NeedAHugNOW/City-Pop-LoKr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use NeedAHugNOW/City-Pop-LoKr with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("NeedAHugNOW/City-Pop-LoKr") prompt = "two samurais in flowing robes doing a muay thai fight, one throws a high kick while the other leans back." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download workflow.json from NeedAHugNOW/City-Pop-LoKr: direct link, hf CLI and curl.
- Browser
- Download file 18.5 kB
-
https://huggingface.co/NeedAHugNOW/City-Pop-LoKr/resolve/main/workflow.json
- Command line
-
hf download hf://NeedAHugNOW/City-Pop-LoKr/workflow.json
-
curl -L -o workflow.json https://huggingface.co/NeedAHugNOW/City-Pop-LoKr/resolve/main/workflow.json
18.5 kB
{
"id": "15d3727c-7b6f-4c20-aac2-4796d4f55573",
"revision": 0,
"last_node_id": 33,
"last_link_id": 49,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
1780,
-550
],
"size": [
270,
90
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
5,
6,
29
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"krea2/krea2_raw_bf16.safetensors",
"default"
]
},
{
"id": 2,
"type": "CLIPLoader",
"pos": [
1780,
-420
],
"size": [
270,
110
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
1,
2
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"krea2/qwen3vl_4b_bf16.safetensors",
"krea2",
"default"
]
},
{
"id": 3,
"type": "VAELoader",
"pos": [
1780,
-270
],
"size": [
270,
60
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
26
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
1780,
-90
],
"size": [
400,
200
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
7,
9
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A young woman with pink and aqua two-tone hair tied in a messy updo, wearing large over-ear headphones, reclining lazily in a plush magenta armchair beside a tall apartment window. She wears a loose yellow romper with black trim and black slide sandals, one leg kicked up\ncasually against the window frame. A sleek black cat with glowing yellow eyes sits on the dark floor looking up at her. The room is dim and moody with silhouettes of large potted plants, while intense sunlight floods in from the window revealing a sunlit urban cityscape\nwith tall buildings and green vines outside."
]
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
1780,
150
],
"size": [
400,
200
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
8,
10
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"low quality, worst quality, deformed, disfigured, bad anatomy, fused fingers, blurry, watermark, signature, text, jpeg artifacts, overexposed, oversaturated, muddy colors, flat lighting, overblown highlights"
]
},
{
"id": 6,
"type": "CFGGuider",
"pos": [
2740,
30
],
"size": [
270,
100
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 11
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 7
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 8
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
22
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "CFGGuider"
},
"widgets_values": [
1
]
},
{
"id": 7,
"type": "CFGGuider",
"pos": [
2740,
180
],
"size": [
270,
100
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 12
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 9
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 10
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
16
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "CFGGuider"
},
"widgets_values": [
3.5
]
},
{
"id": 11,
"type": "LoraLoaderModelOnly",
"pos": [
2120,
-550
],
"size": [
270,
90
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 29
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
4
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"krea2/krea2_raw_to_turbo_r256_comfy.safetensors",
1
]
},
{
"id": 12,
"type": "LoraLoaderModelOnly",
"pos": [
2400,
-550
],
"size": [
270,
90
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 4
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"krea2/city-pop-structure.safetensors",
1.5
]
},
{
"id": 13,
"type": "LoraLoaderModelOnly",
"pos": [
2120,
-410
],
"size": [
270,
90
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 6
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
12
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"krea2/city-pop-structure.safetensors",
1.5
]
},
{
"id": 14,
"type": "KSamplerSelect",
"pos": [
2740,
-370
],
"size": [
270,
60
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
17,
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 15,
"type": "BasicScheduler",
"pos": [
2740,
-260
],
"size": [
270,
110
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 5
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"beta_57",
30,
1
]
},
{
"id": 16,
"type": "RandomNoise",
"pos": [
2740,
-500
],
"size": [
270,
90
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
15
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
0,
"fixed"
]
},
{
"id": 17,
"type": "SplitSigmas",
"pos": [
2740,
-100
],
"size": [
270,
80
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "sigmas",
"type": "SIGMAS",
"link": 13
}
],
"outputs": [
{
"name": "high_sigmas",
"type": "SIGMAS",
"links": [
18
]
},
{
"name": "low_sigmas",
"type": "SIGMAS",
"links": [
44
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "SplitSigmas"
},
"widgets_values": [
10
]
},
{
"id": 19,
"type": "SamplerCustomAdvanced",
"pos": [
3110,
-260
],
"size": [
220,
330
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 15
},
{
"name": "guider",
"type": "GUIDER",
"link": 16
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 17
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 18
},
{
"name": "latent_image",
"type": "LATENT",
"link": 19
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
20
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 20,
"type": "EmptySD3LatentImage",
"pos": [
2330,
40
],
"size": [
270,
110
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1536,
1536,
1
]
},
{
"id": 21,
"type": "SamplerCustomAdvanced",
"pos": [
3380,
-260
],
"size": [
220,
330
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 21
},
{
"name": "guider",
"type": "GUIDER",
"link": 22
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 24
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 44
},
{
"name": "latent_image",
"type": "LATENT",
"link": 20
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
25
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 22,
"type": "DisableNoise",
"pos": [
3280,
-430
],
"size": [
140,
30
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
21
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "DisableNoise"
},
"widgets_values": []
},
{
"id": 23,
"type": "VAEDecode",
"pos": [
3610,
-260
],
"size": [
140,
50
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 25
},
{
"name": "vae",
"type": "VAE",
"link": 26
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
27
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 24,
"type": "SaveImage",
"pos": [
3780,
-260
],
"size": [
270,
270
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 27
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2"
},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
1,
2,
0,
4,
0,
"CLIP"
],
[
2,
2,
0,
5,
0,
"CLIP"
],
[
4,
11,
0,
12,
0,
"MODEL"
],
[
5,
1,
0,
15,
0,
"MODEL"
],
[
6,
1,
0,
13,
0,
"MODEL"
],
[
7,
4,
0,
6,
1,
"CONDITIONING"
],
[
8,
5,
0,
6,
2,
"CONDITIONING"
],
[
9,
4,
0,
7,
1,
"CONDITIONING"
],
[
10,
5,
0,
7,
2,
"CONDITIONING"
],
[
11,
12,
0,
6,
0,
"MODEL"
],
[
12,
13,
0,
7,
0,
"MODEL"
],
[
13,
15,
0,
17,
0,
"SIGMAS"
],
[
15,
16,
0,
19,
0,
"NOISE"
],
[
16,
7,
0,
19,
1,
"GUIDER"
],
[
17,
14,
0,
19,
2,
"SAMPLER"
],
[
18,
17,
0,
19,
3,
"SIGMAS"
],
[
19,
20,
0,
19,
4,
"LATENT"
],
[
20,
19,
0,
21,
4,
"LATENT"
],
[
21,
22,
0,
21,
0,
"NOISE"
],
[
22,
6,
0,
21,
1,
"GUIDER"
],
[
24,
14,
0,
21,
2,
"SAMPLER"
],
[
25,
21,
0,
23,
0,
"LATENT"
],
[
26,
3,
0,
23,
1,
"VAE"
],
[
27,
23,
0,
24,
0,
"IMAGE"
],
[
29,
1,
0,
11,
0,
"MODEL"
],
[
44,
17,
1,
21,
3,
"SIGMAS"
]
],
"groups": [
{
"id": 1,
"title": "Load Models",
"bounding": [
1770,
-620,
290,
430
],
"color": "#A88",
"flags": {}
},
{
"id": 2,
"title": "Prompts",
"bounding": [
1770,
-160,
420,
520
],
"color": "#88A",
"flags": {}
},
{
"id": 3,
"title": "Apply Adaptors",
"bounding": [
2110,
-620,
570,
310
],
"color": "#8A8",
"flags": {}
},
{
"id": 4,
"title": "Sampling Params",
"bounding": [
2730,
-570,
290,
860
],
"color": "#3f789e",
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.45913043478260857,
"offset": [
-1376.6666666666665,
934.2376893939394
]
},
"frontendVersion": "1.45.19"
},
"version": 0.4
}
{
"id": "15d3727c-7b6f-4c20-aac2-4796d4f55573",
"revision": 0,
"last_node_id": 33,
"last_link_id": 49,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
1780,
-550
],
"size": [
270,
90
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
5,
6,
29
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"krea2/krea2_raw_bf16.safetensors",
"default"
]
},
{
"id": 2,
"type": "CLIPLoader",
"pos": [
1780,
-420
],
"size": [
270,
110
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
1,
2
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.26.2",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"krea2/qwen3vl_4b_bf16.safetensors",
"krea2",
"default"
]
},
{
"id": 3,
"type": "VAELoader",
"pos": [
1780,
-270
],
"size": [
270,
60
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
26
]