A close up of a room with a lot of lights on it
![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/16687875485655045/ac23f2e93bd6e112c594a5dee5df355b074901b8_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'])
Generation Data
Records
Prompts
Copy
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'])
INFO
0 comment
0
1
0