Kodi Stable Diffusion imatanthauza chiyani ndipo ndi chiyani?

Kusintha komaliza: 16/05/2025

  • Stable Diffusion ndi mtundu wotseguka womwe umakupatsani mwayi wopanga zithunzi zenizeni komanso zaluso kuchokera pamawu pogwiritsa ntchito AI.
  • Pali njira zingapo zogwiritsira ntchito Stable Diffusion: pa intaneti, zokhazikitsidwa kwanuko, ndi zosankha zapamwamba zokhala ndi zowonjezera ndi ma templates.
  • Ubwino wa zithunzi umadalira kwambiri momwe mayendedwe amalembedwera komanso momwe magawo ake amkati amasinthira.
  • Kuthekera kwakupanga kumakulitsidwanso ndi zida zapamwamba monga ControlNet, LoRAs, ndi njira zosinthira zomwe zimapangidwira papulatifomu yokha.
kufalikira kokhazikika

Chilengedwe cha nzeru zamakono yapita patsogolo kwambiri m'zaka zaposachedwa, kulola aliyense, mosasamala kanthu za chidziwitso chake chaukadaulo kapena luso laukadaulo, pangani zithunzi zochititsa chidwi kuchokera ku mawu osavuta. Kufalikira Kokhazikika, imodzi mwazinthu zosinthika kwambiri komanso zodziwika bwino pakupanga AI, imayika zida zamphamvu m'manja mwanu, onse omwe akufuna kuyesa komanso akatswiri opanga mafanizo.

Mu bukhuli tikukuuzani zonse za Stable Diffusion. Kuchokera pamasitepe oyamba oyambira mpaka njira zapamwamba zofulumira komanso zosintha, kuphatikiza malingaliro a zida, ma tempulo, ndi zowonjezera zomwe zingatengere zomwe mwapanga kupita pamlingo wina.

Kodi Stable Diffusion ndi chiyani ndipo chifukwa chiyani yasintha kujambula?

Kufalikira Kokhazikika Ndi njira yanzeru yopangira yotseguka yomwe yakhazikitsa demokalase yopanga zithunzi pogwiritsa ntchito njira zophunzirira mozama. Chifukwa cha kapangidwe kake katsopano, amakulolani kuti musinthe mafotokozedwe osavuta (mwamsanga) kukhala zithunzi zabwino kwambiri, mwatsatanetsatane komanso wapamwamba kwambiri. Kulikonse komwe mungakhale, mutha kugwiritsa ntchito injini yake popanda kulipira kalikonse, kuyiyika kulikonse komwe mungakonde, komanso kuikweza kuti igwirizane ndi zosowa zanu, zomwe zimasiyanitsa ndi njira zina zamalonda ndi zotsekedwa.

Kugwira ntchito kwa Stable Diffusion kumatengera a kufalitsa chitsanzo: Zimayamba ndi phokoso lachisawawa ngati TV yakufa ndipo, kupyolera mu masitepe angapo ndi kukonzanso motsogozedwa ndi malemba anu, amachotsa phokosolo mpaka limapanga chithunzi chogwirizana komanso chowoneka bwino.

Izi zimapangitsa kukhala a kusankha kwabwino kwa ojambula, opanga zinthu, opanga ndi ogwiritsa ntchito kunyumba amene akufuna kupyola zithunzi zachikhalidwe. Mfundo yakuti ndi yotseguka imatsegula chitseko cha makonda osatha, kuphatikiza ndi zida zanu, ndi m'badwo wakomweko, osadalira ma seva a chipani chachitatu kapena chindapusa cha pamwezi ngati mungafune.

kufalikira kokhazikika

Kodi mungatani ndi Stable Diffusion?

Mapulogalamu a Stable Diffusion amapitilira kungopanga chithunzi kuchokera palemba. AI sikuti imangopanga zithunzi kuchokera koyambira, komanso amatha:

  • Sinthani zithunzi zomwe zilipo kale: Mutha kuyika chithunzi ndikuchipempha kuti chiwonjezere zinthu, kuchotsa zambiri, kapena kusintha mawonekedwe.
  • Kupaka utoto: imakulitsa m'mphepete mwazolemba zanu kuchokera pamalingaliro omwe mumapereka pakufulumira.
  • Kudzaza malo enieni (kupaka utoto): Sinthani gawo lokha la chithunzi chomwe mwasankha, monga kukonza dzanja, kusintha chakumbuyo, kapena kukulitsa mawonekedwe a nkhope.
  • Sinthani zithunzi (img2img): Mutha kugwiritsa ntchito chithunzi chenicheni ngati chofotokozera kuti Stable Diffusion itha kutanthauziranso mwanjira ina, kusintha kuwala kapena mitundu...
  • Kuphatikiza masitaelo aluso: Imasakaniza njira zosiyanasiyana ndi maumboni (mwachitsanzo, luso lachikale, anime, photorealism, etc.) mwamsanga.
