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")

# Define the prompt for the Japanese city scene
prompt = (
    "In a lively Japanese city street, the go-go dancer and Bitcoin trader are having a humorous adventure. The dancer, now in a quirky Japanese-themed outfit with Bitcoin accents, playfully interacts with street performers and vendors. They are surrounded by colorful neon signs and amusing cultural elements. The scene is vibrant and whimsical, with exaggerated expressions and playful poses. The lighting reflects the bustling city vibe, creating a humorous and lively atmosphere."
)

# Configuration settings
clip_guidance_scale = 16  # Slightly lower to add a playful feel
hr_scale = 3.0  # Balanced resolution
hr_upscaler = "R-ESRGAN"
latent_shift = torch.randn(1, 4, 64, 64) * 0.03  # Slight variation for humor
cross_attention_strength = 1.5  # Focus on playful details
shallow_depth_of_field = True  # Emphasize interaction
lighting_style = "bright and colorful"  # Vibrant lighting effects
color_match_strength = 1.5  # Enhanced color matching
perlin_noise_scale = 0.03  # Subtle noise for texture
fractal_noise = False

# Generate the image
image = pipe(
    prompt=prompt,
    clip_guidance_scale=clip_guidance_scale,
    hr_scale=hr_scale,
    hr_upscaler=hr_upscaler,
    latent_shift=latent_shift,
    cross_attention_strength=cross_attention_strength,
    shallow_depth_of_field=shallow_depth_of_field,
    lighting_style=lighting_style,
    color_match_strength=color_match_strength,
    noise="perlin",
    noise_scale=perlin_noise_scale,
    fractal_noise=fractal_noise
).images[0]

# Save the generated image
image.save("japanese_city_adventure.png")
chatIcon
Você pode se interessar pela minha privacidade.
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") # Define the prompt for the Japanese city scene prompt = ( "In a lively Japanese city street , the go-go dancer and Bitcoin trader are having a humorous adventure . The dancer , now in a quirky Japanese-themed outfit with Bitcoin accents , playfully interacts with street performers and vendors . They are surrounded by colorful neon signs and amusing cultural elements . The scene is vibrant and whimsical , with exaggerated expressions and playful poses . The lighting reflects the bustling city vibe , creating a humorous and lively atmosphere . " ) # Configuration settings clip_guidance_scale = 16 # Slightly lower to add a playful feel hr_scale = 3 . 0 # Balanced resolution hr_upscaler = "R-ESRGAN" latent_shift = torch . randn(1 , 4 , 64 , 64) * 0 . 03 # Slight variation for humor cross_attention_strength = 1 . 5 # Focus on playful details shallow_depth_of_field = True # Emphasize interaction lighting_style = "bright and colorful" # Vibrant lighting effects color_match_strength = 1 . 5 # Enhanced color matching perlin_noise_scale = 0 . 03 # Subtle noise for texture fractal_noise = False # Generate the image image = pipe( prompt=prompt , clip_guidance_scale=clip_guidance_scale , hr_scale=hr_scale , hr_upscaler=hr_upscaler , latent_shift=latent_shift , cross_attention_strength=cross_attention_strength , shallow_depth_of_field=shallow_depth_of_field , lighting_style=lighting_style , color_match_strength=color_match_strength , noise="perlin" , noise_scale=perlin_noise_scale , fractal_noise=fractal_noise ) . images[0] # Save the generated image image . save("japanese_city_adventure . png")
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") # Define the prompt for the Japanese city scene prompt = ( "In a lively Japanese city street, the go-go dancer and Bitcoin trader are having a humorous adventure. The dancer, now in a quirky Japanese-themed outfit with Bitcoin accents, playfully interacts with street performers and vendors. They are surrounded by colorful neon signs and amusing cultural elements. The scene is vibrant and whimsical, with exaggerated expressions and playful poses. The lighting reflects the bustling city vibe, creating a humorous and lively atmosphere." ) # Configuration settings clip_guidance_scale = 16 # Slightly lower to add a playful feel hr_scale = 3.0 # Balanced resolution hr_upscaler = "R-ESRGAN" latent_shift = torch.randn(1, 4, 64, 64) * 0.03 # Slight variation for humor cross_attention_strength = 1.5 # Focus on playful details shallow_depth_of_field = True # Emphasize interaction lighting_style = "bright and colorful" # Vibrant lighting effects color_match_strength = 1.5 # Enhanced color matching perlin_noise_scale = 0.03 # Subtle noise for texture fractal_noise = False # Generate the image image = pipe( prompt=prompt, clip_guidance_scale=clip_guidance_scale, hr_scale=hr_scale, hr_upscaler=hr_upscaler, latent_shift=latent_shift, cross_attention_strength=cross_attention_strength, shallow_depth_of_field=shallow_depth_of_field, lighting_style=lighting_style, color_match_strength=color_match_strength, noise="perlin", noise_scale=perlin_noise_scale, fractal_noise=fractal_noise ).images[0] # Save the generated image image.save("japanese_city_adventure.png")
Escala CFG
7
Passos
25
Coletor
euler
Semente
1331793610
Agendador
karras
Tamanho de Imagem
688 X 1024
Modelo
SeaArt Infinity
Criar
Tamanho
688X1024
Data
Aug 26, 2024
Modo
Estúdio
Tipo
cell
Checkpoint & LoRA
SeaArt Infinity
Checkpoint
SeaArt Infinity
#Deusa
#SeaArt Infinity
comentário(s)
0
0
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

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!

