ControlNetの文字への応用例を試す
こんにちはたけです。ControlNetを使って以下の画像のようにさまざまなスタイルの画像を生成できるとのことなのでやってみようと思います。

環境
セットアップ
ControlNetまでの導入はできているとして、今回はその中でcontrol_sd15_depth.pthのモデルを使うのであらかじめダウンロードします。
元となる文字列のデプスを生成する

こんな画像が作れればなんでもいいです。僕は適当に下のサイトなどから作りました。
プロンプト
適当に手元にあったビーチの画像からタグを抽出してみる
beach, cloud, cloudy_sky, horizon, mountain, no_humans, ocean, outdoors, river, sand, scenery, shore, sky, sunlight, sunset, water, waves
これに
3d concrete text
をつけたのをプロンプトとして使ってみよう。

いざ生成してみる
設定は画像の通りです

3d concrete text, beach, cloud, cloudy_sky, horizon, mountain, no_humans, ocean, outdoors, river, sand, scenery, shore, sky, sunlight, sunset, water, waves

Preprocessorはnone, Modelはcontrol_sd15_depth.pthを選択
生成結果
いくつか生成したのを置いときます

3d concrete text, beach, cloud, cloudy_sky, horizon, mountain, no_humans, ocean, outdoors, river, sand, scenery, shore, sky, sunlight, sunset, water, waves

3d concrete text, 4k, beach, blue_sky, building, city, cloud, cloudy_sky, day, evening, forest, gradient_sky, hill, horizon, house, lake, landscape, mountain, mountainous_horizon, nature, no_humans, ocean, outdoors, river, scenery, shore, sky, sunrise, sunset, tree, twilight, water

3d concrete text, 4k, neon, purple, dark

3d concrete text, 4k, wood, grain, birch
結構使えそう
Discussion