Zapadera - Dinani apa  Momwe mungasungire masamba

Izi ntchito zosiyanasiyana kuzipangitsa kukhala bwenzi loyenera pakupanga kwa digito, mafanizo, zojambula, komanso kupanga zothandizira pamasewera apakanema, makampeni otsatsa, kapena kungosangalala ndikuwona malire a AI.

Kodi Stable Diffusion imagwira ntchito bwanji mkati?

Stable Diffusion imachokera ku kuphunzitsa mamiliyoni azithunzi zojambulidwa chifukwa cha ma datasets akuluakulu (monga LAION-5B), kumene AI imaphunzira kugwirizanitsa malingaliro a malemba ndi maonekedwe. Chitsanzocho chimagwiritsa ntchito zomwe zimadziwika kuti kufalitsa chitsanzo: choyamba amawononga chithunzi pochisintha kukhala phokoso, kenako amaphunzira kuchimanganso kuchokera pachiyambi potengera mawu omwe wogwiritsa ntchito amalowa.

Pa sitepe iliyonse, chitsanzocho chimakonza chithunzicho, kuchepetsa phokoso ndi kuonjezera mlingo wa tsatanetsatane, mpaka zotsatira zake zifika pafupi ndi zomwe tafotokozazi. Kuphatikiza apo, Stable Diffusion imakupatsani mwayi wosinthira "kulemera" kwa mawu ena kuti muyike patsogolo (kapena kuchepetsa) zinthu zina za chochitikacho, kusintha masitayelo, ndikupewa zotsatira zosafunikira.

La kusinthika kosalekeza kwa polojekiti komanso kutseguka kwake kwa code alola kutulukira kwamitundu yosiyanasiyana ndi kuwongolera kwa anthu ammudzi, monga zitsanzo zatsopano, masitayelo, ndi njira zopezera zotsatira zenizeni kapena zenizeni.

Stable Diffusion-7 kalozera

Ndi maubwino ati omwe Stable Diffusion amapereka kuposa zida zina?

Kusiyana kwakukulu kwa Stable Diffusion ndi chikhalidwe chake chaulere komanso chotseguka. Mosiyana ndi mitundu ina monga MidJourney kapena DALL-E, mutha kuyendetsa pa kompyuta yanu, kuyiyika pa maseva, yesani zinthu zatsopano, ndikusintha momwe mukufunira. Ubwino wina wodziwika ndi:

  • Zaulere (kupatula pamapulatifomu apamwamba): Mutha kugwiritsa ntchito mautumiki ambiri apaintaneti ndikuyika kwanuko kwaulere, pokhapokha mutasankha ma seva oyambira kapena mukufuna kupeza zida zapamwamba kwambiri.
  • Zosungidwa: Mutha kupanga zithunzi osasiya dongosolo lanu, kupewa zovuta ndi data yamtambo kapena kulumikizana pang'onopang'ono.
  • Modularity ndi makonda: imathandizira mitundu yosawerengeka, masitayelo, zowonjezera, ndi zinthu zomwe anthu amakumana nazo.
  • Ubwino ndi zambiri: Mitundu yaposachedwa (SDXL, Juggernaut, Realistic Vision, etc.) imapikisana ndipo nthawi zambiri imaposa kupanga zithunzi zolipira.

Pazifukwa izi, zofooka zina kapena zovuta zomwe zikuyembekezera ziyenera kufotokozedwanso. Koposa zonse, ziyenera kudziwidwa kuti Stable Diffusion ikupereka maphunziro apamwamba kuposa njira zina malonda. 

Chiyambi: Momwe Mungayikitsire ndi Kusintha Kufalikira Kokhazikika kwanuko

Kuyika Stable Diffusion pa kompyuta yanu ndikosavuta kuposa momwe zimawonekera, makamaka ndi mawonekedwe otchuka Zochita 1111, zomwe zapangitsa kuti ntchitoyi ikhale yosavuta momwe mungathere pa Windows.

  1. Pitani ku malo ovomerezeka a Automatic 1111 pa GitHub, yang'anani gawo la "katundu" ndikutsitsa okhazikitsa (.exe).
  2. Tsegulani fayilo yomwe mwatsitsa. Kukhazikitsa kungatenge nthawi kutengera liwiro la kompyuta yanu.
  3. Mukamaliza, mudzakhala ndi njira yachidule yotchedwa "A1111 WebUI" pakompyuta yanu kapena mufoda yomwe mukupita. Kudina kawiri kudzatsegula mawonekedwe azithunzi mumsakatuli wanu, okonzeka kuyamba kupanga.
  4. Tikukulimbikitsani kuti mutsegule zosintha zokha za mawonekedwe ndi zowonjezera, komanso njira ya "VRAM yotsika" ngati kompyuta yanu ilibe mphamvu.
