banner_image ×
SeaArt AI エンタープライズ版

From stable_diffusion import StableDiffusionPipeline import torch from PIL impor

from stable_diffusion import StableDiffusionPipeline
import torch
from PIL import Image

# Load the Stable Diffusion model
pipe = StableDiffusionPipeline.from_pretrained("stable-diffusion-v1-4")
pipe = pipe.to("cuda")  # Use GPU if available

# Define the prompt for Mecha, Drama, and Action genres
prompts = {
    "mecha_drama_action_scene": (
        "A dramatic and action-packed digital painting set in a futuristic world featuring massive, powerful mecha robots engaged in intense combat. "
        "The scene is set in a war-torn cityscape with towering skyscrapers and debris scattered across the battlefield. "
        "In the foreground, a large, heavily armored mecha battles against a rival machine, with detailed mechanical components and glowing energy weapons. "
        "The pilots inside the mecha are visible through cockpit windows, showing intense expressions and emotional strain, adding a dramatic touch to the battle. "
        "Explosions and dramatic lighting highlight the chaos and destruction, while the background features a dramatic sky with dark clouds and flashes of lightning. "
        "The overall composition emphasizes the epic scale of the mecha conflict, combining elements of high-stakes drama and explosive action."
    )
}

# Generate the image for the prompt
for name, prompt in prompts.items():
    # Generate the image using the prompt
    image = pipe(prompt).images[0]
    
    # Save the generated image
    filename = f"{name.lower().replace(' ', '_')}.png"
    image.save(filename)
    print(f"Saved image: {filename}")

    # Optionally, show the generated image
    image.show()
chatIcon
今日特別な内容があるんだ。君だけに教えるね。
AIキャラクター作成
image

from stable_diffusion import StableDiffusionPipeline import torch from PIL import Image # Load the Stable Diffusion model pipe = StableDiffusionPipeline.from_pretrained("stable-diffusion-v1-4") pipe = pipe.to("cuda") # Use GPU if available # Define the prompt for Mecha, Drama, and Action genres prompts = { "mecha_drama_action_scene": ( "A dramatic and action-packed digital painting set in a futuristic world featuring massive, powerful mecha robots engaged in intense combat. " "The scene is set in a war-torn cityscape with towering skyscrapers and debris scattered across the battlefield. " "In the foreground, a large, heavily armored mecha battles against a rival machine, with detailed mechanical components and glowing energy weapons. " "The pilots inside the mecha are visible through cockpit windows, showing intense expressions and emotional strain, adding a dramatic touch to the battle. " "Explosions and dramatic lighting highlight the chaos and destruction, while the background features a dramatic sky with dark clouds and flashes of lightning. " "The overall composition emphasizes the epic scale of the mecha conflict, combining elements of high-stakes drama and explosive action." ) } # Generate the image for the prompt for name, prompt in prompts.items(): # Generate the image using the prompt image = pipe(prompt).images[0] # Save the generated image filename = f"{name.lower().replace(' ', '_')}.png" image.save(filename) print(f"Saved image: {filename}") # Optionally, show the generated image image.show()

avatar
B
Bena Millionaire
Generation Data
履歴
プロンプト
プロンプトをコピー
from stable_diffusion import StableDiffusionPipeline import torch from PIL import Image # Load the Stable Diffusion model pipe = StableDiffusionPipeline . from_pretrained("stable-diffusion-v1-4") pipe = pipe . to("cuda") # Use GPU if available # Define the prompt for Mecha , Drama , and Action genres prompts = { "mecha_drama_action_scene": ( "A dramatic and action-packed digital painting set in a futuristic world featuring massive , powerful mecha robots engaged in intense combat . " "The scene is set in a war-torn cityscape with towering skyscrapers and debris scattered across the battlefield . " "In the foreground , a large , heavily armored mecha battles against a rival machine , with detailed mechanical components and glowing energy weapons . " "The pilots inside the mecha are visible through cockpit windows , showing intense expressions and emotional strain , adding a dramatic touch to the battle . " "Explosions and dramatic lighting highlight the chaos and destruction , while the background features a dramatic sky with dark clouds and flashes of lightning . " "The overall composition emphasizes the epic scale of the mecha conflict , combining elements of high-stakes drama and explosive action . " ) } # Generate the image for the prompt for name , prompt in prompts . items(): # Generate the image using the prompt image = pipe(prompt) . images[0] # Save the generated image filename = f"{name . lower() . replace(' ' , '_')} . png" image . save(filename) print(f"Saved image: {filename}") # Optionally , show the generated image image . show()
情報
プロンプト
from stable_diffusion import StableDiffusionPipeline import torch from PIL import Image # Load the Stable Diffusion model pipe = StableDiffusionPipeline.from_pretrained("stable-diffusion-v1-4") pipe = pipe.to("cuda") # Use GPU if available # Define the prompt for Mecha, Drama, and Action genres prompts = { "mecha_drama_action_scene": ( "A dramatic and action-packed digital painting set in a futuristic world featuring massive, powerful mecha robots engaged in intense combat. " "The scene is set in a war-torn cityscape with towering skyscrapers and debris scattered across the battlefield. " "In the foreground, a large, heavily armored mecha battles against a rival machine, with detailed mechanical components and glowing energy weapons. " "The pilots inside the mecha are visible through cockpit windows, showing intense expressions and emotional strain, adding a dramatic touch to the battle. " "Explosions and dramatic lighting highlight the chaos and destruction, while the background features a dramatic sky with dark clouds and flashes of lightning. " "The overall composition emphasizes the epic scale of the mecha conflict, combining elements of high-stakes drama and explosive action." ) } # Generate the image for the prompt for name, prompt in prompts.items(): # Generate the image using the prompt image = pipe(prompt).images[0] # Save the generated image filename = f"{name.lower().replace(' ', '_')}.png" image.save(filename) print(f"Saved image: {filename}") # Optionally, show the generated image image.show()
CFGスケール
7
ステップ
25
サンプラー
euler
シード
1436860574
スケジューラー
karras
画像サイズ
688 X 1024
モデル
SeaArt Infinity
創作
サイズ
688X1024
日付
Aug 31, 2024
モード
スタジオ
タイプ
cell
Checkpoint & LoRA
SeaArt Infinity
Checkpoint
SeaArt Infinity
#機械
#メカ
#西洋リアリズム
#SeaArt Infinity
コメント:0件
0
0
0

