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 puzzle game prompt
prompts = {
    "puzzle_game_scene": (
        "A first-person perspective scene from a mind-bending puzzle game. The setting is a dimly lit, futuristic laboratory filled with intricate, high-tech machinery and holographic interfaces. "
        "The player's viewpoint reveals a complex puzzle consisting of glowing, interconnected gears and levers, with enigmatic symbols floating in the air. "
        "In the foreground, a large, transparent console displays cryptic code and a partially solved puzzle, while in the background, a vast array of shifting, rotating structures adds to the sense of depth and complexity. "
        "The room's atmosphere is tense and immersive, with shadows playing across the walls and soft, ambient lighting illuminating key elements of the puzzle. "
        "The player's hand, seen in the foreground, reaches out to interact with a control panel, emphasizing the sense of immersion and involvement in solving the puzzle. "
        "The overall scene combines high-tech aesthetics with a feeling of isolation and challenge, inviting the player to engage deeply with the puzzle mechanics."
    )
}

# 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
Some things can only be said here. Ready for it?
Create AI Character
image
avatar
S
SHEM TEREM
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 puzzle game prompt prompts = { "puzzle_game_scene": ( "A first-person perspective scene from a mind-bending puzzle game . The setting is a dimly lit , futuristic laboratory filled with intricate , high-tech machinery and holographic interfaces . " "The player's viewpoint reveals a complex puzzle consisting of glowing , interconnected gears and levers , with enigmatic symbols floating in the air . " "In the foreground , a large , transparent console displays cryptic code and a partially solved puzzle , while in the background , a vast array of shifting , rotating structures adds to the sense of depth and complexity . " "The room's atmosphere is tense and immersive , with shadows playing across the walls and soft , ambient lighting illuminating key elements of the puzzle . " "The player's hand , seen in the foreground , reaches out to interact with a control panel , emphasizing the sense of immersion and involvement in solving the puzzle . " "The overall scene combines high-tech aesthetics with a feeling of isolation and challenge , inviting the player to engage deeply with the puzzle mechanics . " ) } # 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 puzzle game prompt prompts = { "puzzle_game_scene": ( "A first-person perspective scene from a mind-bending puzzle game. The setting is a dimly lit, futuristic laboratory filled with intricate, high-tech machinery and holographic interfaces. " "The player's viewpoint reveals a complex puzzle consisting of glowing, interconnected gears and levers, with enigmatic symbols floating in the air. " "In the foreground, a large, transparent console displays cryptic code and a partially solved puzzle, while in the background, a vast array of shifting, rotating structures adds to the sense of depth and complexity. " "The room's atmosphere is tense and immersive, with shadows playing across the walls and soft, ambient lighting illuminating key elements of the puzzle. " "The player's hand, seen in the foreground, reaches out to interact with a control panel, emphasizing the sense of immersion and involvement in solving the puzzle. " "The overall scene combines high-tech aesthetics with a feeling of isolation and challenge, inviting the player to engage deeply with the puzzle mechanics." ) } # 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
865222820
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
#Machinery
#Sci-Fi
#Cyberpunk
#Scene Design
#model westernrealism
#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

vrtry_cloth_h1img
Virtual Try on Clothes

Try on any type of clothes virtually with AI.

ai_tools_4img
AI Filters

Turns every photo into a work of art

ghibli_filter_h1img
Studio Ghibli Filter

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

ai_eraserimg
AI Eraser

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

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