{"id":19778,"date":"2024-09-11T10:45:28","date_gmt":"2024-09-11T02:45:28","guid":{"rendered":"https:\/\/www.1ai.net\/?p=19778"},"modified":"2024-09-11T10:45:28","modified_gmt":"2024-09-11T02:45:28","slug":"%e7%94%a8ai%e5%b8%ae%e5%88%ab%e4%ba%ba%e5%88%b6%e4%bd%9c%e4%b8%93%e4%b8%9a%e8%af%81%e4%bb%b6%e7%85%a7%ef%bc%8ccomfyui%e4%b8%80%e9%94%ae%e7%94%9f%e6%88%90%e8%af%81%e4%bb%b6%e7%85%a7%e5%b7%a5%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/19778.html","title":{"rendered":"Help others make professional ID photos with AI, ComfyUI one-click ID photo generation workflow free to share!"},"content":{"rendered":"<p>Recently there was a generation<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e8%af%81%e4%bb%b6%e7%85%a7\" title=\"[Sees articles with tags]\" target=\"_blank\" >ID photo<\/a>The open source project is quite hot, before we want to generate the photo ID need to go offline, online need to pay or look at the ads to generate, and the generation of the results are also mixed, the options are not much.<\/p>\n<p>Today we want to share this AI photo generation tool can be one click can generate one-inch photo, two-inch photo, teacher qualification, national civil service examination, social security card, electronic driver's license, a variety of visas, including 18 kinds of photo ID, and you can choose to blue, white, red, black, dark blue, including five kinds of background photo ID.<\/p>\n<p>You can also manually add more photo ID types if they don't meet our needs.<\/p>\n<p>And there are no special requirements for the uploaded photos, photos with complex background images can also be generated as a photo ID, and you can also add a photo watermark.<\/p>\n<p>Okay, without further ado, let\u2019s get started.<\/p>\n<p>First look at the effect, the left is the original picture, the right is the generated blue background one-inch photo, and added a watermark of the photo, the content of the watermark can be customized.<\/p>\n<p>You can also generate a set of ID photos at the same time, convenient for us to print, very practical have you.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19779\" title=\"cb667319j00sjmncb0030d000sr00mbp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/cb667319j00sjmncb0030d000sr00mbp.jpg\" alt=\"cb667319j00sjmncb0030d000sr00mbp\" width=\"1035\" height=\"803\" \/><\/p>\n<p>And there's no limit to the size of the uploaded photos, they can all end up generating the size we want.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19780\" title=\"0e85037cj00sjmncp002ad000sk00m6p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/0e85037cj00sjmncp002ad000sk00m6p.jpg\" alt=\"0e85037cj00sjmncp002ad000sk00m6p\" width=\"1028\" height=\"798\" \/><\/p>\n<p>And this is just the basic function, the follow-up will continue to open source beauty and smart dress up function, guys can look forward to.<\/p>\n<p>Well, next, let's share exactly how to install the operation.<\/p>\n<p>have <a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui\" title=\"_Other Organiser\" target=\"_blank\" >ComfyUI<\/a> The model will be placed in the net disk at the end of the article, and the partners can also go to the home page of the plug-in to download it by themselves.<\/p>\n<p>No ComfyUI partners do not have to worry, the plug-in author also created a one-click installation package, out of the box, placed in the end of the article in the network disk.<\/p>\n<p>The workflow is as follows, on the left we need to upload the original photo, and on the right we have the final generated ID photo.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19783\" title=\"43cbab38j00sjmnd70024d000u000hbp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/43cbab38j00sjmnd70024d000u000hbp.jpg\" alt=\"43cbab38j00sjmnd70024d000u000hbp\" width=\"1080\" height=\"623\" \/><\/p>\n<p>This node are in Chinese, the partners themselves point to know, the first is the size of the photo ID, the second is the background color, the third is the background effect of the photo ID, whether it is a solid color, or up and down gradient or center gradient.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19781\" title=\"bee8a48dj00sjmndr0006d0008p0037p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/bee8a48dj00sjmndr0006d0008p0037p.jpg\" alt=\"bee8a48dj00sjmndr0006d0008p0037p\" width=\"313\" height=\"115\" \/><\/p>\n<p>There's not much to say about model selection here, there are three models that all function pretty much the same way.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19782\" title=\"d5d8551dj00sjmne3000ad000aj0054p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/d5d8551dj00sjmne3000ad000aj0054p.jpg\" alt=\"d5d8551dj00sjmne3000ad000aj0054p\" width=\"379\" height=\"184\" \/><\/p>\n<p>head_measure_ratio: head_measure_ratio, the larger the value, the larger the proportion of the ID photo occupied by the head.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19784\" title=\"b818a35bj00sjmnef001hd000ld00g0p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/b818a35bj00sjmnef001hd000ld00g0p.jpg\" alt=\"b818a35bj00sjmnef001hd000ld00g0p\" width=\"769\" height=\"576\" \/><\/p>\n<p>top_distance: the distance from the header to the top of the image, the larger the value, the farther the distance.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19785\" title=\"cae69cbaj00sjmneq001jd000ku00fnp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/cae69cbaj00sjmneq001jd000ku00fnp.jpg\" alt=\"cae69cbaj00sjmneq001jd000ku00fnp\" width=\"750\" height=\"563\" \/><\/p>\n<p>This following node is mainly used to add a watermark to our ID photo.<\/p>\n<p>The watermark content can be customized, here the customization is: Listen to the rain.<\/p>\n<p>text_color: input color code, default is white.<\/p>\n<p>text_size: the size of the font.<\/p>\n<p>text_opacity: the transparency of the watermark.<\/p>\n<p>text_angle: the rotation angle of the watermark.<\/p>\n<p>text_space: watermark font spacing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19786\" title=\"966ce562j00sjmnf90019d000tj00dcp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/966ce562j00sjmnf90019d000tj00dcp.jpg\" alt=\"966ce562j00sjmnf90019d000tj00dcp\" width=\"1063\" height=\"480\" \/><\/p>\n<p>If you want to add a new type of document, you only need to modify the following file, CN suffix stands for Chinese, according to the format of the document can be added.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19787\" title=\"bfac035cj00sjmng0000gd000jx003op\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/09\/bfac035cj00sjmng0000gd000jx003op.jpg\" alt=\"bfac035cj00sjmng0000gd000jx003op\" width=\"717\" height=\"132\" \/><\/p>\n<p>What kind of ID photo you want to generate in the future can be solved by yourself, mainly because of the simple operation, but also free of charge, there is no requirement for the configuration, and so on the beauty and intelligent dressing function is open out, it's really quite a practical function!<\/p>\n<p>The follow-up partners can also follow the progress of the project, the project address:<\/p>\n<p>https:\/\/github.com\/Zeyi-Lin\/HivisionIDPhotos<\/p>\n<p>Okay, that\u2019s all for today\u2019s sharing. If you are interested, go and try it!<\/p>\n<p>Network disk link:<\/p>\n<p>https:\/\/pan.quark.cn\/s\/356c20e09bbb<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently there is an open source project to generate a photo ID quite hot, before we want to generate a photo ID need to go offline, online need to pay or look at the ads in order to generate, and generate the results are also mixed, the options are not much. Today we want to share this AI photo ID generation tool can be a key to generate a one-inch photo, two-inch photo, teacher's license, national civil service exams, social security cards, electronic driver's license, a variety of visas, including 18 kinds of photo ID, and you can choose to blue, white, red, black, dark blue, including five kinds of background photo ID. If the type of photo ID does not meet our needs, we can manually add more types of photo ID. There are no special requirements for uploading photos, and photos with complex backgrounds can be generated as well as watermarks.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[2478,491,1989,4338],"collection":[],"class_list":{"0":"post-19778","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-ai","10":"tag-comfyui","11":"tag-4338"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/19778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=19778"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/19778\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=19778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=19778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=19778"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=19778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}