A drawing of a building with a bunch of shelves and a clock
![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/c3bbdfab18e2c546fb21388259ba44c129ffded4_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'])
信息
共 0 条评论
0
1
0