Zapadera - Dinani apa  Momwe mungasinthire mbiri ya Twitter

Ngati mukugwiritsa ntchito Mac kapena Linux, pali maupangiri apadera oyika Stable Diffusion kuchokera kumalo awo otsegula.

Momwe mungalembe zidziwitso zogwira mtima mu Stable Diffusion: kapangidwe, mawu, ndi maupangiri

Kupambana kwazithunzi zanu kumadalira pafupifupi mwachangu. Mapangidwe abwino adzakuthandizani kuti mukwaniritse zotsatira za akatswiri ndi zosiyana kwambiri ndi zomwe zimapangidwa ndi mafotokozedwe osadziwika bwino.

Chidziwitso choyenera chiyenera kusonyeza:

  • Mtundu wazithunzi: kujambula, kujambula, fanizo, 3D kumasulira, etc.
  • Mutu: Yemwe akuwonekera pachithunzichi (munthu, nyama, chinthu…), ndi zonse zomwe mukufuna (zaka, fuko, mawu, ndi zina zambiri)
  • Ntchito: akutani munthuyo.
  • Nkhani/zochitika: kumene zochitika zimachitika, kuunikira, nthawi ya chaka, mitundu yambiri, ndi zina zotero.
  • Zosintha: kalembedwe ka penti, mandala ndi kamera, nthawi yamasana, utoto wamitundu, ojambula ojambula, kusanja, mtundu, zotsatira zapadera monga bokeh, blur, zolemba ...

Para maganizo negative, ingowonjezerani zonse zomwe simukuzifuna pachithunzichi: "manja osawoneka bwino, oyipa, opunduka, zala zambiri, zolemba, ma watermark, mawonekedwe otsika, kuchuluka kolakwika, kusokoneza, kubwereza ..." ndi china chilichonse chomwe chimakuvutitsani.

kufalikira kokhazikika

Momwe mungasinthire malingaliro mu Stable Diffusion?

Kuti mupeze zotsatira zabwino, tsatirani malangizo awa. Ndibwino kuti musinthe zolemera ndi mapulogalamu. Stable Diffusion imakupatsani mwayi wopereka kufunikira kwa mawu ena pogwiritsa ntchito syntax "mawu: factor". Pamene mawu akuti:factor ali apamwamba, ndiye kuti mawuwo adzakhala ofunika kwambiri; Mutha kugwiritsa ntchito mabatani owonjezera kuti muwonjezere kulemera kwa mawu kapena lingaliro.

Kuphatikiza apo, ma syntax-drived prompt programming amakupatsani mwayi wophatikiza malingaliro kapena masitayilo pachithunzi chimodzi, kupangitsa kuti kusintha kuchokera ku lingaliro lina kupita ku lina kumatsata njira zomwe mumafotokozera.

Ngati mukukakamira kapena mukuyang'ana kudzoza mwachangu, nsanja ngati Lexica, Civitai, kapena Stable Diffusion's PNG Info tabu imakupatsani mwayi kukoka zithunzi zopangidwa ndi AI ndikuwona nthawi yeniyeni yomwe imagwiritsidwa ntchito kuzipanga.

Mitundu yabwino kwambiri ya Stable Diffusion ya zithunzi za hyperrealistic ndi zojambulajambula

Chilengedwe cha Stable Diffusion ndi chotakata kuposa zitsanzo zake zoyambira. Pakalipano pali mitundu ingapo yamachitidwe (macheckpoint) omwe amasinthidwa ndi masitayilo enaake, monga photorealism, anime, mafanizo aukadaulo, ndi zina zambiri. Zina mwazomwe zimalimbikitsidwa komanso zotchuka ndi:

Zithunzi za SD 1.5:

  • Juggernaut Rborn: Katswiri wa khungu lenileni, maziko osiyana ndi mtundu wachilengedwe. Zotsatira zofunda, zamawonekedwe a RAW.
  • Masomphenya Owona v5.1: Kuwongolera kwakukulu kwazithunzi, malingaliro ndi mawonekedwe a nkhope. Okhazikika kwambiri m'maphunziro ndi maphunziro.
  • Sindingakhulupirire Kuti Si Kujambula: Zosiyanasiyana, zabwino kwambiri pakuwunikira komanso ngodya. Zoyenera pazithunzi ndi mitu yosiyanasiyana.
  • Chithunzi V1: Kulinganiza pakati pa ubwino ndi kusinthasintha, makamaka pamitu yaumunthu.
  • Zowona Zake Zithunzi: Zithunzi zopukutidwa kwambiri, zokhala ndi zilema zapakhungu.
  • aZovya Photoreal: Osadziwika bwino koma amapereka zotsatira zabwino kwambiri ndipo angagwiritsidwe ntchito kuphatikiza njira ndi zitsanzo zina.