vrtry_cloth_h1img
Prova virtual de roupas

Experimente qualquer tipo de roupa virtualmente com IA

DisneyFilter_top_titleimg
Filtro Disney

Transforme instantaneamente suas fotos em personagens da Disney.

Explore mais aplicativos AI 

Recomendações relacionadas

ControlNet
Exclusivo
avatar
T
Thiago Sarmento#35ES72
0
0
ControlNet
Exclusivo
avatar
H
avatar_frame
huxtiga
0
0
ControlNet
Exclusivo
avatar
A
AnoOon675
3
2
ControlNet
Exclusivo
avatar
N
norfleetzzc
0
2
ControlNet
Exclusivo
avatar
N
avatar_frame
Nasuada
0
0
ControlNet
Exclusivo
avatar
S
avatar_frame
SENZ Aquos
0
0
ControlNet
Exclusivo
avatar
P
Pp
0
0
ControlNet
Exclusivo
avatar
S
avatar_frame
SENZ Galaxy Note
0
0
ControlNet
Exclusivo
avatar
Т
Тихон Залетаев
0
0
ControlNet
Exclusivo
avatar
T
avatar_frame
Tender With Tiddies
0
0
ControlNet
Exclusivo
avatar
夏
avatar_frame
夏の避暑地
1
0
ControlNet
Exclusivo
avatar
M
MiauMiau142
0
0
ControlNet
Exclusivo
avatar
シ
avatar_frame
シュウ
0
0
ControlNet
Exclusivo
avatar
Q
QQ2
0
0
ControlNet
Exclusivo
avatar
シ
avatar_frame
シュウ
0
0
ControlNet
Exclusivo
avatar
M
Mitra Guru
0
0
ControlNet
Exclusivo
avatar
E
avatar_frame
Esz.Zee.Arte
0
0
ControlNet
Exclusivo
avatar
J
jiji
0
0
ControlNet
Exclusivo
avatar
D
Designer12693
1
0
ControlNet
Exclusivo
avatar
M
avatar_frame
mumu
0
0
ControlNet
Exclusivo
avatar
D
Dilan Kusuma
0
0
ControlNet
Exclusivo
avatar
煮
煮刀论AI
0
0
ControlNet
Exclusivo
avatar
D
Designer86709
1
0
ControlNet
Exclusivo
avatar
M
avatar_frame
mumu
0
0
ControlNet
Exclusivo
avatar
千
avatar_frame
千尋
0
0
ControlNet
Exclusivo
avatar
D
Designer31032
0
0
ControlNet
Exclusivo
avatar
ミ
ミステリーF
0
0
ControlNet
Exclusivo
avatar
L
Lucas#2nZt77
0
0
ControlNet
Exclusivo
avatar
W
avatar_frame
WeberLo
1
1
ControlNet
Exclusivo
avatar
F
Frederick Goraus
2
1
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