banner_image ×
SeaArt AI 企業版

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 rooftop bar scene
prompt = (
    "In a stylish rooftop bar with a stunning city view, the go-go dancer and Bitcoin trader celebrate with a comically over-the-top party. The dancer, now in a glamorous yet playful evening dress with Bitcoin motifs, performs a humorous dance routine. The trader joins in with exaggerated dance moves, and they share a toast with drinks that have comical garnishes. The city lights provide a dazzling backdrop, and the lighting highlights the festive and cheeky mood of the evening."
)

# 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("rooftop_party.png")
chatIcon
有些私密的建議,只告訴你。
創建數字人
image
avatar
B
Bena Millionaire
創作參數
記錄
提示詞
復製
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 rooftop bar scene prompt = ( "In a stylish rooftop bar with a stunning city view , the go-go dancer and Bitcoin trader celebrate with a comically over-the-top party . The dancer , now in a glamorous yet playful evening dress with Bitcoin motifs , performs a humorous dance routine . The trader joins in with exaggerated dance moves , and they share a toast with drinks that have comical garnishes . The city lights provide a dazzling backdrop , and the lighting highlights the festive and cheeky mood of the evening . " ) # 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("rooftop_party . png")
信息
提示詞
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 rooftop bar scene prompt = ( "In a stylish rooftop bar with a stunning city view, the go-go dancer and Bitcoin trader celebrate with a comically over-the-top party. The dancer, now in a glamorous yet playful evening dress with Bitcoin motifs, performs a humorous dance routine. The trader joins in with exaggerated dance moves, and they share a toast with drinks that have comical garnishes. The city lights provide a dazzling backdrop, and the lighting highlights the festive and cheeky mood of the evening." ) # 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("rooftop_party.png")
文本強度
7
步驟
25
采集器
euler
隨機種子
34762788
調度器
karras
圖片尺寸
688 X 1024
模型
SeaArt Infinity
創作
尺寸
688X1024
日期
Aug 26, 2024
模式
實驗室
類型
cell
模型 & 風格
SeaArt Infinity
模型
SeaArt Infinity
#服飾
#SeaArt Infinity
共 0 條評論
0
9
0

SeaArt快捷AI應用

ai_video_generationimg
AI視頻生成

釋放您的想象力,AI為您成就視覺奇跡

face_swap_titleimg
免費線上換臉

快速製作有趣逼真的換臉影片和照片

ghibli_filter_h1img
吉卜力濾鏡

將任何照片一鍵轉換為獨特的吉卜力風格藝術。

anime2realityimg
從動漫到現實

瞬間讓您喜愛的動漫角色活靈活現。

vrtry_cloth_h1img
虛擬試穿衣服

使用AI虛擬試穿任何類型的衣服。

DisneyFilter_top_titleimg
迪士尼濾鏡

立即將您的照片轉化為迪士尼角色。

探索更多AI應用 

相關推薦

控製網
logo
中文-繁體
應用
創作圖像 數字人 快捷AI 模型訓練 高級畫板 AI應用 工作流
關於TA
實驗室 排行榜 AI聊天 AI博客 AI新聞
幫助
教程 客服
獲取應用
icon
Download on the
APP Store
icon
GET IT ON
Google Play
關註我們
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
版权政策
《條款》
《隱私政策》 特定商取引法 資金決済法に基づく表示
更多