Feat(送礼):支持AI的文生图
This commit is contained in:
+24
@@ -124,3 +124,27 @@ export function computedSojoumGroupBuyGiftOrderPrice(params) {
|
||||
login: true
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 文生图发起生成
|
||||
* @param {*} data
|
||||
* @returns
|
||||
*/
|
||||
|
||||
export function aiGiftImageGenerate(data) {
|
||||
return request.post("/aiGiftImage/generate", data, {
|
||||
login: true
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 文生图状态查询
|
||||
* @param {*} params
|
||||
* @returns
|
||||
*/
|
||||
|
||||
export function aiGiftImageStatus(params) {
|
||||
return request.get("/aiGiftImage/" + params.productId, {
|
||||
login: true
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user