dall-e-3 Image Generation Model
For other languages, you can use the curl example below and ask ChatGPT to convert it.
curl Example
shell
curl https://api.openai-hk.com/v1/images/generations \
-H 'Authorization: Bearer hk-replace-with-your-key' \
-H "Content-Type: application/json" \
-d '{
"model": "dall-e-3",
"prompt": "a white siamese cat",
"n": 1,
"size": "1024x1024"
}'curl https://api.openai-hk.com/v1/images/generations \
-H 'Authorization: Bearer hk-replace-with-your-key' \
-H "Content-Type: application/json" \
-d '{
"model": "dall-e-3",
"prompt": "a white siamese cat",
"n": 1,
"size": "1024x1024"
}'Online Test
Note
- Visit https://dall.ddaiai.com (If blocked, try changing the subdomain prefix to
suibian)
2. If it is blocked, you can change the address yourself: replacesuibianinhttps://suibian.ddaiai.comwith something else, e.g.https://2024.ddaiai.com— all variations work
Settings
Then configure the following fields in the screenshot below
OpenAi API Base URL: https://api.openai-hk.com
OpenAi API KEY: hk-your-apiKeyThen configure the following fields in the screenshot below
OpenAi API Base URL: https://api.openai-hk.com
OpenAi API KEY: hk-your-apiKey
Preview
Input box for chat
OpenAi-HK