MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / template_make

Method template_make

tianyi.py:278–302  ·  view source on GitHub ↗
(self, mobile: str, template_id: str, template_conf_id: str,
                      template_name: str, user_words: str = "", arrange_id: str = "", **kwargs)

Source from the content-addressed store, hash-verified

276 return self.request_encrypted("/vapi/vue_stat/sendMessage", params)
277
278 def template_make(self, mobile: str, template_id: str, template_conf_id: str,
279 template_name: str, user_words: str = "", arrange_id: str = "", **kwargs) -> dict:
280 params = {
281 "channelId": CHANNEL_ID,
282 "portal": "45",
283 "mobile": mobile,
284 "openId": "",
285 "makeId": "",
286 "background": "",
287 "userPhotos": "",
288 "userWords": user_words,
289 "templateName": template_name,
290 "videoName": template_name,
291 "templateId": template_id,
292 "templateConfId": template_conf_id,
293 "aid": ACTIVITY_ID,
294 "aiPack": 0,
295 "arrangeId": arrange_id,
296 "autoOrderUgc": 0,
297 "aiGatewayImagMakeId": "",
298 "fromType": "",
299 "sessionId": ""
300 }
301 params.update(kwargs)
302 return self.request_encrypted("/hapi/diy_video/au/template_make_add_v2", params)
303
304 def get_score(self, mobile: str, score_type: int = 1) -> dict:
305 params = {

Callers 1

process_accountFunction · 0.95

Calls 1

request_encryptedMethod · 0.95

Tested by

no test coverage detected