A painting of a room with a lot of books on shelves
![import openai
openai.api_key = "SEU_API_KEY_AQUI"
response = openai.Image.create(
prompt="A modern and elegant Ton cardboard machine, com um design inovador, situated in a dynamic business environment. The machine has a luminous screen that shows a transaction being processed, and around it there is a vibrant atmosphere with people shopping.",
n=1,
size="256x256",
response_format="url"
)
# The response will contain the URL of the generated image
print(response['data'][0]['url'])](https://image.cdn2.seaart.me/2023-09-09/16688018256617477/17916830ab1f55828ee32786aad5245658265fea_high.webp)

import openai openai.api_key = "SEU_API_KEY_AQUI" response = openai.Image.create( prompt="A modern and elegant Ton cardboard machine, com um design inovador, situated in a dynamic business environment. The machine has a luminous screen that shows a transaction being processed, and around it there is a vibrant atmosphere with people shopping.", n=1, size="256x256", response_format="url" ) # The response will contain the URL of the generated image print(response['data'][0]['url'])
프롬프트
Copy prompts
import openai
openai
.
api_key = "SEU_API_KEY_AQUI"
response = openai
.
Image
.
create(
prompt="A modern and elegant Ton cardboard machine
,
com um design inovador
,
situated in a dynamic business environment
.
The machine has a luminous screen that shows a transaction being processed
,
and around it there is a vibrant atmosphere with people shopping
.
"
,
n=1
,
size="256x256"
,
response_format="url"
)
# The response will contain the URL of the generated image
print(response['data'][0]['url'])
정보
0개의 댓글
1
0
0