banner_image ×
SeaArt AI Empresa

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 Drama and Isekai genres with Bitcoin, Whale, and Shark
prompts = {
    "drama_isekai_bitcoin_whale_shark": (
        "In a dramatic isekai world, a young protagonist finds themselves in a fantastical realm where Bitcoin plays a crucial role in society. "
        "The scene captures the protagonist standing on a cliff, gazing at a majestic, otherworldly ocean where a colossal, benevolent whale with a Bitcoin symbol glowing on its back swims gracefully. "
        "The whale represents hope and power, while a sleek, mysterious shark with a Bitcoin logo on its fin lurks in the shadows of the ocean, hinting at hidden dangers. "
        "The protagonist, dressed in adventure-ready attire, looks contemplative and determined, reflecting the inner struggle and growth typical of a dramatic isekai journey. "
        "The background features a breathtaking, magical landscape with floating islands, enchanted forests, and a shimmering, star-studded sky, evoking the fantasy and wonder of the new world."
    )
}

# 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
Tenho pensamentos privados, quer ouvir?
Criar personagem de IA
image
avatar
B
Bena Millionaire
Generation Data
Registro
Prompts
Copiar 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 prompt for Drama and Isekai genres with Bitcoin , Whale , and Shark prompts = { "drama_isekai_bitcoin_whale_shark": ( "In a dramatic isekai world , a young protagonist finds themselves in a fantastical realm where Bitcoin plays a crucial role in society . " "The scene captures the protagonist standing on a cliff , gazing at a majestic , otherworldly ocean where a colossal , benevolent whale with a Bitcoin symbol glowing on its back swims gracefully . " "The whale represents hope and power , while a sleek , mysterious shark with a Bitcoin logo on its fin lurks in the shadows of the ocean , hinting at hidden dangers . " "The protagonist , dressed in adventure-ready attire , looks contemplative and determined , reflecting the inner struggle and growth typical of a dramatic isekai journey . " "The background features a breathtaking , magical landscape with floating islands , enchanted forests , and a shimmering , star-studded sky , evoking the fantasy and wonder of the new world . " ) } # 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 prompt for Drama and Isekai genres with Bitcoin, Whale, and Shark prompts = { "drama_isekai_bitcoin_whale_shark": ( "In a dramatic isekai world, a young protagonist finds themselves in a fantastical realm where Bitcoin plays a crucial role in society. " "The scene captures the protagonist standing on a cliff, gazing at a majestic, otherworldly ocean where a colossal, benevolent whale with a Bitcoin symbol glowing on its back swims gracefully. " "The whale represents hope and power, while a sleek, mysterious shark with a Bitcoin logo on its fin lurks in the shadows of the ocean, hinting at hidden dangers. " "The protagonist, dressed in adventure-ready attire, looks contemplative and determined, reflecting the inner struggle and growth typical of a dramatic isekai journey. " "The background features a breathtaking, magical landscape with floating islands, enchanted forests, and a shimmering, star-studded sky, evoking the fantasy and wonder of the new world." ) } # 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()
Escala CFG
7
Passos
25
Coletor
euler
Semente
2038529427
Agendador
karras
Tamanho de Imagem
688 X 1024
Modelo
SeaArt Infinity
Criar
Tamanho
688X1024
Data
Aug 31, 2024
Modo
Estúdio
Tipo
cell
Checkpoint & LoRA
SeaArt Infinity
Checkpoint
SeaArt Infinity
#Animal
#SeaArt Infinity
comentário(s)
0
10
0

Apps de IA Rápida de SeaArt

ai_video_generationimg
Geração de vídeos com IA

Libere sua imaginação e deixe a IA criar maravilhas visuais para você

face_swap_titleimg
Troca de rosto IA online gratuita e ilimitada

Crie rapidamente vídeos e fotos de troca de rosto divertidos e realistas

image2lineartimg
Imagem para arte linear

Converta qualquer imagem em arte linear elegante sem esforço

ghibli_filter_h1img
filtro do Studio Ghibli

Transforme qualquer foto em arte única no estilo Ghibli com apenas um clique.

dance_vidimg
Gerador de vídeo de dança com IA

Brinque com este gerador de vídeos de dança por IA e libere seu dançarino interior instantaneamente!

cartoon_avatar_h1img
Criador de avatares de desenho animado

Transforme suas fotos em avatares de desenho animado únicos instantaneamente.

Explore mais aplicativos AI 

Recomendações relacionadas

ControlNet
Exclusivo
avatar
B
Bena Millionaire
0
1
ControlNet
Exclusivo
avatar
Q
QUTEV Rolr
1
1
ControlNet
Exclusivo
avatar
B
Bena Millionaire
0
0
ControlNet
Exclusivo
avatar
M
Michael Jackson
0
0
ControlNet
Exclusivo
avatar
?
?????\??筋肉
0
0
ControlNet
Exclusivo
avatar
A
Amjad Ali
1
0
ControlNet
Exclusivo
avatar
J
jesus alberto asto ballesteros
1
0
ControlNet
Exclusivo
avatar
B
Bena Millionaire
0
0
ControlNet
Exclusivo
avatar
?
?????\??筋肉
0
0
ControlNet
Exclusivo
avatar
M
Michael Jackson
0
0
ControlNet
Exclusivo
avatar
A
ari Jeben
0
1
ControlNet
Exclusivo
avatar
A
Alireza Moghadam
0
0
ControlNet
Exclusivo
avatar
K
KARTIK SH
1
1
ControlNet
Exclusivo
avatar
F
francois “François1965”
3
0
ControlNet
Exclusivo
avatar
W
whale 52hz
0
0
ControlNet
Exclusivo
avatar
J
Jerochico 28
0
0
ControlNet
Exclusivo
avatar
D
Designer86719
1
1
ControlNet
Exclusivo
avatar
R
Riy Tov
1
0
ControlNet
Exclusivo
avatar
A
Adee Hady
1
1
ControlNet
Exclusivo
avatar
D
Designer86719
0
0
ControlNet
Exclusivo
avatar
K
Kehinde Adegoke
0
0
ControlNet
Exclusivo
avatar
R
rygart B
1
1
ControlNet
Exclusivo
avatar
H
houdheifa khouchane
1
0
ControlNet
Exclusivo
avatar
K
kripto bey
0
0
ControlNet
Exclusivo
avatar
B
Bereg VIbereg
0
0
ControlNet
Exclusivo
avatar
?
?????\??筋肉
1
1
ControlNet
Exclusivo
avatar
S
shamsudeen qazeem (shaminem)
1
1
ControlNet
Exclusivo
avatar
H
HIRO SHI
0
0
ControlNet
Exclusivo
avatar
C
Carlos
1
1
ControlNet
Exclusivo
avatar
M
Miroslav Rikic
1
1
ControlNet
Exclusivo
avatar
D
Designer86719
0
0
ControlNet
Exclusivo
avatar
G
Gabriel Pinheiro Da Fonseca
0
0
ControlNet
Exclusivo
avatar
H
Hosea Rutto
0
0
ControlNet
logo
Português
Aplicativo
Criar imagem Personagens AI Swift AI Treinamento de modelo Canvas Ferramenta rápida Fluxo de Trabalho
Criado {time}
Estúdio Classificação Bate-papo IA AI blog AI notícias
Ajuda
Guias Atendimento ao Cliente
Obter aplicativo
icon
Download on the
APP Store
icon
GET IT ON
Google Play
Siga-nos
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
Termos
Política de Privacidade 特定商取引法 資金決済法に基づく表示
Mais