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 street of New York City. 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 nails painted with black nail polish. The street is bustling with activity, and iconic yellow New York taxis are driving by. The atmosphere is vibrant and energetic, typical of a busy New York street. 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
我有一些隐秘的故事,敢听吗?
创建数字人
image
avatar
E
Emilie Gaultier
创作参数
记录
提示词
复制
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 street of New York City . 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 nails painted with black nail polish . The street is bustling with activity , and iconic yellow New York taxis are driving by . The atmosphere is vibrant and energetic , typical of a busy New York street . 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 street of New York City. 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 nails painted with black nail polish. The street is bustling with activity, and iconic yellow New York taxis are driving by. The atmosphere is vibrant and energetic, typical of a busy New York street. 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))
文本强度
7
步骤
20
采集器
DPM++ 2M Karras
随机种子
829824878
Clip Skip
1
图片尺寸
683 X 1024
模型
epiCRealism
创作
尺寸
683X1024
日期
Jul 8, 2024
模式
默认
类型
upscale
模型 & 风格
epiCRealism
模型
epiCRealism
#写实
#摄影
#服饰
共 0 条评论
0
0
0

SeaArt快捷AI应用

ai_video_generationimg
AI视频生成

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

face_swap_titleimg
免费在线换脸

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

wanimg2vid_h1img
Wan 2.1图生视频

用逼真的动作和电影效果把照片变成动画。

kiss_vidimg
AI接吻视频生成器

借助SeaArt的AI接吻视频生成器投身接吻潮流,轻松生成逼真的接吻动画。

cartoon_avatar_h1img
卡通头像制作器

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

gender_swapimg
性别转换

通过SeaArt的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.
版权政策
《条款》
《隐私政策》 特定商取引法 資金決済法に基づく表示
更多