SeaArtクイックAIアプリ

ai_video_generationimg
AI動画生成

想像力を解き放ち、AIが視覚的な奇跡を実現します

face_swap_titleimg
無料オンライン顔交換

面白くてリアルな顔交換動画や写真を瞬時に作成しましょう

image2lineartimg
画像からラインアート作成

どんな画像も簡単にエレガントなラインアートに変換できます。

gender_swapimg
性別チェンジ

SeaArtのAI性別変換で写真や動画の性別を変換できます。簡単で楽しく、リアルな変身を無料でオンラインで体験できます。

ghibli_filter_h1img
スタジオジブリフィルター

ワンクリックで任意の写真をユニークなジブリ風アートに変換できます。

video_face_swapimg
動画フェイススワップ

任意の動画クリップで顔を入れ替えて面白い動画を作成できます。

より多くのAIアプリを探索 

関連コンテンツ

コントロールネット
独占
avatar
C
avatar_frame
Cavalier Masqué
0
0
コントロールネット
独占
avatar
S
Salih Google
0
0
コントロールネット
独占
avatar
K
kang Spil
1
1
コントロールネット
独占
avatar
M
M Rc
2
2
コントロールネット
独占
avatar
I
Infinite Indigo
0
0
コントロールネット
独占
avatar
T
avatar_frame
Tender With Tiddies
0
0
コントロールネット
独占
avatar
S
avatar_frame
sakatasan
0
0
コントロールネット
独占
avatar
R
Ruthe Caldas
0
2
コントロールネット
独占
avatar
J
avatar_frame
Jurelius_Designer
1
1
コントロールネット
独占
avatar
G
Glitchyrez
0
0
コントロールネット
独占
avatar
G
Giovanni García Arzola
1
0
コントロールネット
独占
avatar
S
Senior Java
0
0
コントロールネット
独占
avatar
E
EwaRaj Prime
0
0
コントロールネット
独占
avatar
L
Luis Manuel Figueroa Fermin
0
1
コントロールネット
独占
avatar
D
dachixwrld
0
0
コントロールネット
独占
avatar
J
Jonathan Castro Ruiz
0
0
コントロールネット
独占
avatar
D
Designer14013
0
1
コントロールネット
独占
avatar
A
Anton Suchkov
2
1
コントロールネット
独占
avatar
P
avatar_frame
Perico Lospalotes
0
0
コントロールネット
独占
avatar
T
avatar_frame
Tender With Tiddies
0
0
コントロールネット
独占
avatar
D
Deine mudda
0
0
コントロールネット
独占
avatar
Y
YAN PRN
0
0
コントロールネット
独占
avatar
F
Fofo
0
0
コントロールネット
独占
avatar
C
charlie zeml
0
0
コントロールネット
独占
avatar
M
Manimus Ng
1
0
コントロールネット
独占
avatar
Z
avatar_frame
Zeph
0
0
コントロールネット
独占
avatar
M
MCDG _OFiCiAL
0
0
コントロールネット
独占
avatar
T
Tristan Clive Caling
2
1
コントロールネット
独占
avatar
J
JH
0
0
コントロールネット
独占
avatar
H
Hà Hải Vy
0
0
コントロールネット
独占
avatar
D
daniel
1
1
コントロールネット
独占
avatar
V
VaKin
1
0
コントロールネット
独占
avatar
Q
Quick Master
1
0
コントロールネット
独占
avatar
A
Alvin Sleeth
0
1
コントロールネット
logo
日本語
プロダクト
画像作成 AIキャラクター クイックAI モデルトレーニング Canvas クイックツール ワークフロー
キャラについて
スタジオ ランキング AIブログ AIニュース
サポート
利用案内 カスタマーサポート
アプリをダウンロード
icon
Download on the
APP Store
icon
GET IT ON
Google Play
公式SNS
iconiconiconiconiconiconiconicon
© 2025 シーアート株式会社 
Copyright Policy
利用規約
プライバシーポリシー
特定商取引法
資金決済法に基づく表示
もっと見る