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 open-world action-RPG prompt
prompts = {
    "open_world_action_rpg_scene": (
        "A dynamic and immersive scene from an open-world action RPG, where a powerful, majestic whale character, adorned with a glowing Bitcoin chain, "
        "glides through a vast, open oceanic world. The environment is rich with detail, featuring towering underwater ruins, vibrant coral reefs, and schools of fish. "
        "The whale, a legendary creature in the game, is a key quest figure, and it is depicted as both a guide and a formidable ally. "
        "Nearby, the protagonist, a skilled and agile warrior in customized, ocean-themed armor, swims with purpose, equipped with a trident and various gear for underwater exploration. "
        "The protagonist is ready for action, eyes fixed on a distant objective, while the whale emits a soft, ethereal glow, highlighting its importance. "
        "The open world is teeming with life, from bioluminescent creatures to hidden treasures scattered across the seabed, inviting players to explore every nook and cranny. "
        "The overall scene is a blend of action, exploration, and the thrill of discovery, capturing the essence of an open-world RPG where players forge their own path through a richly detailed environment."
    )
}

# 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 that can only be whispered here.
Create AI Character
image
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 open-world action-RPG prompt prompts = { "open_world_action_rpg_scene": ( "A dynamic and immersive scene from an open-world action RPG , where a powerful , majestic whale character , adorned with a glowing Bitcoin chain , " "glides through a vast , open oceanic world . The environment is rich with detail , featuring towering underwater ruins , vibrant coral reefs , and schools of fish . " "The whale , a legendary creature in the game , is a key quest figure , and it is depicted as both a guide and a formidable ally . " "Nearby , the protagonist , a skilled and agile warrior in customized , ocean-themed armor , swims with purpose , equipped with a trident and various gear for underwater exploration . " "The protagonist is ready for action , eyes fixed on a distant objective , while the whale emits a soft , ethereal glow , highlighting its importance . " "The open world is teeming with life , from bioluminescent creatures to hidden treasures scattered across the seabed , inviting players to explore every nook and cranny . " "The overall scene is a blend of action , exploration , and the thrill of discovery , capturing the essence of an open-world RPG where players forge their own path through a richly detailed environment . " ) } # 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 open-world action-RPG prompt prompts = { "open_world_action_rpg_scene": ( "A dynamic and immersive scene from an open-world action RPG, where a powerful, majestic whale character, adorned with a glowing Bitcoin chain, " "glides through a vast, open oceanic world. The environment is rich with detail, featuring towering underwater ruins, vibrant coral reefs, and schools of fish. " "The whale, a legendary creature in the game, is a key quest figure, and it is depicted as both a guide and a formidable ally. " "Nearby, the protagonist, a skilled and agile warrior in customized, ocean-themed armor, swims with purpose, equipped with a trident and various gear for underwater exploration. " "The protagonist is ready for action, eyes fixed on a distant objective, while the whale emits a soft, ethereal glow, highlighting its importance. " "The open world is teeming with life, from bioluminescent creatures to hidden treasures scattered across the seabed, inviting players to explore every nook and cranny. " "The overall scene is a blend of action, exploration, and the thrill of discovery, capturing the essence of an open-world RPG where players forge their own path through a richly detailed environment." ) } # 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
2098476482
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
#Animal
#SeaArt Infinity
0 comment
0
2
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

changePersonimg
Change the Person in the Photo

Easily replace the person in any photo with AI.

dance_vidimg
AI Dance Video Generator

Play with this AI dance video generator, unleash your inner dancer instantly!

ai_eraserimg
AI Eraser

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

gender_swapimg
Gender Swap

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

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