body={"name": "test 1","template": "give me info for \#{{title}}# and \#{{max_count}}#","inputs": [{"key": "title","type": "STRING","default": null,"required": true},{"key": "max_count","type": "NUMBER","default": 9999,"required": false}]}awaitprompt_instance.save(body)
body={"query": "test",//Send either query or prompt_id with state// "prompt_id": "YxeFhvcnt",// "state": {// "title": "Testing",// "max_count": 30// },"authorization": "",//This will be dynamic for users"key": "",//This will be dynamic for users// "response_type": "stream", //Send if required as stream or don't set this key. Use only when generate_type is Text"generate_type": "Image",//Send either Text or Image "image_size": "256x256",//Use only when generate_type is Text, Image size available '256x256', '512x512', '1024x1024', '1024x1792', '1792x1024'"number_of_images": 2//Use only when generate_type is Text}awaitprompt_instance.execute(body)