Zapadera - Dinani apa  Momwe mungalowe mu WhatsApp Web

Mitundu ya SDXL (mibadwo yaposachedwa):

  • Juggernaut XL (x): Kupanga kwamakanema, kwabwino kwambiri pazithunzi komanso kumvetsetsa zidziwitso zazitali.
  • RealVisXL: Zopanda malire pakupanga zolakwika zenizeni, mawonekedwe ndi kusintha kwa mawu pakhungu.
  • HelloWorld XL v6.0: Zimabweretsa njira ya analogi, gawo labwino la thupi komanso zokongoletsa zakale. Gwiritsani ntchito ma tagging a GPT4v kuti mumve zambiri zaukadaulo.
  • Zodziwika bwino: PhotoPedia XL, Realism Engine SDXL, Fully Real XL (yocheperako koma yovomerezeka).

Mitundu yonseyi imatha kutsitsidwa kwaulere m'malo osungirako zinthu monga Civitai, ndi kungowayika mu foda yoyenera kuti awonekere mu mawonekedwe a Stable Diffusion.

kufalikira kokhazikika

Momwe mungayikitsire ndi kuyang'anira zitsanzo zamakhalidwe mu Stable Diffusion

Kutsitsa template yatsopano ndikosavuta monga:

  1. Pezani nkhokwe ngati Civitai ndi kusefa ndi "Checkpoints."
  2. Sankhani chitsanzo chomwe mukufuna (onetsetsani kuti chili ndi .safetensor yowonjezera yowonjezera chitetezo).
  3. Tsitsani fayilo ndikuyikopera ku njira /stable-diffusion-webui/models/Stable-diffusion.
  4. Yambitsaninso mawonekedwe ndikusankha chitsanzo kuchokera pagawo la "Checkpoint".

Maupangiri a Pro kuti mupeze zithunzi zowoneka bwino ndi Stable Diffusion

Mastering Stable Diffusion imaphatikizapo kuyesa, kuphunzira kuchokera pazotsatira, ndikuwongolera luso lanu ndi malingaliro anu:

  • Sewerani ndi zoyika: Kuti muwongolere kukongola kwa zithunzi zanu, yesani zoyika zomwe apanga amitundu (monga BadDream, UnrealisticDream, FastNegativeV2, JuggernautNegative-neg). Kuyika kumakupatsani mwayi wosintha zinthu monga manja, maso, ndi zina.
  • Gwiritsani ntchito zowonjezera za nkhope: Kukulitsa kwa Adetailer kwa A1111 kapena nodi ya Face Detailer Pipe ku ComfyUI kukuthandizani kuti mukwaniritse zotsatira zabwino pankhope ndi manja, makamaka zothandiza pazithunzi zenizeni.
  • ControlNets for perfectionists: Ngati mukufuna ndi manja, mawonekedwe kapena matupi, onani mitundu yosiyanasiyana ya ControlNet kuti musinthe nyimbo zanu.
  • Kuyesa ndi zolakwika: Musayembekeze kuti fano loyamba lidzakhala langwiro; Chofunikira ndikubwereza, kusintha zolimbikitsa ndikusintha zolakwika mpaka zomwe mukufuna zitakwaniritsidwa.
  • Samalani ndi kapangidwe kachidziwitso: Pewani zotsutsana (mwachitsanzo, "tsitsi lalitali" ndi "tsitsi lalifupi" mu chiganizo chomwecho) ndi kuika patsogolo mfundo zoyambirira, zomwe zidzakhala ndi kulemera kwakukulu mu chithunzi chomaliza.

Pambuyo paulendowu wa mwayi wa Stable Diffusion, zikuwonekeratu kuti AI ikusintha momwe timapangira, yesani ndikusintha zithunzi ndi zotsatira zodabwitsa, zaukadaulo komanso zachilengedwe. Ngati muli ndi chidwi ndi luso la digito, palibe nthawi yabwinoko yofufuza dziko la mbadwo wowoneka wa AI: ndi nthawi yabwino, chida choyenera, ndi chizolowezi chochepa, aliyense akhoza kubweretsa zithunzi zomwe amaziganizira, kuchokera ku zojambula zosavuta kupita ku zolemba za hyper-realistic zomwe sizidziwika ndi kujambula kwa akatswiri.