Run this model with HF Jobs

Run 0ppxnhximxr/snapref-v2s 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/0ppxnhximxr/snapref-v2s. 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/0ppxnhximxr/snapref-v2s 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.
snapref-v2s / workflows /snapref_v2s_style_advanced.json
0ppxnhximxr's picture
SnapRef v2s PRE1
c6545c1
Raw History Blame Contribute Delete
8.72 kB
{
"last_node_id": 12,
"last_link_id": 13,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
0,
0
],
"size": [
340,
140
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"anima-base-v1.0.safetensors",
"default"
]
},
{
"id": 2,
"type": "CLIPLoader",
"pos": [
0,
180
],
"size": [
340,
140
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
1,
2,
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"qwen_3_06b_base.safetensors",
"stable_diffusion",
"default"
]
},
{
"id": 3,
"type": "VAELoader",
"pos": [
0,
360
],
"size": [
340,
140
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
5,
12
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 4,
"type": "LoadImage",
"pos": [
0,
520
],
"size": [
340,
420
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"reference.png",
"image"
],
"title": "style picture (the art style you want)"
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
400,
0
],
"size": [
420,
240
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
8
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"masterpiece, best quality, score_7, safe, 1girl, solo, short silver hair, blue eyes, maid, apron, holding tray, cafe interior, smile, cowboy shot"
],
"title": "positive (character + scene)"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
400,
280
],
"size": [
420,
200
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration"
],
"title": "negative"
},
{
"id": 7,
"type": "EmptyLatentImage",
"pos": [
400,
520
],
"size": [
340,
140
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
10
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1216,
832,
1
]
},
{
"id": 8,
"type": "SnapRef",
"pos": [
880,
0
],
"size": [
360,
520
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 3
},
{
"name": "clip",
"type": "CLIP",
"link": 4
},
{
"name": "vae",
"type": "VAE",
"link": 5
},
{
"name": "image",
"type": "IMAGE",
"link": 6
},
{
"name": "image_2",
"type": "IMAGE",
"link": null
},
{
"name": "image_3",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SnapRef"
},
"widgets_values": [
"snapref_v2s_pre1.safetensors",
"style",
false,
1.0,
0.0,
"",
false,
4.5,
"apg",
1.0,
false,
"separate",
1.0,
1.0,
1.0,
1.0
],
"title": "SnapRef v2s PRE1 (Advanced), mode style"
},
{
"id": 9,
"type": "KSampler",
"pos": [
1300,
0
],
"size": [
340,
270
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 7
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 8
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 9
},
{
"name": "latent_image",
"type": "LATENT",
"link": 10
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
20261029,
"fixed",
28,
4.5,
"euler",
"simple",
1.0
]
},
{
"id": 10,
"type": "VAEDecode",
"pos": [
1300,
320
],
"size": [
340,
140
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 11
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 11,
"type": "SaveImage",
"pos": [
1680,
0
],
"size": [
520,
620
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"snapref/v2s_pre_style"
]
},
{
"id": 12,
"type": "Note",
"pos": [
1680,
660
],
"size": [
520,
360
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"Node name for S&R": "Note"
},
"widgets_values": [
"SnapRef v2s PRE1 · Style mode: put a picture in the art style you want in Load Image (image_2 / image_3 add more pictures by the same artist). Write the character AND the scene in the prompt: only the art style comes from the pictures, not their character. Start with strength 0 (log scale) and Fidelity 1.0; a higher strength can bring in the pictures' character. Character & Style and Character work exactly as in v2a."
]
}
],
"links": [
[
1,
2,
0,
5,
0,
"CLIP"
],
[
2,
2,
0,
6,
0,
"CLIP"
],
[
3,
1,
0,
8,
0,
"MODEL"
],
[
4,
2,
0,
8,
1,
"CLIP"
],
[
5,
3,
0,
8,
2,
"VAE"
],
[
6,
4,
0,
8,
3,
"IMAGE"
],
[
7,
8,
0,
9,
0,
"MODEL"
],
[
8,
5,
0,
9,
1,
"CONDITIONING"
],
[
9,
6,
0,
9,
2,
"CONDITIONING"
],
[
10,
7,
0,
9,
3,
"LATENT"
],
[
11,
9,
0,
10,
0,
"LATENT"
],
[
12,
3,
0,
10,
1,
"VAE"
],
[
13,
10,
0,
11,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.75,
"offset": [
40,
60
]
}
},
"version": 0.4
}