File size: 4,012 Bytes
01e514a
 
 
 
220ccd7
01e514a
220ccd7
01e514a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
all_examples = [
            {
                "input_image": None,
                "input_mask": None,
                "input_reference_image": "assets/samples/portrait/8f13fc996c99688f3af8e2300848a001.jpg",
                "save_path": "examples/outputs/portrait_human_1.jpg",
                "instruction": "Dress the character in the image with elf ears and a wizard's robe, transforming them into a mage character from a fantasy world.",
                "output_h": 1024,
                "output_w": 1024,
                "seed": 4194866942,
                "repainting_scale": 1.0,
                "task_type": "portrait",
                "edit_type": "repainting"
            },
            {
                "input_image": None,
                "input_mask": None,
                "input_reference_image": "assets/samples/subject/subject_1.jpg",
                "save_path": "examples/outputs/subject_subject_1.jpg",
                "instruction": "Display the logo in a minimalist style printed in white on a matte black ceramic coffee mug, alongside a steaming cup of coffee on a cozy cafe table.",
                "output_h": 1024,
                "output_w": 1024,
                "seed": 2935362780,
                "repainting_scale": 1.0,
                "task_type": "subject",
                "edit_type": "repainting"
            },
            {
                "input_image": "assets/samples/local/local_1.webp",
                "input_mask":  "assets/samples/local/local_1_m.webp",
                "input_reference_image": None,
                "save_path": "examples/outputs/local_local_1.jpg",
                "instruction": "By referencing the mask, restore a partial image from the doodle {image} that aligns with the textual explanation: \"1 white old owl\".",
                "output_h": -1,
                "output_w": -1,
                "seed": 1159797084,
                "repainting_scale": 0.5,
                "task_type": "local_editing",
                "edit_type": "contour_repainting"
            },
            {
                "input_image": "assets/samples/application/photo_editing/1_1_edit.png",
                "input_mask": "assets/samples/application/photo_editing/1_1_m.png",
                "input_reference_image": "assets/samples/application/photo_editing/1_ref.png",
                "save_path": "examples/outputs/photo_editing_1.jpg",
                "instruction": "The item is put on the ground.",
                "output_h": -1,
                "output_w": -1,
                "seed": 2072028954,
                "repainting_scale": 1.0,
                "task_type": "subject",
                "edit_type": "repainting"
            },
            {
                "input_image": "assets/samples/application/logo_paste/1_1_edit.png",
                "input_mask": "assets/samples/application/logo_paste/1_1_m.png",
                "input_reference_image": "assets/samples/application/logo_paste/1_ref.png",
                "save_path": "examples/outputs/logo_paste_1.jpg",
                "instruction": "The logo is printed on the headphones.",
                "output_h": -1,
                "output_w": -1,
                "seed": 934582264,
                "repainting_scale": 1.0,
                "task_type": "subject",
                "edit_type": "repainting"
            },
            {
                "input_image": "assets/samples/application/movie_poster/1_1_edit.png",
                "input_mask": "assets/samples/application/movie_poster/1_1_m.png",
                "input_reference_image": "assets/samples/application/movie_poster/1_ref.png",
                "save_path": "examples/outputs/movie_poster_1.jpg",
                "instruction": "The man is facing the camera and is smiling.",
                "output_h": -1,
                "output_w": -1,
                "seed": 988183236,
                "repainting_scale": 1.0,
                "task_type": "portrait",
                "edit_type": "repainting"
            }

        ]