Authorization: Bearer ********************{
"image": "string",
"mask": "string",
"model": "string",
"n": "string",
"prompt": "string",
"response_format": "string",
"user": "string",
"property1": "string",
"property2": "string"
}curl --location --request POST 'https://lingyunapi.com/v1/images/edits' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"image": "string",
"mask": "string",
"model": "string",
"n": "string",
"prompt": "string",
"response_format": "string",
"user": "string",
"property1": "string",
"property2": "string"
}'{
"data": [
{
"url": "https://filesystem.site/cdn/20250624/fP26vWW5SJkQ2veRrWmak4xDJ0l4BY.png",
"revised_prompt": "这里的字母抹去"
}
],
"created": 1750760436,
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 5627,
"prompt_tokens_details": {
"cached_tokens_details": {}
},
"completion_tokens_details": {},
"input_tokens": 1452,
"output_tokens": 4175,
"input_tokens_details": {
"text_tokens": 7,
"image_tokens": 1445,
"cached_tokens_details": {}
}
}
}
扫码联系我们
如有任务问题或合作意向请扫码联系我们

扫码加为好友