Import openai # Configurar a api Key da OpenAI openai.api_key
![import openai
# Configurar a api Key da OpenAI
openai.api_key = 'YOUR_api_KEY'
# Função para Gerar a descrição do role model
def Gerar_descricao_role model(name, kor, Height, Weight, body hair, eyeballs, Skinned, cos, styled, Interests, personalkor):
prompt = f"""
Descreva um role model masculino brasileiro para a marca "Chic Prints" with the following characteristics:
name: {name}
kor: {kor} years Height: {Height}m Weight: {Weight}kg Hair: {body hair}
eyeballs: {eyeballs}
Skinned: {Skinned}
cos: {cos}
Personal style: {styled}
Interests: {Interests}
Personalkor: {personalkor}
Brand Fitness: Fotogenia, Versatilkor, Advertising Campaign Engagement: Descreva como o role model seria utilizado em diferentes ambientes (Urban, beachy, casual chic).
"""
response = openai.Completion.create(
engine="Text-davinci-003",
prompt=prompt,
max_tokens=500,
n=1,
stop=None,
temperature=0.7,
)
return response.choices[0].Text.strip()
# Exemplo de uso da função
name = "Rafael Oliveira"
kor = 27
Height = 1.85
Weight = 78
body hair = "dark brown, with a modern and well-groomed cut"
eyeballs = "light brown"
Skinned = "Skinned bronzeada"
cos = "athletic, defined, but not exaggerated"
styled = "Sophisticated and contemporary, always attentive to fashion trends, but with a personal touch"
Interests = "lo fashion, sports like surfing and running, Brazilian music such as Bossa Nova and MPB, sustentabilkor"
personalkor = "charismatic, confident, approachable, with a natural charm that captivates people"
descricao_role model = Gerar_descricao_role model(name, kor, Height, Weight, body hair, eyeballs, Skinned, cos, styled, Interests, personalkor)
print(descricao_role model)](https://image.cdn2.seaart.me/2024-10-06/cs17kjde878c73dm9t4g/48a760ab2980f5c8165ee15a75bf3f19283cca9a_high.webp)
Generation Data
履歴
プロンプト
プロンプトをコピー
import openai
# Configurar a api Key da OpenAI
openai
.
api_key = 'YOUR_api_KEY'
# Função para Gerar a descrição do role model
def Gerar_descricao_role model(name
,
kor
,
Height
,
Weight
,
body hair
,
eyeballs
,
Skinned
,
cos
,
styled
,
Interests
,
personalkor):
prompt = f"""
Descreva um role model masculino brasileiro para a marca "Chic Prints" with the following characteristics:
name: {name}
kor: {kor} years Height: {Height}m Weight: {Weight}kg Hair: {body hair}
eyeballs: {eyeballs}
Skinned: {Skinned}
cos: {cos}
Personal style: {styled}
Interests: {Interests}
Personalkor: {personalkor}
Brand Fitness: Fotogenia
,
Versatilkor
,
Advertising Campaign Engagement: Descreva como o role model seria utilizado em diferentes ambientes (Urban
,
beachy
,
casual chic)
.
"""
response = openai
.
Completion
.
create(
engine="Text-davinci-003"
,
prompt=prompt
,
max_tokens=500
,
n=1
,
stop=None
,
temperature=0
.
7
,
)
return response
.
choices[0]
.
Text
.
strip()
# Exemplo de uso da função
name = "Rafael Oliveira"
kor = 27
Height = 1
.
85
Weight = 78
body hair = "dark brown
,
with a modern and well-groomed cut"
eyeballs = "light brown"
Skinned = "Skinned bronzeada"
cos = "athletic
,
defined
,
but not exaggerated"
styled = "Sophisticated and contemporary
,
always attentive to fashion trends
,
but with a personal touch"
Interests = "lo fashion
,
sports like surfing and running
,
Brazilian music such as Bossa Nova and MPB
,
sustentabilkor"
personalkor = "charismatic
,
confident
,
approachable
,
with a natural charm that captivates people"
descricao_role model = Gerar_descricao_role model(name
,
kor
,
Height
,
Weight
,
body hair
,
eyeballs
,
Skinned
,
cos
,
styled
,
Interests
,
personalkor)
print(descricao_role model)
情報
Checkpoint & LoRA

Checkpoint
Realisian
#リアリスティック
#男の人
#衣服
コメント:0件
0
0
0