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")
pipe = pipe.to("cuda")  # Use GPU if available

# Define the detailed collectible card game-style prompt
prompts = {
    "cooking_for_bitcoin_whale_card_game": (
        "An intense and strategic scene in a collectible card game where a powerful, majestic whale character, wearing a gleaming Bitcoin chain, "
        "is the centerpiece of the game board. The whale is depicted as a rare, legendary card with high stats, and the background features "
        "an intricate, holographic design that signifies its immense power. "
        "Opposing the whale is a beautiful woman, depicted as a cunning and resourceful card with tactical abilities. She is dressed in elegant, "
        "yet formidable attire, holding a hand of cards with a sly smile on her face as she prepares to make her move. "
        "The game board is a mix of high-tech elements and traditional fantasy motifs, with glowing cards, dynamic effects, and animated avatars "
        "representing each player's deck. "
        "The scene is filled with tension as both players are locked in a battle of wits, each move potentially turning the tide of the game. "
        "The overall atmosphere is one of strategy, anticipation, and high-stakes competition, typical of a collectible card game where every decision counts."
    )
}

# 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
有些私密的建议,只告诉你。
创建数字人
image
avatar
H
HelgaBlue
创作参数
记录
提示词
复制
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 collectible card game-style prompt prompts = { "cooking_for_bitcoin_whale_card_game": ( "An intense and strategic scene in a collectible card game where a powerful , majestic whale character , wearing a gleaming Bitcoin chain , " "is the centerpiece of the game board . The whale is depicted as a rare , legendary card with high stats , and the background features " "an intricate , holographic design that signifies its immense power . " "Opposing the whale is a beautiful woman , depicted as a cunning and resourceful card with tactical abilities . She is dressed in elegant , " "yet formidable attire , holding a hand of cards with a sly smile on her face as she prepares to make her move . " "The game board is a mix of high-tech elements and traditional fantasy motifs , with glowing cards , dynamic effects , and animated avatars " "representing each player's deck . " "The scene is filled with tension as both players are locked in a battle of wits , each move potentially turning the tide of the game . " "The overall atmosphere is one of strategy , anticipation , and high-stakes competition , typical of a collectible card game where every decision counts . " ) } # 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()
信息
提示词
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 collectible card game-style prompt prompts = { "cooking_for_bitcoin_whale_card_game": ( "An intense and strategic scene in a collectible card game where a powerful, majestic whale character, wearing a gleaming Bitcoin chain, " "is the centerpiece of the game board. The whale is depicted as a rare, legendary card with high stats, and the background features " "an intricate, holographic design that signifies its immense power. " "Opposing the whale is a beautiful woman, depicted as a cunning and resourceful card with tactical abilities. She is dressed in elegant, " "yet formidable attire, holding a hand of cards with a sly smile on her face as she prepares to make her move. " "The game board is a mix of high-tech elements and traditional fantasy motifs, with glowing cards, dynamic effects, and animated avatars " "representing each player's deck. " "The scene is filled with tension as both players are locked in a battle of wits, each move potentially turning the tide of the game. " "The overall atmosphere is one of strategy, anticipation, and high-stakes competition, typical of a collectible card game where every decision counts." ) } # 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()
文本强度
7
步骤
25
采集器
euler
随机种子
1742196639
调度器
karras
图片尺寸
688 X 1024
模型
SeaArt Infinity
创作
尺寸
688X1024
日期
Aug 31, 2024
模式
实验室
类型
cell
模型 & 风格
SeaArt Infinity
模型
SeaArt Infinity
#SeaArt Infinity
共 0 条评论
0
1
0

SeaArt快捷AI应用

ai_video_generationimg
AI视频生成

释放您的想象力,AI为您成就视觉奇迹

face_swap_titleimg
免费在线换脸

快速制作有趣逼真的换脸视频和照片

cartoon_avatar_h1img
卡通头像制作器

立即将你的照片转化为独特的卡通头像。

ai_eraserimg
AI橡皮擦

轻松从照片中移除不需要的物体、水印或人物。

DisneyFilter_top_titleimg
迪士尼滤镜

立即将你的照片转化为迪士尼角色。

changePersonimg
更换照片中的人物

使用AI轻松替换任何照片中的人物。

探索更多AI应用 

相关推荐

控制网
logo
中文
应用
创作图像 数字人 快捷AI 模型训练 高级画板 AI应用 工作流
关于TA
实验室 排行榜 AI聊天 AI博客 AI新闻
帮助
教程 客服
获取应用
icon
Download on the
APP Store
icon
GET IT ON
Google Play
关注我们
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
版权政策
《条款》
《隐私政策》 特定商取引法 資金決済法に基づく表示
更多