banner_image ×
SeaArt AI Enterprise Version

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 detailed turn-based RPG prompt
prompts = {
    "turn_based_rpg_scene": (
        "A strategic and intense scene from a turn-based RPG, set in a mystical oceanic arena where the players are engaged in a critical battle. "
        "The setting is a grand, ancient underwater temple with glowing runes on the walls, surrounded by pillars of coral and bioluminescent plants. "
        "At the center of the scene, a powerful, enigmatic whale adorned with a shining Bitcoin emblem hovers majestically, ready to make its move. "
        "Opposite the whale, three adventurers stand in battle formation, each with unique abilities and weapons: a fierce warrior wielding a trident, "
        "a cunning mage casting a spell with glowing blue energy, and a skilled healer holding a staff, ready to support the team. "
        "The scene captures the tension of the moment, with the whale's glowing eyes locked onto the adventurers, and the adventurers poised for action, "
        "strategically planning their next moves. The overall atmosphere is one of high stakes and tactical depth, where every decision matters, and the outcome of the battle hangs in the balance."
    )
}

# 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
I have some hidden stories. Dare to hear them?
Create AI Character
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 detailed turn-based RPG prompt prompts = { "turn_based_rpg_scene": ( "A strategic and intense scene from a turn-based RPG, set in a mystical oceanic arena where the players are engaged in a critical battle. " "The setting is a grand, ancient underwater temple with glowing runes on the walls, surrounded by pillars of coral and bioluminescent plants. " "At the center of the scene, a powerful, enigmatic whale adorned with a shining Bitcoin emblem hovers majestically, ready to make its move. " "Opposite the whale, three adventurers stand in battle formation, each with unique abilities and weapons: a fierce warrior wielding a trident, " "a cunning mage casting a spell with glowing blue energy, and a skilled healer holding a staff, ready to support the team. " "The scene captures the tension of the moment, with the whale's glowing eyes locked onto the adventurers, and the adventurers poised for action, " "strategically planning their next moves. The overall atmosphere is one of high stakes and tactical depth, where every decision matters, and the outcome of the battle hangs in the balance." ) } # 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
H
HelgaBlue
Generation Data
Records
Prompts
Copy
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 detailed turn-based RPG prompt prompts = { "turn_based_rpg_scene": ( "A strategic and intense scene from a turn-based RPG , set in a mystical oceanic arena where the players are engaged in a critical battle . " "The setting is a grand , ancient underwater temple with glowing runes on the walls , surrounded by pillars of coral and bioluminescent plants . " "At the center of the scene , a powerful , enigmatic whale adorned with a shining Bitcoin emblem hovers majestically , ready to make its move . " "Opposite the whale , three adventurers stand in battle formation , each with unique abilities and weapons: a fierce warrior wielding a trident , " "a cunning mage casting a spell with glowing blue energy , and a skilled healer holding a staff , ready to support the team . " "The scene captures the tension of the moment , with the whale's glowing eyes locked onto the adventurers , and the adventurers poised for action , " "strategically planning their next moves . The overall atmosphere is one of high stakes and tactical depth , where every decision matters , and the outcome of the battle hangs in the balance . " ) } # 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()
INFO
Prompts
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 detailed turn-based RPG prompt prompts = { "turn_based_rpg_scene": ( "A strategic and intense scene from a turn-based RPG, set in a mystical oceanic arena where the players are engaged in a critical battle. " "The setting is a grand, ancient underwater temple with glowing runes on the walls, surrounded by pillars of coral and bioluminescent plants. " "At the center of the scene, a powerful, enigmatic whale adorned with a shining Bitcoin emblem hovers majestically, ready to make its move. " "Opposite the whale, three adventurers stand in battle formation, each with unique abilities and weapons: a fierce warrior wielding a trident, " "a cunning mage casting a spell with glowing blue energy, and a skilled healer holding a staff, ready to support the team. " "The scene captures the tension of the moment, with the whale's glowing eyes locked onto the adventurers, and the adventurers poised for action, " "strategically planning their next moves. The overall atmosphere is one of high stakes and tactical depth, where every decision matters, and the outcome of the battle hangs in the balance." ) } # 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 Scale
7
Steps
25
Sampler
euler
Seed
2018281330
Scheduler
karras
Image Size
688 X 1024
Model
SeaArt Infinity
Generate
Size
688X1024
Date
Aug 31, 2024
Mode
Studio
Type
cell
Checkpoint & LoRA
SeaArt Infinity
Checkpoint
SeaArt Infinity
#SeaArt Infinity
0 comment
0
1
0

SeaArt Swift AI Apps

ai_video_generationimg
AI Video Generation

Unleash your imagination and let AI create visual wonders for you

face_swap_titleimg
Face Swap Online Free

Create funny or realistic face swap videos & photos in a snap

gender_swapimg
Gender Swap

Swap genders in photos and videos with SeaArt's AI gender swapper. Enjoy fun and realistic transformations effortlessly, free online!

ai_eraserimg
AI Eraser

Easily remove unwanted objects, watermarks, or people from your photos.

fuse_anyoneimg
AI Image Fusion

Combine two images into new one stunning visual with AI Image Fusion.

ghibli_filter_h1img
Studio Ghibli Filter

Transform any photo into unique Ghibli-style art in just one click.

Explore More AI Apps 

Explore Related

ControlNet
avatar
H
HelgaBlue
0
0
ControlNet
avatar
H
HelgaBlue
0
0
ControlNet
avatar
M
Mateusz (Ememens)
0
1
ControlNet
avatar
A
Adee Hady
0
0
ControlNet
avatar
B
Bena Millionaire
0
0
ControlNet
avatar
K
Kamsi Kingsley
0
0
ControlNet
avatar
M
Mateusz (Ememens)
1
0
ControlNet
avatar
M
Music World
0
0
ControlNet
avatar
A
aji1
1
1
ControlNet
avatar
H
HelgaBlue
0
0
ControlNet
avatar
M
Mayllerlys Guatarasma
0
0
ControlNet
avatar
?
?????\??筋肉
0
0
ControlNet
avatar
H
HelgaBlue
0
0
ControlNet
avatar
Ю
Юра
0
0
ControlNet
avatar
D
Designer21269
1
1
ControlNet
avatar
K
kripto bey
0
0
ControlNet
avatar
G
Gabriel Pinheiro Da Fonseca
0
0
ControlNet
avatar
N
Nicolas Herrera
1
1
ControlNet
avatar
E
Emma Guerra ♥️
0
0
ControlNet
avatar
A
aji1
3
3
ControlNet
avatar
W
Willimicaela Alves de Albuquerque
1
1
ControlNet
avatar
Q
QuantumDataRunne
0
1
ControlNet
avatar
A
Ani Kurome
0
0
ControlNet
avatar
J
José Silva
0
0
ControlNet
avatar
C
Carlos
1
1
ControlNet
avatar
M
Mustafa Doğan
0
0
ControlNet
avatar
D
Designer69317
0
0
ControlNet
avatar
A
Adee Hady
0
0
ControlNet
avatar
K
Kaede Okinawa
0
0
ControlNet
avatar
김
김세훈 (샐로니)
0
0
ControlNet
avatar
C
ChemicalOfWisdom
0
0
ControlNet
logo
English
Application
Create Image AI Characters Swift AI Model Training Canvas AI Apps Workflow
About
Studio Rankings AI Chat AI Blog AI News
Help
Guides Customer Service
Get App
icon
Download on the
APP Store
icon
GET IT ON
Google Play
Follow Us
iconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
Terms
Privacy 特定商取引法 資金決済法に基づく表示
More