0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Android記事まとめ(taipii)

Last updated at Posted at 2023-12-14

公開済み
Service
Linuxコマンド
Flow

限定公開
Notification
Git
arrays.xml
adb
Preference
Normal PermissionとDangerous Permissionとは?
リソースの代替え設定(Resource Qualifiers)
BroadCastReceiver
ContentProvider(雑)
ContentProvider
コルーチンのスレッド
もろもろ

ガイドライン
constrainted_height
job
ViewModel
FragmentManager
BackStack
弱参照
paramater
ConcurrentModificationException
未完了
layoutParams
shellscriptをつくろう

[画像生成]
~100万カラットのSkyを作ろう~(文字編)
イメージ通りの画像の作り方

[お題]
・Skyという文字画像
・diamondで装飾
・フォントは明朝体

ステップ
1.元画僧を用意
2.promptの作成
3.Stable diffusionの設定
4.生成

1.元画僧を用意
イメージに近い画像を用意します。
diamondっぽい適当な素材を重ねたSkyという文字も作ります。
無題76_20241122011600.png
無題76_20241122014956.png

Stable diffusion
・ローカルもしくは、クラウド上で使える画像生成ツール(無料)
・拡張機能が豊富で動画生成も行うことができる
スクリーンショット 2024-11-22 012111.png

主な機能
text2img img2img
文字→画像 画像→画像
無題74_20241122012950.png

00016-1055924533.png

black building, A breathtaking world in a limited color palette of white, black
Break
(realistic:1.5), hyper-realistic, 8k resolution
Negative prompt: (worst_quality:2.0), render, illustration, painting, drawing

img2imgを使います。

画像をアップロードして

2.promptを設定します。
イメージクオリティ
外見
背景
の順で設定するとよいらしいです。

lighting forward, realistic, Text formed from shining and diamonds , captured with such details and realism, ((on the surface many diamonds and jewelry decorated)), very gorgeous, simple background, green background lora:last:1

00012-2086360091.png

3.型を抜く
生成したい画像の型を controll netという拡張機能で設定
生成画像の崩れを防止=フォントの指定を守ることができる
スクリーンショット 2024-11-22 015406.png

4.生成
完成したものがこちら
00019-1558964622.png

一部イメージに合わなかったら、修正したい箇所にマスクをかけることで
部分差分をつくることもできます。

最後に
スクリーンショット 2024-11-22 020619.png
00021-1299005150.png
75163634-348D-4613-B96F-94A2528E72AE.jpg
https://qiita.com/taipii1313/private/12147db83a218161e8b0

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?