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 first-person horror prompt
prompts = {
    "first_person_horror_scene": (
        "A terrifying first-person horror scene set in a dark, abandoned underwater research facility. "
        "The view is from the perspective of the player, holding a flickering flashlight that casts eerie shadows "
        "on the corroded metal walls and broken glass. The corridor ahead is narrow and dimly lit, with water dripping "
        "from the ceiling and strange, unidentifiable sounds echoing in the distance. "
        "Suddenly, a monstrous, mutated whale with glowing red eyes and a twisted, grotesque appearance emerges from the shadows, "
        "its presence overwhelming and horrifying. The whale is covered in dark, barnacle-like growths, and its movements are slow but menacing, "
        "as if it is stalking its prey. The atmosphere is suffocatingly tense, with the player's heartbeat audible in the background, "
        "and the only way forward is through the dark, narrow corridor. The scene is filled with a sense of dread and impending danger, "
        "capturing the essence of survival horror where every step could be the player's last."
    )
}

# 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 private thoughts. Wanna hear them?
Create AI Character
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 first-person horror prompt prompts = { "first_person_horror_scene": ( "A terrifying first-person horror scene set in a dark , abandoned underwater research facility . " "The view is from the perspective of the player , holding a flickering flashlight that casts eerie shadows " "on the corroded metal walls and broken glass . The corridor ahead is narrow and dimly lit , with water dripping " "from the ceiling and strange , unidentifiable sounds echoing in the distance . " "Suddenly , a monstrous , mutated whale with glowing red eyes and a twisted , grotesque appearance emerges from the shadows , " "its presence overwhelming and horrifying . The whale is covered in dark , barnacle-like growths , and its movements are slow but menacing , " "as if it is stalking its prey . The atmosphere is suffocatingly tense , with the player's heartbeat audible in the background , " "and the only way forward is through the dark , narrow corridor . The scene is filled with a sense of dread and impending danger , " "capturing the essence of survival horror where every step could be the player's last . " ) } # 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 first-person horror prompt prompts = { "first_person_horror_scene": ( "A terrifying first-person horror scene set in a dark, abandoned underwater research facility. " "The view is from the perspective of the player, holding a flickering flashlight that casts eerie shadows " "on the corroded metal walls and broken glass. The corridor ahead is narrow and dimly lit, with water dripping " "from the ceiling and strange, unidentifiable sounds echoing in the distance. " "Suddenly, a monstrous, mutated whale with glowing red eyes and a twisted, grotesque appearance emerges from the shadows, " "its presence overwhelming and horrifying. The whale is covered in dark, barnacle-like growths, and its movements are slow but menacing, " "as if it is stalking its prey. The atmosphere is suffocatingly tense, with the player's heartbeat audible in the background, " "and the only way forward is through the dark, narrow corridor. The scene is filled with a sense of dread and impending danger, " "capturing the essence of survival horror where every step could be the player's last." ) } # 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
1786892372
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
#Horror
#SeaArt Infinity
0 comment
0
0
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

wanimg2vid_h1img
Wan 2.1 Image to Video

Animate photos with realistic motion and cinematic effects.

DisneyFilter_top_titleimg
Disney Filter

Instantly transform your photos into Disney characters.

fuse_anyoneimg
AI Image Fusion

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

anime2realityimg
Anime to Reality

Instantly bring your favorite anime characters to life.

Explore More AI Apps 

Explore Related

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
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
Terms
Privacy 特定商取引法 資金決済法に基づく表示
More