Deprecated: Creation of dynamic property Timber\Site::$pingback is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Site.php on line 180

Deprecated: Creation of dynamic property Timber\User::$name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/User.php on line 118

Deprecated: Creation of dynamic property Timber\Post::$has_disclaimer is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_lock is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_last is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_thumbnail_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_meta_box_present is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_send_notification is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_modify_title_and_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_heading is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskw is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_metadesc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_linkdex is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_content_score is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_estimated-reading-time-minutes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_wordproof_timestamp is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_category is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_blz_affiliation_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_content_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_speciali is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$response_body is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_date_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ping_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_password is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$to_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$pinged is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_content_filtered is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$guid is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$menu_order is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_mime_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_count is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$filter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71
Opendream: creare immagini con Stable Diffusion da un'interfaccia Web

Opendream: creare immagini con Stable Diffusion da un'interfaccia Web

Cos'è Opendream, applicazione Web che permette di generare e modificare immagini con il modello Stable Diffusion. Supporta livelli, editing non distruttivo ed estensioni.

I modelli generativi basati su meccanismi di diffusione stanno guadagnando sempre più attenzione, rappresentando un concetto affascinante e potente. Opendream è un nuovo strumento open source che, attraverso una pratica interfaccia Web, consente di generare immagini complesse a partire da una descrizione testuale scritta in linguaggio naturale.

Come si può verificare in questo lungo video, Opendream apre all’utilizzo ancora più intelligente dei modelli di diffusione consentendo di lavorare a più riprese su uno stesso progetto e abilitando l’utilizzo dei livelli, utili per aggiungere o eliminare degli elementi dalle immagini via via generate.

Cosa sono i modelli di diffusione

Semplificando, i modelli di diffusione possono generare dati simili a quelli su cui sono stati addestrati. Se il modello è addestrato su immagini di gatti, può generare immagini realistiche che ritraggono gatti. Questi modelli traggono ispirazione dal principio di funzionamento e dalla base matematica di un modello probabilistico in grado di analizzare e prevedere il comportamento di un sistema che varia nel tempo.

Una volta addestrato, il modello può generare campioni che corrispondono ai dati osservati. Questi campioni rappresentano possibili traiettorie o stati che il sistema potrebbe seguire o acquisire nel tempo, e ogni traiettoria ha una diversa probabilità di manifestarsi. Il modello può quindi prevedere il futuro comportamento del sistema generando una serie di campioni e calcolandone le rispettive probabilità.

La capacità di apprendere e rappresentare fedelmente i dettagli visivi che contraddistinguono i modelli di diffusione, apre la strada a nuove possibilità nel settore dell’imaging e della creazione creativa di nuovi contenuti.

L’attuale ecosistema di generazione di immagini per diffusione è composto da strumenti che consentono attività di manipolazione delle immagini “una tantum”: text2img, in-painting, pix2pix e simili. Popolari interfacce come Automatic1111, Midjourney e Stability.AI DreamStudio supportano solo l’editing distruttivo: ogni modifica ha impatto sulla precedente immagine e tende a ridurne la qualità. Ciò significa che gli utenti non possono rielaborare facilmente immagini create in precedenza e fare più esperimenti sulla stessa immagine.

Opendream, modello diffusione

Cos’è Opendream e come usarlo per creare immagini con Stable Diffusion

Stable Diffusion è uno degli strumenti più utilizzati in assoluto per generare immagini dal testo. Con Opendream si ha il vantaggio di accedere alla gestione dei layer, a uno strumento di editing non distruttivo, alla possibilità di creare estensioni direttamente dal browser Web. Tutte le funzioni integrate nell’applicazione, diventano direttamente sfruttabili con il sottostante modello Stable Diffusion per generare nuove immagini e modificare quelle preesistenti.

L’editing non distruttivo è un metodo di manipolazione delle immagini che preserva i dati dell’immagine originale consentendo agli utenti di apportare regolazioni e modifiche senza sovrascrivere il lavoro precedente. Si tratta quindi di uno schema che facilita la sperimentazione e fornisce un maggiore controllo sul processo di modifica utilizzando livelli e maschere.

Rimuovendo un livello dall’immagine, l’applicazione elimina anche tutti i livelli successivi. Ciò garantisce che tutti i livelli attualmente presenti nell’area di disegno siano un prodotto di altri livelli esistenti. Ne consegue, come spiegano gli autori di Opendream nel video citato in apertura, che diventa addirittura possibile riprodurre deterministicamente un flusso di lavoro.

A questo proposito, gli utenti di Opendream possono eventualmente salvare i flussi di lavoro in un formato di file “portatile” che può essere aperto in un secondo momento o condiviso con i collaboratori. In questo contesto, uno “stato” del sistema diventa un comodo file JSON che descrive tutti i livelli correnti e come essi sono stati creati.

Opendream workflow

Per iniziare a lavorare con Opendream è necessario aver installato le runtime Node.js, clonare questo repository GitHub in locale quindi eseguire il comando sh ./run_opendream.sh dalla cartella contenente i file del progetto. Dopo un’attesa di circa 30 secondi, sia il frontend che il backend di Opendream dovrebbero essere pronti per essere utilizzati.

Ti consigliamo anche

Link copiato negli appunti