banner_image ×
SeaArt AI Entreprise

Import torch from diffusers import StableDiffusionPipeline

import torch
from diffusers import StableDiffusionPipeline

# Load the model
model_id = "CompVis/stable-diffusion-v1-4"
device = "cuda" if torch.cuda.is_available() else "cpu"
pipe = StableDiffusionPipeline.from_pretrained(model_id)
pipe.to(device)

# Define the prompt
prompt = "A black cat with a dark background, standing on two legs, hanging an AK-47 rifle gun on its front, wearing a golden necklace"

# Generate the image
image = pipe(prompt).images[0]

# Save the image
image.save("generated_black_cat.png")

print("Image generated and saved as 'generated_black_cat.png'")
chatIcon
J'ai des idées audacieuses, osez-vous les écouter ?
Créer un Compagnon AI
image

import torch from diffusers import StableDiffusionPipeline # Load the model model_id = "CompVis/stable-diffusion-v1-4" device = "cuda" if torch.cuda.is_available() else "cpu" pipe = StableDiffusionPipeline.from_pretrained(model_id) pipe.to(device) # Define the prompt prompt = "A black cat with a dark background, standing on two legs, hanging an AK-47 rifle gun on its front, wearing a golden necklace" # Generate the image image = pipe(prompt).images[0] # Save the image image.save("generated_black_cat.png") print("Image generated and saved as 'generated_black_cat.png'")

avatar
K
Kaaaa
Generation Data
Enregistrements
Prompts
Copier les Paramètres
import torch from diffusers import StableDiffusionPipeline # Load the model model_id = "CompVis/stable-diffusion-v1-4" device = "cuda" if torch . cuda . is_available() else "cpu" pipe = StableDiffusionPipeline . from_pretrained(model_id) pipe . to(device) # Define the prompt prompt = "A black cat with a dark background , standing on two legs , hanging an AK-47 rifle gun on its front , wearing a golden necklace" # Generate the image image = pipe(prompt) . images[0] # Save the image image . save("generated_black_cat . png") print("Image generated and saved as 'generated_black_cat . png'")
Info
Prompts
import torch from diffusers import StableDiffusionPipeline # Load the model model_id = "CompVis/stable-diffusion-v1-4" device = "cuda" if torch.cuda.is_available() else "cpu" pipe = StableDiffusionPipeline.from_pretrained(model_id) pipe.to(device) # Define the prompt prompt = "A black cat with a dark background, standing on two legs, hanging an AK-47 rifle gun on its front, wearing a golden necklace" # Generate the image image = pipe(prompt).images[0] # Save the image image.save("generated_black_cat.png") print("Image generated and saved as 'generated_black_cat.png'")
Prompts Négatives
verybadimagenegative_v1.3, ng_deepnegative_v1_75t, (ugly face:0.8),cross-eyed,sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, bad anatomy, DeepNegative, facing away, tilted head, {Multiple people}, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worstquality, low quality, normal quality, jpegartifacts, signature, watermark, username, blurry, bad feet, cropped, poorly drawn hands, poorly drawn face, mutation, deformed, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, extra fingers, fewer digits, extra limbs, extra arms,extra legs, malformed limbs, fused fingers, too many fingers, long neck, cross-eyed,mutated hands, polar lowres, bad body, bad proportions, gross proportions, text, error, missing fingers, missing arms, missing legs, extra digit, extra arms, extra leg, extra foot, ((repeating hair))
Échelle CFG
7
Étapes
20
Échantillonneur
DPM++ 2M Karras
Graine Aléatoire
3100871009
Clip Skip
1
Dimension de l'Image
683 X 1024
Modèle
CyberRealistic
Créer
Taille
683X1024
Date
Jun 22, 2024
Mode
Par Défaut
Type
upscale
Checkpoint & LoRA
CyberRealistic
Checkpoint
CyberRealistic
#Animal
#Poilu
#Conception de Produit
0 commentaire(s)
0
0
0

Apps AI Rapides de SeaArt

