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

# 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
I've got something special just for you today.
Create AI Character
image
avatar
B
Bena Millionaire
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") # 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")
CFG Scale
7
Steps
25
Sampler
euler
Seed
1331793610
Scheduler
karras
Image Size
688 X 1024
Model
SeaArt Infinity
Generate
Size
688X1024
Date
Aug 26, 2024
Mode
Studio
Type
cell
Checkpoint & LoRA
SeaArt Infinity
Checkpoint
SeaArt Infinity
#Goddess
#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

cartoon_avatar_h1img
Cartoon Avatar Maker

Turn your photos into unique cartoon avatars instantly.

gender_swapimg
Gender Swap

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

kiss_vidimg
AI Kissing Video Generator

Join the kissing trend with SeaArt's AI kissing video generator instantly. Easily make two people kiss, and create realistic animation.

wanimg2vid_h1img
Wan 2.1 Image to Video

Animate photos with realistic motion and cinematic effects.

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