AIGC2D官方地址为:https://www.aigc2d.comAPI接口地址为:https://api.aigc2d.com
Authorization: Bearer ********************
{ "prompt": "A cute baby sea otter", "n": 2, "size": "1024x1024", "model":"dall-e-2" }
curl --location --request POST 'https://api.aigc2d.com/v1/images/generations' \ --header 'Content-Type: application/json' \ --data-raw '{ "prompt": "A cute baby sea otter", "n": 2, "size": "1024x1024", "model":"dall-e-2" }'
{ "created": 1589478378, "data": [ { "url": "https://..." }, { "url": "https://..." } ] }