ai_video_generationimg
Génération de Vidéos AI

Libérez votre imagination, l'AI crée des miracles visuels pour vous.

face_swap_titleimg
Échangez le visage gratuitement en ligne

Créez des vidéos et des photos hilarantes & réalistes en échangeant le visage rapidement

DisneyFilter_top_titleimg
Filtre Disney

Transformez instantanément vos photos en personnages Disney.

fuse_anyoneimg
Fusion d'Images AI

Combinez deux images en une nouvelle création visuelle époustouflante avec la Fusion d'Images AI.

dance_vidimg
Générateur de Vidéos de Danse AI

Jouez avec ce générateur de vidéos de danse AI et libérez instantanément votre danseur intérieur !

cartoon_avatar_h1img
Créateur d'Avatar Cartoon

Transformez vos photos en avatars cartoon uniques instantanément.

Explorer plus d'applications AI 

Suggestions

ControlNet
Exclusif
avatar
K
Kaaaa
0
0
ControlNet
Exclusif
avatar
K
Kaaaa
0
0
ControlNet
Exclusif
avatar
K
Kaaaa
0
0
ControlNet
Exclusif
avatar
F
Filipe Sales
0
0
ControlNet
Exclusif
avatar
M
Mepaz Game
1
0
ControlNet
Exclusif
avatar
て
てりやき
0
0
ControlNet
Exclusif
avatar
K
KPU PAGARALAM
0
1
ControlNet
Exclusif
avatar
O
operman
0
0
ControlNet
Exclusif
avatar
J
Jade
0
0
ControlNet
Exclusif
avatar
K
Kaaaa
0
0
ControlNet
Exclusif
avatar
A
Alvin Kk
0
0
ControlNet
Exclusif
avatar
只
只の馬鹿
0
0
ControlNet
Exclusif
avatar
て
てりやき
0
0
ControlNet
Exclusif
avatar
Z
ztauz
0
0
ControlNet
Exclusif
avatar
A
Angelina Sireneva
0
0
ControlNet
Exclusif
avatar
T
Trinity Games
0
0
ControlNet
Exclusif
avatar
Z
Zaki Ali
1
0
ControlNet
Exclusif
avatar
B
Bearded mountain man
0
0
ControlNet
Exclusif
avatar
B
Bill dark
0
0
ControlNet
Exclusif
avatar
V
Văn Duy Bùi
0
1
ControlNet
Exclusif
avatar
S
SGL7LV
0
0
ControlNet
Exclusif
avatar
A
Alondra Morales
0
0
ControlNet
Exclusif
avatar
I
Irgi Hsb
0
0
ControlNet
Exclusif
avatar
星
星屑キャンディドール⋆꙳✮
0
0
ControlNet
Exclusif
avatar
Y
Yopan Official
0
0
ControlNet
Exclusif
avatar
A
ARTHUR pereira Bento
0
0
ControlNet
Exclusif
avatar
A
Alondra Morales
0
0
ControlNet
Exclusif
avatar
D
Designer57251
0
0
ControlNet
Exclusif
avatar
S
Sarah Assefa
1
0
ControlNet
Exclusif
avatar
O
okrim00
0
0
ControlNet
Exclusif
avatar
D
Da.l
0
0
ControlNet
Exclusif
avatar
M
Maryam Maryam
1
1
ControlNet
Exclusif
avatar
Y
Youchan
0
0
ControlNet
Exclusif
avatar
B
BRoMosan channel
0
1
ControlNet
logo
Français
Applications
Générer l'image Compagnons AI IA Swift Entraînement de modèle Canvas Outil Rapide Flux de Travail
À propos de lui/elle
Studio Classement Blog AI Actualités AI
Aide
Tutoriel Service clientèle
Obtenir l'Application
icon
Download on the
APP Store
icon
GET IT ON
Google Play
Suivez-Nous
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
Conditions d'utilisation
Politique de confidentialité 特定商取引法 資金決済法に基づく表示
Plus