小米相册

小米相册中,通过自己21+照片不同角度,训练一个自己的人物形象,然后换衣服背景原理就是用的Lora

AI 写真

Lora

使用stable difussion给自己的小孩做写真摄影,通过什么功能实现? - 知乎

相似图

原图 + 参考图

https://github.com/tencent-ailab/IP-Adapter

{
  "imgs_dict": "[{\\"lt_x\\":112,\\"lt_y\\":-146,\\"angle\\":360,\\"scale_rate\\":0.8389100248734797,\\"vertical\\":0,\\"horizontal\\":1,\\"mask_path\\":\\"\\",\\"img_path\\":\\"\\",\\"softedge_path\\":\\"\\",\\"name\\":\\"ori\\",\\"z_index\\":0}]",
  "p_prompt": "",
  "n_prompt": "",
  "sample_mtd": "Eular a",
  "seed": -1,
  "refine_version": 2,
  "ref_strength": 0.3,
  "ref_prompt_strength": 0.3,
  "steps": 20,
  "cfg": 7,
  "defined_flag": 1,
  "goods_bg_style": "00_random",
  "bgKeyList": [],
  "version": "backend_5bc9ff55",
  "upscale_enable": 1,
  "num": 4,
  "canvas_width": 800,
  "canvas_height": 800
}

Untitled

拍同款

融合之后的低强度重绘

{
  "imgs_dict": "[{\\"lt_x\\":112,\\"lt_y\\":-146,\\"angle\\":360,\\"scale_rate\\":0.8389100248734797,\\"vertical\\":0,\\"horizontal\\":1,\\"mask_path\\":\\"\\",\\"img_path\\":\\"\\",\\"softedge_path\\":\\"\\",\\"name\\":\\"ori\\",\\"z_index\\":0}]",
  "p_prompt": "",
  "n_prompt": "",
  "sample_mtd": "Eular a",
  "seed": -1,
   "refine_version": 1,
  "ref_strength": 0.3,
  "ref_prompt_strength": 0.7,
  "steps": 20,
  "cfg": 7,
  "defined_flag": 1,
  "goods_bg_style": "00_random",
  "bgKeyList": [],
  "version": "backend_5bc9ff55",
  "upscale_enable": 1,
  "num": 4,
  "canvas_width": 800,
  "canvas_height": 800
}

Untitled