如有调用问题,通过 Model Link 首页二维码添加工作人员处理
curl --location --request POST 'https://api.modellink.online/v1/images/generations' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-image-1",
"prompt": "画个牛马",
"n": 1,
"size": "1024x1024"
}'{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}