{
"model": "general_v2.1_L",
"prompt": "1+1",
"size": "512x512",
"use_sr": true,
"req_schedule_conf": "general_v20_9B_rephraser",
"scale": 3.5,
"add_logo": true,
"position": 1,
"language": 0,
"opacity": 0.3,
"logo_text_content": "这是水印"
}
curl --location --request POST 'https://api.mindcraft.com.cn/v1/images/generations' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "general_v2.1_L",
"prompt": "1+1",
"size": "512x512",
"use_sr": true,
"req_schedule_conf": "general_v20_9B_rephraser",
"scale": 3.5,
"add_logo": true,
"position": 1,
"language": 0,
"opacity": 0.3,
"logo_text_content": "这是水印"
}'
{
"id": "615f4b3944e240a4b6e7cd013615154e",
"model": "general_v2.1_L",
"usage": {
"prompt_cost": 200
},
"data": [
{
"file_url": "https://p3-aiop-sign.byteimg.com/tos-cn-i-vuqhorh59i/20250225113017A18659DDDD2F54776860-0~tplv-vuqhorh59i-image.image?rk3s=7f9e702d&x-expires=1740540630&x-signature=6wTBiENMzxN48BsAoCh3qYP6Zsg%3D",
"image_width": 512,
"image_height": 512
}
]
}