## Basic tool info Model name: andreac75/Classic-Manga Model description: Classic Manga Model cover: https://cdn.wiro.ai/uploads/models/andreac75-Classic-Manga-cover.jpeg Model categories: - model - text-to-image - checkpoint-file - lora-flux - bf16 - persistent Model tags: - classic - manga - style - cartoon Run Task Endpoint (POST): https://api.wiro.ai/v1/Run/andreac75/classic-manga Get Task Detail Endpoint (POST): https://api.wiro.ai/v1/Task/Detail ## Model Inputs: - name: prompt label: prompt help: prompt-help type: textarea default: A Beautiful woman sitting in a sofa in an elegant dinner room - name: samples label: numberofoutputs help: numberofoutputs-help type: number default: 1 - name: steps label: inferencesteps help: inferencesteps-help type: number default: 20 - name: scale label: guidancescale help: guidancescale-help type: float default: 3.8 - name: seed label: seed help: seed-help type: text default: 123456 - name: width label: width help: width-help type: number default: 1024 - name: height label: height help: height-help type: number default: 1024 ## Model Parameter Inspires: - seed: 23548897 - scale: 1 - steps: 25 - prompt: A Beautiful woman sitting in a sofa in an elegant dinner room - seed: 37682355 - scale: 1 - steps: 25 - prompt: A retro-futuristic pilot with vintage goggles and a neon flight suit - seed: 34579591 - scale: 1 - steps: 25 - prompt: A mysterious medieval witch,cloaked in tattered robes and adorned with strange amulets, stands in the middle of a dark forest, casting a spell over a bubbling cauldron. Her eyes glow with a supernatural light, and her hands weave intricate patterns in the air as she chants. The forest around her is alive with strange, ethereal lights and the sounds of nocturnal creatures. - seed: 38984424 - scale: 1 - steps: 25 - prompt: A lively news anchor in a suit and tie,sitting at a desk in a television studio, reading from a stack of papers - seed: 10525503 - scale: 3.5 - steps: 4 - prompt: ,female security droid,hologrammancer,stone club, Neon color guide,,dramatic angle, masterpiece, 8k, hyper detailed - seed: 15285339 - scale: 1 - steps: 25 - prompt: A vampire lord standing on a gothic castle balcony under a blood-red moon - seed: 27951772 - scale: 1 - steps: 25 - prompt: T-rex in a jungle - seed: 41076316 - scale: 1 - steps: 25 - prompt: A wandering minstrel,dressed in simple but colorful attire, plays a lute while sitting on a stone wall overlooking a peaceful village. His expression is joyful and content as he sings a ballad, the notes drifting through the air. A small group of villagers, including children, gather around to listen, their faces filled with delight. The background features rolling hills and a distant castle. The style is warm and nostalgic, focusing on the simple pleasures of medieval life and the minstrel’s role as a storyteller - seed: 52319685 - scale: 1 - steps: 25 - prompt: man with glasses and white hairs is sitting in a park. he's slim. He's giving bread pieces to pigeons - seed: 25714919 - scale: 1 - steps: 25 - prompt: A human astronaut,stranded on a distant planet, stands The astronaut’s expression is a mix of fear and awe as they feel the power and connection growing. The background shows the barren, alien landscape with distant, towering structures - seed: 10525503 - scale: 3.5 - steps: 4 - prompt: ,male witch hunter,nano-infused mutants,mutants with nanobots integrating into their bodies, granting extraordinary abilities elderly taut, polynesian, gray eyes, unique nose narrow jaw broad forehead imperial mustache , dark chestnut undercut hair, envy, thermal adaptation, character stands in a cool, confident pose, unaffected by extreme temperatures due to thermal-regulating enhancements, wearing nano-mesh pants, robo-lace henley shirt, quantum-energy sneaker boots , augmented stride, character walks confidently with one foot forward, head slightly tilted, and eyes focused on a virtual display only they can see, ai data processing center, slate tiles roof,bioluminescent photoluminescent pavers, torches (traditional or modern),lanterns with real flames, downlighting, gritty urban cyberpunk, Cool color guide,,dramatic angle, masterpiece, 8k, hyper detailed - seed: 16762217 - scale: 3 - steps: 26 - prompt: manga style {a couple, husband and wife, playing in the shopping mall, (Text bubbles, wife's Text bubbles saying : "Take a break, love)", (husband's Text bubbles saying : "Hey..."), (wife's Text bubbles saying : "I'm done"), (husband's Text bubbles saying : "but I... I'm not done yet"), (wife's Text bubbles saying : "I said get down, NOW!"), The husband rides a mechanical horse, the wife sits in a massage chair}, deep blush, heavy breathing, blushing, panting, vibrant, high-energy, detailed, iconic, Japanese comic style, beautiful, textural, artistic, intricate details, highly detailed, ultra-detailed, absurdres, very aesthetic, multiple view - seed: 16762217 - scale: 3 - steps: 26 - prompt: manga style {a couple, husband and wife, playing in the shopping mall, (Text bubbles, wife's Text bubbles saying : "Take a break, love)", (husband's Text bubbles saying : "Hey..."), (wife's Text bubbles saying : "I'm done"), (husband's Text bubbles saying : "but I... I'm not done yet"), (wife's Text bubbles saying : "I said get down, NOW!"), The husband rides a mechanical horse, the wife sits in a massage chair}, deep blush, heavy breathing, blushing, panting, vibrant, high-energy, detailed, iconic, Japanese comic style, beautiful, textural, artistic, intricate details, highly detailed, ultra-detailed, absurdres, very aesthetic, multiple view - seed: 15587151 - scale: 3 - steps: 30 - prompt: Illustrate a lively and energetic scene of a dog joyfully running through a lush forest. The dog,a golden retriever, has a shiny, flowing coat, and its ears are flapping in the wind as it bounds over a carpet of vibrant green moss and colorful wildflowers. Sunlight streams through the dense canopy of tall, ancient trees, casting dappled shadows on the forest floor. In the background, hints of soft, blurred foliage create depth, while a few playful butterflies flit around the dog. The atmosphere feels fresh and invigorating, capturing the essence of a carefree day in nature. The mood is joyful and vibrant, highlighting the bond between a happy pet and the beauty of the great outdoors. Render this scene in a realistic yet slightly impressionistic style to emphasize the movement and vitality of the moment - seed: 37442958 - scale: 3 - steps: 30 - prompt: CYBERPUNK GIRL - seed: 26387060 - scale: 3 - steps: 30 - prompt: a young woman with a futuristic and edgy look. She has a large,spiky green hair that is styled in a messy, voluminous manner and is wearing large, round sunglasses with gold frames. She is also wearing a black leather jacket with a high collar and a gold necklace with a pendant. The background is a dark green color with splashes of green and yellow, giving the impression of a futuristic cityscape. The woman's face is partially obscured by the sunglasses, and she has a serious expression on her face. The overall mood of the image is dark and mysterious ## Integration Header Prepare ```bash # Sign up Wiro dashboard and create project export YOUR_API_KEY="{{useSelectedProjectAPIKey}}"; export YOUR_API_SECRET="XXXXXXXXX"; # unix time or any random integer value export NONCE=$(date +%s); # hmac-SHA256 (YOUR_API_SECRET+Nonce) with YOUR_API_KEY export SIGNATURE="$(echo -n "${YOUR_API_SECRET}${NONCE}" | openssl dgst -sha256 -hmac "${YOUR_API_KEY}")"; ``` ## Run Command - Make HTTP Post Request ```bash curl -X POST "https://api.wiro.ai/v1/Run/andreac75/classic-manga" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "prompt": "A Beautiful woman sitting in a sofa in an elegant dinner room ", "samples": 1, "steps": 20, "scale": "3.8", "seed": "123456", "width": 1024, "height": 1024, "callbackUrl": "You can provide a callback URL; Wiro will send a POST request to it when the task is completed." }'; ``` ## Run Command - Response ```json { "errors": [], "taskid": "2221", "socketaccesstoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt", "result": true } ``` ## Get Task Detail - Make HTTP Post Request with Task ID ```bash curl -X POST "https://api.wiro.ai/v1/Task/Detail" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "taskid": "2221" }'; ``` ## Get Task Detail - Make HTTP Post Request with Socket Access Token ```bash curl -X POST "https://api.wiro.ai/v1/Task/Detail" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "tasktoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt" }'; ``` ## Get Task Detail - Response ```json { "total": "1", "errors": [], "tasklist": [ { "id": "2221", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "socketaccesstoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt", "parameters": {}, "debugoutput": "", "debugerror": "", "starttime": "1734513809", "endtime": "1734513813", "elapsedseconds": "6.0000", "status": "task_postprocess_end", "createtime": "1734513807", "canceltime": "0", "assigntime": "1734513807", "accepttime": "1734513807", "preprocessstarttime": "1734513807", "preprocessendtime": "1734513807", "postprocessstarttime": "1734513813", "postprocessendtime": "1734513814", "outputs": [ { "id": "6bc392c93856dfce3a7d1b4261e15af3", "name": "0.png", "contenttype": "image/png", "parentid": "6c1833f39da71e6175bf292b18779baf", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "size": "202472", "addedtime": "1734513812", "modifiedtime": "1734513812", "accesskey": "dFKlMApaSgMeHKsJyaDeKrefcHahUK", "url": "https://cdn1.wiro.ai/6a6af820-c5050aee-40bd7b83-a2e186c6-7f61f7da-3894e49c-fc0eeb66-9b500fe2/0.png" } ], "size": "202472" } ], "result": true } ``` ## Kill Task - Make HTTP Post Request with Task ID ```bash curl -X POST "https://api.wiro.ai/v1/Task/Kill" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "taskid": "534574" }'; ``` ## Kill Task - Make HTTP Post Request with Socket Access Token ```bash curl -X POST "https://api.wiro.ai/v1/Task/Kill" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "socketaccesstoken": "ZpYote30on42O4jjHXNiKmrWAZqbRE" }'; ``` ## Kill Task - Response ```json { "errors": [], "tasklist": [ { "id": "534574", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "name": "", "socketaccesstoken": "ZpYote30on42O4jjHXNiKmrWAZqbRE", "parameters": { "inputImage": "https://api.wiro.ai/v1/File/mCmUXgZLG1FNjjjwmbtPFr2LVJA112/inputImage-6060136.png" }, "debugoutput": "", "debugerror": "", "starttime": "1734513809", "endtime": "1734513813", "elapsedseconds": "6.0000", "status": "task_cancel", "cps": "0.000585000000", "totalcost": "0.003510000000", "guestid": null, "projectid": "699", "modelid": "598", "description": "", "basemodelid": "0", "runtype": "model", "modelfolderid": "", "modelfileid": "", "callbackurl": "", "marketplaceid": null, "createtime": "1734513807", "canceltime": "0", "assigntime": "1734513807", "accepttime": "1734513807", "preprocessstarttime": "1734513807", "preprocessendtime": "1734513807", "postprocessstarttime": "1734513813", "postprocessendtime": "1734513814", "pexit": "0", "categories": "["tool","image-to-image","quick-showcase","compare-landscape"]", "outputs": [ { "id": "6bc392c93856dfce3a7d1b4261e15af3", "name": "0.png", "contenttype": "image/png", "parentid": "6c1833f39da71e6175bf292b18779baf", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "size": "202472", "addedtime": "1734513812", "modifiedtime": "1734513812", "accesskey": "dFKlMApaSgMeHKsJyaDeKrefcHahUK", "foldercount": "0", "filecount": "0", "ispublic": 0, "expiretime": null, "url": "https://cdn1.wiro.ai/6a6af820-c5050aee-40bd7b83-a2e186c6-7f61f7da-3894e49c-fc0eeb66-9b500fe2/0.png" } ], "size": "202472" } ], "result": true } ``` ## Cancel Task - Make HTTP Post Request (For tasks on queue) ```bash curl -X POST "https://api.wiro.ai/v1/Task/Cancel" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "taskid": "634574" }'; ``` ## Cancel Task - Response ```json { "errors": [], "tasklist": [ { "id": "634574", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "name": "", "socketaccesstoken": "ZpYote30on42O4jjHXNiKmrWAZqbRE", "parameters": { "inputImage": "https://api.wiro.ai/v1/File/mCmUXgZLG1FNjjjwmbtPFr2LVJA112/inputImage-6060136.png" }, "debugoutput": "", "debugerror": "", "starttime": "1734513809", "endtime": "1734513813", "elapsedseconds": "6.0000", "status": "task_cancel", "cps": "0.000585000000", "totalcost": "0.003510000000", "guestid": null, "projectid": "699", "modelid": "598", "description": "", "basemodelid": "0", "runtype": "model", "modelfolderid": "", "modelfileid": "", "callbackurl": "", "marketplaceid": null, "createtime": "1734513807", "canceltime": "0", "assigntime": "1734513807", "accepttime": "1734513807", "preprocessstarttime": "1734513807", "preprocessendtime": "1734513807", "postprocessstarttime": "1734513813", "postprocessendtime": "1734513814", "pexit": "0", "categories": "["tool","image-to-image","quick-showcase","compare-landscape"]", "outputs": [ { "id": "6bc392c93856dfce3a7d1b4261e15af3", "name": "0.png", "contenttype": "image/png", "parentid": "6c1833f39da71e6175bf292b18779baf", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "size": "202472", "addedtime": "1734513812", "modifiedtime": "1734513812", "accesskey": "dFKlMApaSgMeHKsJyaDeKrefcHahUK", "foldercount": "0", "filecount": "0", "ispublic": 0, "expiretime": null, "url": "https://cdn1.wiro.ai/6a6af820-c5050aee-40bd7b83-a2e186c6-7f61f7da-3894e49c-fc0eeb66-9b500fe2/0.png" } ], "size": "202472" } ], "result": true } ``` ## Task Status Information This section defines the possible task status values returned by the API when polling for task completion. ### Completed Task Statuses (Polling can stop) These indicate that the task has reached a terminal state — either success or failure. Once any of these is received, polling should stop. - task_postprocess_end : Task completed successfully and post-processing is done. - task_cancel : Task was cancelled by the user or system. ### Running Task Statuses (Continue polling) These statuses indicate that the task is still in progress. Polling should continue if one of these is returned. - task_queue : Task is waiting in the queue. - task_accept : Task has been accepted for processing. - task_assign : Task is being assigned to a worker. - task_preprocess_start : Preprocessing is starting. - task_preprocess_end : Preprocessing is complete. - task_start : Task execution has started. - task_output : Output is being generated.