## Basic tool info Tool name: Adel_AI/Comics-Factory-v1 Tool description: Comics Factory v1 Tool cover: https://cdn.wiro.ai/uploads/models/Adel_AI-Comics-Factory-v1-cover.jpeg Tool categories: - model - text-to-image - checkpoint-file - lora-flux - bf16 - persistent Tool tags: - style Run Task Endpoint (POST): https://api.wiro.ai/v1/Run/Adel_AI/Comics-Factory-v1 Get Task Detail Endpoint (POST): https://api.wiro.ai/v1/Task/Detail ## Tool Inputs: - name: prompt label: prompt help: prompt-help type: textarea default: ComicsFact1 style. A moody, atmospheric photo-realistic shoot from the side about a silhouette of a man walking towards a vintage car in a dimly lit industrial setting during a rainy night, with a strong focus on the man and his vehicle. on the left side of the image, a man in a long coat and hat is walking towards the car, carrying a briefcase. he appears to be in his mid-twenties, with his full body visible, and his posture suggests a sense of urgency. he is wearing a hat and carrying a suitcase, and the car is parked in front of him, casting a shadow on the wet floor. in the background, a dilapidated building with wooden beams and beams is partially obscured by fog, creating a mysterious atmosphere. the scene is set against a dark, foggy backdrop with a hint of green light emanating from the windows, adding to the moody atmosphere.solo, hat, walking, full body, indoors, suit, from side, bag, car, silhouette, window, suitcase, rain, silhouette of person, rainy - 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.5 - name: seed label: seed help: seed-help type: text default: 93080474 - name: width label: width help: width-help type: number default: 1024 - name: height label: height help: height-help type: number default: 1024 ## Tool Parameter Inspires: - steps: 20 - prompt: ComicsFact1 style. A moody, atmospheric photo-realistic shoot from the side about a silhouette of a man walking towards a vintage car in a dimly lit industrial setting during a rainy night, with a strong focus on the man and his vehicle. on the left side of the image, a man in a long coat and hat is walking towards the car, carrying a briefcase. he appears to be in his mid-twenties, with his full body visible, and his posture suggests a sense of urgency. he is wearing a hat and carrying a suitcase, and the car is parked in front of him, casting a shadow on the wet floor. in the background, a dilapidated building with wooden beams and beams is partially obscured by fog, creating a mysterious atmosphere. the scene is set against a dark, foggy backdrop with a hint of green light emanating from the windows, adding to the moody atmosphere.solo, hat, walking, full body, indoors, suit, from side, bag, car, silhouette, window, suitcase, rain, silhouette of person, rainy - seed: 93080474 - steps: 25 - scale: 1 - prompt: A digital illustration with warm colors and the style of traditional Chinese New Year folk paintings (Nianhua).[Subject Matter]: The auspicious beast "Dangkang" (resembling a blue-skinned wild boar with massive tusks) is joyfully leaping amidst golden waves of wheat.[Environment & Lighting]: A sun-drenched autumn field,with ripe grains bowing their heads and a village with curling smoke in the background. The light is the warm, saturated golden sunlight of the afternoon, bathing the entire scene in gold. Bright highlights sparkle on the tips of the wheat and the beast's tusks. The image is filled with joy, abundance, and simple, rustic hope. - seed: 3236864397 - steps: 20 - prompt: ComicsFact1 style. A pencil sketch from a profile camera angle about a stylized pencil drawing of a superhero and wonder woman in a sensual pose, showcasing their respective bodies in a highly detailed and realistic style. on the left side of the image, a woman with long, wavy dark hair is standing with her back to the viewer, looking over her shoulder with a sultry expression, wearing a tight, metallic wonder woman costume with a golden emblem on her chest and a matching leotard, which accentuates her toned physique and curvy figure. her long, dark hair cascades down her back, and her eyes are focused intently on something in the distance. she appears to be in her mid-twenties, with pale skin and a slim, toned body. her expression is serious and intense, with her eyes narrowed into the distance, as if she is deep in thought. in the background, a man with a muscular physique is standing behind her, looking at her with a serious expression, his face partially obscured by his superman costume. he has short, light brown hair and a strong, defined jawline. the man is wearing a dark, metallic suit with a red and gold design, which contrasts nicely with the woman's tight, form-fitting costume. the background is a neutral, textured grey, which gives the image a sense of depth and dimensionality. the overall style is reminiscent of comic book art, with careful attention to detail and shading, making the image visually striking.1girl, long hair, looking at viewer, black hair, 1boy, bare shoulders, standing, brown hair, brown eyes, ass, hetero, leotard, looking back, from behind, black and white, tattoo, lips, one-piece suit, armlet - seed: 34438282 - steps: 20 - prompt: ComicsFact1 style. A minimal movie poster for the film Sorcercer, directed by William Friedkin, featuring a vehicle silhouetted against a red background with a large, smoky, orange cloud resembling a tornado or dust cloud rising from the ground. the vehicle is the main focus of the poster, positioned in the center, with the text "sorcercer" written in bold, black lettering at the bottom right corner. the poster has a minimalist design, with a minimalist aesthetic, featuring minimalistic elements such as bold lines and a muted color palette, creating a stark contrast between the red background and the black vehicle. the text is written in a modern, sans-serif font and is centered in the middle of the image, making it the focal point of the otherwise monochromatic image. the overall tone is dark and ominous, evoking a sense of dread and foreboding, reminiscent of the classic horror movie "sorcerer."solo, 1girl, 2girls, boys, front, closed mouth, product placement, red background, monochrome, movie poster, trailer, smoke, monster, alternative movie poster - seed: 33503395 - steps: 20 - prompt: ComicsFact1 style. A digital illustration shoot from the front about a stylized illustration of a warrior woman in traditional japanese attire with a kimono and a cat, set against a backdrop of a large yellow sun and red lines. the image also shows two black cats, one sitting next to the warrior woman. on the left side of the image, a 1woman with pale skin and black hair is standing confidently, wearing a red and gold oriental patterned sash, holding a katana in her right hand, with her left hand resting on her hip. she appears to be in her mid-twenties, with a slim body and a determined expression, looking directly at the viewer. her eyes are glowing red, and her face is marked with a neutral expression. her hair is styled in a long, flowing manner, and she is wearing a black katana with a red sash draped over her left shoulder. the background is a gradient of yellow and red, with horizontal lines running horizontally across the image.1girl, long hair, breasts, looking at viewer, black hair, red eyes, holding, standing, closed mouth, full body, black eyes, weapon, sword, thighhighs, sword holder, holding weapon, standing upright, sword in hand, sideboob, sash - seed: 48737870 - steps: 20 - prompt: ComicsFact1 style. A digital illustration shoot from a portrait camera angle about a close-up portrait of a woman with striking features and green eyes, wearing ornate earrings and a green and gold outfit with skulls. the image also shows a minimalistic background with a light beige color and a watermark in the bottom left corner. on the middle of the image, a young woman appears to be in her mid-twenties, with long, straight red hair and a serious expression, looking directly at the viewer. she has green eyes and is wearing a black top with gold accents and a gold jacket with skulls on it. her hair is styled in a messy manner, and she has a slight stubble on her face. she is also wearing earrings with skulls, and there is a drizzle of ink on her lips. her facial expression is serious, with a slight frown, and her eyelashes are visible.1girl, solo, long hair, looking at viewer, simple background, closed mouth, jewelry, upper body, earrings, red hair, sweat, black eyes, jacket, lips, piercing, ear piercing, freckles, green eyes - seed: 36086355 - steps: 20 - prompt: ComicsFact1 style. A digital illustration shoot from the side about a lone figure sitting on a telephone pole against an orange sky with clouds, surrounded by crows. the image also shows a menacing figure with long hair, wearing a brown jacket, black pants, and brown boots, sitting atop a wooden telephone pole. on the middle of the image, a man, who appears to be in his mid-twenties, with a long beard, is wearing a black fedora hat, black gloves, and a white face mask. he has a menacing expression and is sitting with his legs crossed, looking off into the distance. he is surrounded by a flock of crows flying around him, adding to the eerie atmosphere of the scene. the man is sitting on the telephone pole, with the orange sky and clouds providing a stark contrast to the dark silhouette of his figure, creating a sense of foreboding. the overall effect is one of danger and suspense, making it a captivating and eerie image.1boy, gloves, hat, jacket, sitting, full body, male focus, outdoors, boots, coat, mask, jacket overcoat, tree, telephone, crow, telephone pole - seed: 79429332 - steps: 20 - prompt: ComicsFact1 style. A digital illustration shoot from the side about a muscular man with a backpack and a large gun stands on a cliff overlooking a dog during sunset. the image also shows a dramatic sunset with orange and red hues in the background. on the middle of the image, a muscular, bald man with short hair, wearing a yellow shirt with a chevron pattern, blue cargo pants, and carrying a large backpack, holds a large, futuristic assault rifle in his right hand. he appears to be in his mid-twenties, with a determined expression on his face. next to him, a small, white dog with black spots sits attentively, looking up at him attentively. the dog has a collar around its neck and is wearing a harness. the man is standing on a rocky cliff, with the sun setting behind him, casting a warm glow over the scene. the artist's signature is in the bottom right corner, adding a personal touch to the image.1girl, breasts, shirt, short sleeves, dog, holding, closed mouth, standing, male focus, outdoors, bag, weapon, holding weapon, backpack, cloudy sky, dog collar, knee brace - seed: 12084746 - steps: 20 - prompt: ComicsFact1 style. A minimalist movie poster for the film "The Last Samurai", featuring a silhouette of a samurai standing in a grassy field at sunset, holding two katana swords, with the title of the film written in bold white text at the top. the background is a gradient of orange and yellow hues, creating a striking contrast with the silhouette of the samurai. the samurai is positioned in the center of the image, facing away from the viewer, and appears to be in a defensive stance, ready for battle. the poster has a minimalist design, with a focus on the samurai's silhouette and the grassy terrain, making it a striking and captivating image.the last samurai, 1boy, holding, standing, full body, sword, holding sword, orange background, grass, katana, silhouette, kendo, silhouette - seed: 28523603 - steps: 20 - prompt: ComicsFact1 style. A graphic novel cover featuring a silhouette of a soldier standing on a wooden bridge over a stream in a lush jungle setting, with the title 'niourk' written in bold, white text at the bottom. the soldier is standing confidently atop the bridge, holding a rifle and looking out into the distance, surrounded by tall trees and a serene waterfall below. the background is a gradient of yellow and orange hues, giving the image a warm and mysterious atmosphere. the artwork is predominantly black and white, with a minimalist design that emphasizes the contrast between the soldier and the natural environment. the artist, Olivier Vatine, is credited as the creator of the cover, adding a personal touch to the overall aesthetic. the overall effect is one of serenity and exploration, evoking a sense of mystery and adventure. - seed: 15725762 - steps: 20 - prompt: ComicsFact1 style. A graphic novel cover featuring a man working in a factory, surrounded by industrial machinery and glowing orange light, with the title "Injection" written in bold, black lettering at the top. the art style is predominantly dark and moody, with a focus on the industrial setting and the man in the foreground. the man, who appears to be in his late teens or early twenties, is positioned in the middle of the image, leaning over a workbench, illuminated by a lamp on the right side. he is wearing a black jacket and has a serious expression on his face. the background is filled with twisted, dark vines and machinery, creating an eerie atmosphere. the overall tone is ominous and foreboding, evoking a sense of horror and suspense. the image is titled "injection" and was created by artist "elis shalvey and published by the publisher "seven". the man is surrounded by a variety of machines and equipment, including a large milling machine, which adds to the industrial feel of the scene. the lighting is dim, casting a warm glow on the man's face and body, highlighting his silhouette and the intricate details of his work. overall, the image conveys a feeling of mystery and suspense, perfect for any fan of the horror genre. - seed: 92509332 - steps: 20 - prompt: ComicsFact1 style. A dramatic digital illustration shoot from below about a dramatic scene depicting three silhouetted figures jumping over crumbling buildings in a ruined city, with shadows cast across the narrow streets. the scene is set against a backdrop of a foggy, apocalyptic cityscape with crumbling buildings and a faint, glowing light illuminating the scene. in the center of the image, three figures are suspended in mid-air, with their shadow cast on the ground below them, creating a sense of urgency and danger. the figures appear to be of different ages, genders, and ethnicities, and they are all facing the same direction, with one person in the air, while the other two are in the same position. the buildings in the background are crumbling and crumbling, with broken windows and crumbling walls, adding to the sense of destruction and chaos. the overall mood is dark and foreboding, with the figures appearing to be in a state of panic and desperation, as if they are trying to escape from the unknown.3boys, solo, 3boys, standing, full body, outdoors, sky, day, jpeg artifacts, shadow, 4boys, sword, from below, sword holder, jumping, fort, building, shadow fight, ruined building, broken windows, broken walls, crumbling walls - seed: 11179882 - steps: 20 - prompt: ComicsFact1 style. A digital illustration shoot from the front about a warrior and a tiger standing atop a rocky hill, with the title 'ISOLA' written in bold, cursive letters above them. the image also shows the artist's signature, "Kerschl Fletcher", in the bottom right corner. on the middle of the image, a muscular, dark-skinned male warrior appears to be standing confidently, holding a spear in his right hand, with a determined expression on his face. he is wearing full armor, including shoulder pads and a cape, and has short, straight black hair. behind him, a large, turquoise tiger is sitting attentively, looking directly at the viewer. the background is a simple, beige color, and the overall style is reminiscent of fantasy art, with bold lines and vibrant colors. - seed: 31758321 - prompt: The image is a digital art piece that appears to be a landscape photograph of a tree on the shore of a lake. The tree is in the center of the image, with its branches reaching up towards the sky. The branches are bare and have no leaves, and the tree is surrounded by a foggy, misty atmosphere. The sky is a pale yellow color, and there are a few birds flying in the distance. The water is still and reflects the tree and the surrounding landscape. The overall mood of the painting is peaceful and serene.BREAKminimalist, ethereal ambiance, Modern Ukiyo-e illustration - prompt: The image is a digital art piece that appears to be a landscape photograph of a tree on the shore of a lake. The tree is in the center of the image, with its branches reaching up towards the sky. The branches are bare and have no leaves, and the tree is surrounded by a foggy, misty atmosphere. The sky is a pale yellow color, and there are a few birds flying in the distance. The water is still and reflects the tree and the surrounding landscape. The overall mood of the painting is peaceful and serene.BREAKminimalist, ethereal ambiance, - steps: 26 - prompt: A digital illustration. A watercolor painting of a ginger tabby cat curled on a velvet cushion by a tall arched Victorian window. Rain streaks the glass, reflections blur into the blurry rain-coated rhododendrons in the overgrown garden. A sprawling, overgrown garden in the distance. Massive white hydrangeas explode, their petals dripping with rain. Moody lighting, rainy day, bokeh, soft shadows, muted blues and greens, depth of field, rule of thirds - seed: 10442792 - steps: 20 - prompt: ComicsFact1 style. A digital illustration shoot from the back about a man with headphones and a bird perched on his shoulder, standing in a grassy field against a blue sky with fluffy clouds. the image also shows a rectangular frame surrounding the man and the bird. on the middle of the image, a man appears to be standing with his back to the viewer, wearing a blue shirt and khaki cargo pants. he has short, spiky black hair and is facing away from the camera. he is wearing red headphones and has a watch on his left wrist. on his right shoulder, a small yellow bird is perched. the man's body is muscular and he has a relaxed expression. the sky is a bright blue with fluffy white clouds and a few birds flying in the distance. the grass is tall and yellow, and the overall style is reminiscent of comic book art with bold lines and vibrant colors.1girl, solo, short hair, shirt, black hair, standing, full body, outdoors, sky, pants, day, blue sky, clouds, watch, from behind, bird, watch on wrist, red headphones, blue shirt, bird on shoulder - seed: 86347836 - steps: 20 - prompt: ComicsFact1 style. A sci-fi movie poster for Prometheus 2, featuring two characters standing side by side in front of a large, curved structure with intricate carvings. the main character, a woman with short brown hair and a serious expression, stands on the left side of the image, wearing a long black coat. on the right side, a humanoid robot with a sleek, metallic body and red glowing eyes stands beside her, holding a gun in its right hand. the background is a dark, futuristic landscape with rocky terrain and a foggy atmosphere. the title of the movie, "Prometheus 2," is written in bold white letters at the bottom of the poster, with the tagline "A thrilling journey to the origins of humanity and the terrifying mysteries of the engineers."1girl, long hair, standing, brown hair, 2girls, coat, red eyes, holding, weapon, standing upright, black coat - seed: 17423236 - steps: 20 - prompt: ComicsFact1 style. A dramatic, dark and gritty digital illustration of a man standing confidently in the middle of the image, wearing a long coat and a fedora, holding a gun in one hand and a lighter in the other, with a determined expression on his face. the man, who appears to be in his late 40s or early 50s, is standing with his full body visible from behind, looking out into the distance. he is wearing a brown coat with a double-breasted design, a white shirt underneath, and black trousers. He has a beard and a mustache, and his eyes are focused intently on something off-camera. the background features a raging fire engulfing the building, with orange and yellow flames and smoke rising from the windows, creating a dramatic and ominous atmosphere. the overall style is reminiscent of comic book art, with bold lines and dramatic lighting that highlights the man's rugged physique and the intensity of the fire. the artist's signature is located in the bottom right corner, adding a touch of authenticity to the image.1boy, solo, looking at viewer, hat, coat, holding, standing, full body, gun, black hair, holding gun, coat over shoulder, suit, hat hat, double breasted, black footwear, coat coat, fire - seed: 10158267 - steps: 20 - prompt: ComicsFact1 style. A digital illustration featuring two young samurai characters standing side by side, each holding a katana, in a dramatic, apocalyptic landscape with banners and explosions in the background. the image is titled "Ronin Island" and features a dramatic sunset with orange and yellow hues, and the characters are dressed in traditional japanese clothing, with swords drawn and ready for battle. the characters appear to be standing atop a rocky outcrop, with the title of the comic book in bold, white text above them. the artist's signature, "greg pak," is written in a smaller font below the characters, adding a touch of authenticity to the artwork.ronin island, vol 1, issue 1, cover, art_style: digital illustration, comic book cover, location: Ronin Island, background: apocalyptic scene with flags and explosions, text: "RONIN ISLAND" in Japanese characters at the top, Japanese characters in traditional clothing, text "Giannis Milonogiannis, irma knivila" at the bottom, artist name: Greg Pak, gender: 1man, hair_color: brown hair, eye_direction: NA, image_composition: left;right, facing_ direction: facing viewer, pants: traditional kimono pants, clothing: red shawl, shoes: NA;NA, distance_to_camera: full body;full body, action: standing on a hill, ear: standing, body: slim, muscular, race: light skin;light skin, hair color: dark skin, eye color: black hair, accessory: bows and arrows, facial_expression: serious;serious - seed: 10087478 - steps: 20 - prompt: ComicsFact1 style. A minimalist movie poster for the film Empire of the Sun, featuring a dramatic illustration of a man standing atop a hill with his arms raised in triumph, silhouetted against a backdrop of a large red sun with streaks of orange and yellow, while a large propeller plane flies overhead. the man appears to be in his mid-twenties, with a determined expression on his face, and he is holding a small toy airplane in his right hand. he is standing on a grassy hill with a barbed wire fence in the foreground, and his left hand is raised in a gesture of triumph. the plane is in the center of the image, with its propeller spinning rapidly as it flies towards the viewer. the background is a vast expanse of red and orange hues, creating a dramatic contrast with the man's silhouette. the title of the film is written in bold white letters at the bottom of the poster, with the tagline "empire of the sun" written in a smaller font beneath it. the overall style is reminiscent of classic movie posters, with bold lines and vibrant colors that evoke a sense of excitement and anticipation.1boy, holding, standing, full body, outdoors, sky, jpeg artifacts, holding object, airplane, sunset, silhouette, grass, plane, giant sun, red sun - seed: 41048120 - steps: 20 - prompt: ComicsFact1 style. A graphic novel cover featuring a man walking away from a car with the title "dead body road" in bold, red text. the man, wearing a black suit and carrying a briefcase, is standing in the middle of the image, holding a gun in his right hand and looking off into the distance with a determined expression. he appears to be in his mid-twenties, with short, dark hair and a slim body. the car is parked on the side of the road, with its hood open, and the background is a desert landscape with sparse vegetation and mountains in the distance. the poster has a retro, vintage feel with a muted color palette of yellow and orange hues, giving it a nostalgic feel. the title of the novel is prominently displayed in large, bold red letters across the center of the poster, with the author's name, "justin jordan," written in smaller font at the bottom right corner. the artist's signature, "matteo scalera," is also present in the bottom left corner, adding a personal touch to the overall design. the overall tone of the graphic novel is gritty and suspenseful, evoking a sense of mystery and suspense. - seed: 34603285 - steps: 20 - prompt: ComicsFact1 style. A surreal digital illustration shoot from the side about a tall tower with scaffolding and a silhouette of a person standing on a cliff overlooking a cloudy sky. the image also shows a dramatic contrast between the tower and the sky. on the left side of the image, a lone figure stands on the edge of a cliff, looking up at the tower. the tower appears to be old and dilapidated, with crumbling walls and red tiled roofs. smoke is billowing from its chimney, adding to the eerie atmosphere. the sky is filled with dark, ominous clouds, with a few birds flying in the distance. the overall color palette is muted and earthy, with shades of brown, gray, and white, creating a sense of depth and mystery.solo, 2boys, standing, full body, sky, cloud, bird, white background, architecture, tower, silhouette, smoke - seed: 17780379 - steps: 20 - prompt: ComicsFact1 style. A black and white comic strip from the side, titled "Point of no-return! Scene. 14", featuring a solo rider on a motorcycle. the image depicts a man, presumably in his mid-twenties, wearing a full-body suit and a helmet, leaning forward on the handlebars of the motorcycle, with a determined expression. he is positioned in the center of the image, with the motorcycle in front of him. the motorcycle has a sleek, aerodynamic design with a large headlight and a side mirror, and the rider is wearing protective gear, including a jacket and gloves. the background is a stark contrast of light and dark tones, creating a dramatic effect. the text above the image reads "POINT OF NO-RETURN!" and below the rider, there is a caption that reads "scene.14". the image is in a comic book style, with bold lines and shading that give it a classic, timeless look.1girl, solo, gloves, helmet, riding, full body, pants, black gloves, from behind, motorcycle, motorcycle helmet, face mask, sidecar - seed: 76434563 - steps: 20 - prompt: ComicsFact1 style. A dramatic digital illustration shoot from a low angle, depicting a chaotic scene of silhouettes of people engaged in a battle against a fiery red and green aurora borealis in the background. the scene is set against a backdrop of ancient ruins, with a large, ornate building looming in the distance. in the center of the image, a lone figure stands amidst the silhouettes, silhouetted against the vibrant colors of the aurora, with the word 'RAIN' written in bold, white lettering above them. the figure appears to be a young woman with long, flowing hair, standing alone in the middle of the scene. she is surrounded by a multitude of people, some of whom are throwing spears and arrows at each other, while others are in various positions, creating a sense of chaos and destruction. the background features a distant mountain range and a vast expanse of green and turquoise hues, with tall grasses swaying in the wind. the overall effect is one of intense intensity and chaos, with dramatic lighting and shadows that bring the scene to life.1girl, solo, looking at viewer, standing, full body, weapon, outdoors, sky, jpeg artifacts, sword, grass, silhouette, sword fight, spear, throwing, throwing objects - seed: 66829252 ## 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/Adel_AI/Comics-Factory-v1" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "prompt": "ComicsFact1 style. A moody, atmospheric photo-realistic shoot from the side about a silhouette of a man walking towards a vintage car in a dimly lit industrial setting during a rainy night, with a strong focus on the man and his vehicle. on the left side of the image, a man in a long coat and hat is walking towards the car, carrying a briefcase. he appears to be in his mid-twenties, with his full body visible, and his posture suggests a sense of urgency. he is wearing a hat and carrying a suitcase, and the car is parked in front of him, casting a shadow on the wet floor. in the background, a dilapidated building with wooden beams and beams is partially obscured by fog, creating a mysterious atmosphere. the scene is set against a dark, foggy backdrop with a hint of green light emanating from the windows, adding to the moody atmosphere.solo, hat, walking, full body, indoors, suit, from side, bag, car, silhouette, window, suitcase, rain, silhouette of person, rainy", "samples": 1, "steps": 20, "scale": "3.5", "seed": "93080474", "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.