本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
curl --location 'https://www.yuntts.com/api/v1/gemini-image/edit' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "string",
"reference_images": [
"string"
],
"model": "gemini-3.1-flash-image-preview",
"image_size": "1K",
"aspect_ratio": "1:1"
}'{
"code": 0,
"message": "任务提交成功",
"data": {
"task_id": "gm31_edit_679f1b2c3d4e5_1719293400",
"status": "submitted",
"price": 0.58
}
}