简体中文
  • English
  • 简体中文
  1. OpenAI
简体中文
  • English
  • 简体中文
  • OpenAI官方库使用教程
  • 前言(必读)
  • 获取 Base URL 和 API Key
  • OpenAI
    • Chat模型
      POST
    • Chat (o1-o4系列模型)
      POST
    • dall-e-3
      POST
    • gpt-image-1
      POST
    • Image edit图片编辑
      POST
    • Analyze image分子图片
      POST
    • Analyze PDF分析PDF
      POST
    • o3-pro-responses
      POST
  • Gemini
    • gemini
      POST
  1. OpenAI

dall-e-3

Developing
POST
{{base_url}}/v1/images/generations
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{base_url}}/v1/images/generations' \
--header 'Authorization: sk-shdahd' \
--header 'Content-Type: application/json' \
--data-raw '{
                "model": "dall-e-3",
                "prompt": "根据影视作品的花木兰,创造出新的形象##只要花木兰的上半身图像##头像占据画面四分之三的比例###后面的背景虚化处理###画风卡通迪斯尼风格",
                "n": 1,
                "size": "1024x1024"
}'
Response Response Example
{}

Request

Header Params

Body Params text/plain
Examples

Responses

🟢200成功
application/json
Body

Modified at 2025-06-04 09:17:34
Previous
Chat (o1-o4系列模型)
Next
gpt-image-1
Built with