如有调用问题,通过 Model Link 首页二维码添加工作人员处理
curl --location 'https://api.modellink.online/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2",
"prompt": "一只可爱的海獭宝宝,柔和自然光,高清摄影风格",
"n": 1,
"size": "1024x1024"
}'{
"created": 1776768940,
"data": [
{
"revised_prompt": "",
"url": "https://example.com/generated/example.webp"
}
]
}