見出し画像

StoryDiffusion動かしてみた


無料で漫画生成できるみたいなのでやってました!
まず導入から使ったことないanaconda入れたり大変でした
その後
pip install -r requirements.txt
に書かれてるバージョンがあってなかったり
Claude 3 Opusに聞きまくりながら
必要なものbrew installしました

その後
python app.pyして
Macだからcuda使えないからcpuに書き換えたり
その後もエラーメッセージで下記の部分のサイズが合わないとかで
書き換えてました

# 変更前
key = attn.to_k(encoder_hidden_states)
value = attn.to_v(encoder_hidden_states)

# 変更後
key = attn.to_k(encoder_hidden_states[:, :seq_length, :])
value = attn.to_v(encoder_hidden_states[:, :seq_length, :])

で、色々頑張ってやっと動きました(^^)


スポーツ少女の漫画

多分
コミックの説明の部分で1行しかないから
スポーツやってそうな女の子出力して終わり
に、なってます

Prologue:
In the ancient times, a great calamity known as "The Shattering" tore the world apart, scattering powerful artifacts called "Echoes" across the land. These Echoes are remnants of a powerful, lost civilization and hold immense power.

Chapter 1: The Call to Adventure
Aria, living a quiet life in the small village of Eldoria, discovers an ancient harp hidden in her attic. When she plays it, strange visions and echoes of the past flood her mind. Realizing she has a unique connection to the Echoes, she decides to embark on a journey to uncover their secrets.

Chapter 2: Allies and Enemies
Aria encounters Kael while defending her village from bandits. Recognizing his skill and driven by a sense of destiny, she convinces him to join her quest. They soon meet Liora, who provides crucial information about the Echoes, and Nico, who offers his expertise in navigating treacherous terrains and ancient ruins.

Chapter 3: The First Echo
The group travels to the Whispering Woods, rumored to be the resting place of the first Echo. They face numerous challenges, including magical traps, hostile creatures, and a rival faction seeking the Echoes for their own nefarious purposes. Through teamwork and bravery, they retrieve the first Echo, unlocking new powers and a fragment of the prophecy.

Chapter 4: Secrets Unveiled
As they collect more Echoes, the group learns about the true nature of the Shattering and their roles in preventing a new calamity. Aria discovers her lineage is tied to the ancient civilization, Kael's past reveals a deep connection to the prophecy, Liora's knowledge of magic becomes crucial, and Nico's hidden motives come to light.

Chapter 5: The Betrayal
Tensions rise as they face betrayal from within, testing their trust and resolve. A member of their group turns out to be working with the rival faction, leading to a dramatic confrontation. This betrayal brings them closer together, strengthening their bond and determination.

Chapter 6: The Final Echo
With all but one Echo retrieved, the group faces their greatest challenge yet - a journey to the heart of the Shattered Lands, where the final Echo lies. They must navigate through a desolate, dangerous landscape, confronting both external enemies and their inner demons.

Chapter 7: Echoes of Destiny
In the climactic battle, they confront the leader of the rival faction, who seeks to use the Echoes to reshape the world according to his twisted vision. Through sacrifice, courage, and the power of their bond, Aria and her friends manage to harness the true power of the Echoes, preventing the new calamity and restoring balance to the world.

Epilogue:
With peace restored, the group goes their separate ways, each finding a new purpose in the world they helped save. Aria, now a renowned musician and hero, continues to explore the mysteries of the Echoes, ensuring their power is never misused again.

ChatGPTに作らせたストーリー


これをプロンプトに仕込んでみます

プロローグ: 古代の時代、大災厄「シェタリング」が世界を引き裂き、「エコー」と呼ばれる強力なアーティファクトが散らばりました。これらのエコーは強力で失われた文明の遺物であり、莫大な力を秘めています。第1章: 冒険の呼び声 エルドリアの小さな村で静かに暮らしていたアリアは、屋根裏で古代のハープを発見します。ハープを弾くと、奇妙なビジョンと過去のエコーが彼女の心に流れ込みます。自分がエコーに特別なつながりを持っていることに気づいたアリアは、その秘密を解明するために旅に出ることを決意します。第2章: 仲間と敵 アリアは、村を守るために山賊と戦っているカエルと出会います。彼の技術に感銘を受け、運命を感じた彼女は、彼に自分の旅に加わるよう説得します。彼らはやがてリオラに出会い、エコーに関する重要な情報を提供され、さらに古代の遺跡をナビゲートするためにニコの助けを借ります。第3章: 最初のエコー 一行は最初のエコーが眠るとされる囁きの森へ向かいます。そこでは魔法の罠や敵対的な生物、そしてエコーを狙うライバル派閥と対峙します。協力と勇気をもって、彼らは最初のエコーを手に入れ、新たな力と予言の一部を解き明かします。第4章: 秘密の解明 さらにエコーを集めるにつれて、一行はシェタリングの真実と新たな災厄を防ぐための自分たちの役割を知ることになります。アリアは自分の血筋が古代文明と結びついていることを知り、カエルの過去は予言に深く関わっていることが明らかになります。リオラの魔法の知識が重要となり、ニコの隠された動機も明らかになります。第5章: 裏切り 内部からの裏切りに直面し、信頼と決意が試されます。グループの一員がライバル派閥と結託していることが判明し、劇的な対決が繰り広げられます。この裏切りが一行をより一層結びつけ、決意を強めます。第6章: 最後のエコー 最後のエコーを手に入れるために、一行はシェタリングの中心地、シャッタード・ランドへの最も困難な旅に挑みます。彼らは荒れ果てた危険な地形を進み、外敵と内なる悪魔の両方と対峙します。第7章: 運命のエコー クライマックスの戦いで、彼らはエコーを使って世界を自分の歪んだビジョンに作り直そうとするライバル派閥のリーダーと対決します。犠牲、勇気、そして絆の力を通じて、アリアと仲間たちはエコーの真の力を解放し、新たな災厄を防ぎ、世界の均衡を取り戻します。エピローグ: 平和が戻り、一行はそれぞれの新たな目的を見つけて別々の道を歩みます。アリアは今や有名な音楽家であり英雄として、エコーの謎を探り続け、その力が二度と悪用されないようにします。

翻訳


あっ
よくみたら未完成って書いてある

まだ動いてた!!!
かなり時間がかかるみたいです

数時間後にみてみると画面はエラーが出て
ターミナルはまだ動いている
なんだこれ・・・
ソースコード変なとこいじっちゃったかな(><)

この記事が気に入ったらサポートをしてみませんか?