banner_image ×
SeaArt AI الإصدارة المؤسسية

Import openai # Remplacez 'your-api-key-here' par votre clé API réelle openai

import openai

# Remplacez 'your-api-key-here' par votre clé API réelle
openai.api_key = 'your-api-key-here'

# Description détaillée de l'image pour générer une image similaire
prompt = """
Create an ultra-realistic image of a young woman sitting on the edge of a wooden table in the classic streets of Paris. She has long, wavy brown hair that falls over her shoulders. Her face is heart-shaped with clear, smooth skin. She has large, expressive brown eyes with well-defined eyebrows. Her nose is small and straight, and she has full lips that form a slight smile. She is wearing a cozy winter sweater and white pants. Her pose is relaxed, with one hand resting on the table and the other on her thigh. She has the most beautiful hands in the world, with elegant, slender fingers and perfectly manicured nails painted with black nail polish. The street is picturesque, with classic Parisian architecture, cobblestone paths, and iconic elements like vintage lampposts and charming cafes. The atmosphere is romantic and timeless, typical of a Paris street scene. The lighting is natural, with sunlight casting warm tones on the scene. The woman's expression is calm and confident, with a slight smile.
"""

# Fonction pour générer l'image basée sur le prompt
def generer_image(prompt):
    response = openai.Image.create(
        prompt=prompt,
        n=1,  # Nombre d'images à générer
        size="1024x1024"  # Taille de l'image
    )
    return response['data'][0]['url']

# Générer l'image
image_url = generer_image(prompt)
print("Image URL:", image_url)
chatIcon
لدي شيء مثير لأتحدث عنه اليوم. هل أنت مستعد؟
إنشاء شخصية AI
image
avatar
E
Emilie Gaultier
Generation Data
السجل
كلمة التلميح
نسخ
import openai # Remplacez 'your-api-key-here' par votre clé API réelle openai . api_key = 'your-api-key-here' # Description détaillée de l'image pour générer une image similaire prompt = """ Create an ultra-realistic image of a young woman sitting on the edge of a wooden table in the classic streets of Paris . She has long , wavy brown hair that falls over her shoulders . Her face is heart-shaped with clear , smooth skin . She has large , expressive brown eyes with well-defined eyebrows . Her nose is small and straight , and she has full lips that form a slight smile . She is wearing a cozy winter sweater and white pants . Her pose is relaxed , with one hand resting on the table and the other on her thigh . She has the most beautiful hands in the world , with elegant , slender fingers and perfectly manicured nails painted with black nail polish . The street is picturesque , with classic Parisian architecture , cobblestone paths , and iconic elements like vintage lampposts and charming cafes . The atmosphere is romantic and timeless , typical of a Paris street scene . The lighting is natural , with sunlight casting warm tones on the scene . The woman's expression is calm and confident , with a slight smile . """ # Fonction pour générer l'image basée sur le prompt def generer_image(prompt): response = openai . Image . create( prompt=prompt , n=1 , # Nombre d'images à générer size="1024x1024" # Taille de l'image ) return response['data'][0]['url'] # Générer l'image image_url = generer_image(prompt) print("Image URL:" , image_url)
معلومات
كلمة التلميح
import openai # Remplacez 'your-api-key-here' par votre clé API réelle openai.api_key = 'your-api-key-here' # Description détaillée de l'image pour générer une image similaire prompt = """ Create an ultra-realistic image of a young woman sitting on the edge of a wooden table in the classic streets of Paris. She has long, wavy brown hair that falls over her shoulders. Her face is heart-shaped with clear, smooth skin. She has large, expressive brown eyes with well-defined eyebrows. Her nose is small and straight, and she has full lips that form a slight smile. She is wearing a cozy winter sweater and white pants. Her pose is relaxed, with one hand resting on the table and the other on her thigh. She has the most beautiful hands in the world, with elegant, slender fingers and perfectly manicured nails painted with black nail polish. The street is picturesque, with classic Parisian architecture, cobblestone paths, and iconic elements like vintage lampposts and charming cafes. The atmosphere is romantic and timeless, typical of a Paris street scene. The lighting is natural, with sunlight casting warm tones on the scene. The woman's expression is calm and confident, with a slight smile. """ # Fonction pour générer l'image basée sur le prompt def generer_image(prompt): response = openai.Image.create( prompt=prompt, n=1, # Nombre d'images à générer size="1024x1024" # Taille de l'image ) return response['data'][0]['url'] # Générer l'image image_url = generer_image(prompt) print("Image URL:", image_url)
العلامات السلبية
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))
مقياس CFG
7
الخطوات
20
جامع
DPM++ 2M Karras
بذرة
2178119574
Clip Skip
1
حجم الصورة
686 X 1024
نموذج
epiCRealism
خلق
مقاس
686X1024
تاريخ
Jul 8, 2024
الوضع
الافتراضي
النوع
upscale
Checkpoint & LoRA
epiCRealism
Checkpoint
epiCRealism
#واقعي
#التصوير الفوتوغرافي
#ملابس
0 تعليق
0
1
0

تطبيقات الـAI السريعة من SeaArt

ai_video_generationimg
توليد فيديو AI

أطلق العنان لخيالك ودع AI يخلق روائع بصرية من أجلك.

face_swap_titleimg
مبادلة الوجه عبر الإنترنت مجانا

إبداع الفيديوهات والصور المضحكة أو الواقعية لمبادلة الوجه بسرعة

ai_tools_2img
إزالة الخلفية

أزل الخلفيات من أي صورة في ثوانٍ.

ai_eraserimg
ممحاة الـAI

أزل الكائنات أو العلامات المائية أو الأشخاص غير المرغوب فيها من صورك بسهولة.

ai_tools_4img
فلاتر AI

جعل كل صورة تصبح عملاً فنيًا

cartoon_avatar_h1img
صانع أفاتار كرتوني

حوّل صورك إلى أفاتارات كرتونية فريدة على الفور.

استكشاف المزيد من تطبيقات الـAI 

اقتراحات ذو صلة

شبكة التحكم
logo
العربية
تطبيقة
توليد الصورة شخصيات AI سويفت AI تدريب النموذج اللوحة المتقدمة الأداة السريعة تيار العمل
بشأنه
الاستوديو التصنيفات كلما عالت جودة الصور المولدة، زادت العملات الرمزية المستهلكة، والآن مجاني لفترة محدودة مدونة AI أخبار AI
دعم
الدليل خدمة العملاء
احصل على التطبيق
icon
Download on the
APP Store
icon
GET IT ON
Google Play
تابعنا
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
شروط
سياسة الخصوصية 特定商取引法 資金決済法に基づく表示
المزيد