Guest



Sign inSignup
  • Home
  • Dashboard
  • Tools
  • Store
  • Pricing

Welcome

HomeDashboardToolsStore
Use cases
Human Resources
Retail & E-commerce
Interior Design
Fashion AI
Creative Content Solutions
Sports & Fitness
GenAI Video Tools
PricingDocumentation
Guest



Sign inSignup

Task History

  • Runnings
  • Models
  • Trains

You don't have task yet.

Go to Tools

Welcome

  • Tools
  • datmuttdoe/Comic-Babes
Tools
Task History

datmuttdoe/ Comic-Babes

2388runs
0Comments
Licence
About this license
CreativeML Open RAIL-MView LICENSE
AddendumView LICENSE

API Sample: datmuttdoe/Comic-Babes

You don't have any projects yet. To be able to use our api service effectively, please sign in/up and create a project.

Get your api key
  • curl
  • nodejs
  • csharp
  • php
  • swift
  • dart
  • kotlin
  • go
  • python

Prepare Authentication Signature

                          
  //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}")";
      
                        

Create a New Folder - Make HTTP Post Request

Create a New Folder - Response

Upload a File to the Folder - Make HTTP Post Request

Upload a File to the Folder - Response

Run Command - Make HTTP Post Request

                          
  curl -X POST "{{apiUrl}}/Run/{{toolSlugOwner}}/{{toolSlugProject}}"  \
  -H "Content-Type: {{contentType}}" \
  -H "x-api-key: ${YOUR_API_KEY}" \
  -H "x-nonce: ${NONCE}" \
  -H "x-signature: ${SIGNATURE}" \
  -d '{{toolParameters}}';

      
                        

Run Command - Response

                          
  //response body
  {
      "errors": [],
      "taskid": "2221",
      "socketaccesstoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt",
      "result": true
  }
      
                        

Get Task Detail - Make HTTP Post Request

                          
  curl -X POST "{{apiUrl}}/Task/Detail"  \
  -H "Content-Type: {{contentType}}" \
  -H "x-api-key: ${YOUR_API_KEY}" \
  -H "x-nonce: ${NONCE}" \
  -H "x-signature: ${SIGNATURE}" \
  -d '{
    "tasktoken": 'eDcCm5yyUfIvMFspTwww49OUfgXkQt',
  }';

      
                        

Get Task Detail - Response

                          
  //response body
  {
    "total": "1",
    "errors": [],
    "tasklist": [
        {
            "id": "2221",
            "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd",
            "name": "",
            "socketaccesstoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt",
            "parameters": {
                "inputImage": "https://api.wiro.ai/v1/File/mCmUXgZLG1FNjjjwmbtPFr2LVJA112/inputImage-6060136.png"
            },
            "debugoutput": "",
            "debugerror": "",
            "starttime": "1734513809",
            "endtime": "1734513813",
            "elapsedseconds": "6.0000",
            "status": "task_postprocess_end",
            "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
  }
      
                        

Get Task Process Information and Results with Socket Connection

                          
<script type="text/javascript">
  window.addEventListener('load',function() {
    //Get socketAccessToken from task run response
    var SocketAccessToken = 'eDcCm5yyUfIvMFspTwww49OUfgXkQt';
    WebSocketConnect(SocketAccessToken);
  });

  //Connect socket with connection id and register task socket token
  async function WebSocketConnect(accessTokenFromAPI) {
    if ("WebSocket" in window) {
        var ws = new WebSocket("wss://socket.wiro.ai/v1");
        ws.onopen = function() {  
          //Register task socket token which has been obtained from task run API response
          ws.send('{"type": "task_info", "tasktoken": "' + accessTokenFromAPI + '"}'); 
        };

        ws.onmessage = function (evt) { 
          var msg = evt.data;

          try {
              var debugHtml = document.getElementById('debug');
              debugHtml.innerHTML = debugHtml.innerHTML + "\n" + msg;

              var msgJSON = JSON.parse(msg);
              console.log('msgJSON: ', msgJSON);

              if(msgJSON.type != undefined)
              {
                console.log('msgJSON.target: ',msgJSON.target);
                switch(msgJSON.type) {
                    case 'task_queue':
                      console.log('Your task has been waiting in the queue.');
                    break;
                    case 'task_accept':
                      console.log('Your task has been accepted by the worker.');
                    break;
                    case 'task_preprocess_start':
                      console.log('Your task preprocess has been started.');
                    break;
                    case 'task_preprocess_end':
                      console.log('Your task preprocess has been ended.');
                    break;
                    case 'task_assign':
                      console.log('Your task has been assigned GPU and waiting in the queue.');
                    break;
                    case 'task_start':
                      console.log('Your task has been started.');
                    break;
                    case 'task_output':
                      console.log('Your task has been started and printing output log.');
                      console.log('Log: ', msgJSON.message);
                    break;
                    case 'task_error':
                      console.log('Your task has been started and printing error log.');
                      console.log('Log: ', msgJSON.message);
                    break;
                   case 'task_output_full':
                      console.log('Your task has been completed and printing full output log.');
                    break;
                    case 'task_error_full':
                      console.log('Your task has been completed and printing full error log.');
                    break;
                    case 'task_end':
                      console.log('Your task has been completed.');
                    break;
                    case 'task_postprocess_start':
                      console.log('Your task postprocess has been started.');
                    break;
                    case 'task_postprocess_end':
                      console.log('Your task postprocess has been completed.');
                      console.log('Outputs: ', msgJSON.message);
                      //output files will add ui
                      msgJSON.message.forEach(function(currentValue, index, arr){
                          console.log(currentValue);
                          var filesHtml = document.getElementById('files');
                          filesHtml.innerHTML = filesHtml.innerHTML + '<img src="' + currentValue.url + '" style="height:300px;">'
                      });
                    break;
                }
              }
          } catch (e) {
            console.log('e: ', e);
            console.log('msg: ', msg);
          }
        };

        ws.onclose = function() { 
          alert("Connection is closed..."); 
        };
    } else {              
        alert("WebSocket NOT supported by your Browser!");
    }
  }
</script>
      
                        

Prepare UI Elements Inside Body Tag

                          
  <div id="files"></div>
  <pre id="debug"></pre>
      
                        

Tell us about any details you want to generate

Specify things to not see in the output

Your request will cost $0.0006 per second.

(Total cost varies depending on the request’s execution time.)
1744807012 Report This Model

January 2024 Update:

Comic Babes v2 is here!

A new version featuring merges from Alexds9's Babes and LostDog's iComix - two terrific models. Plus, Alexds is a terrific member of the SD community. I highly recommend checking out his discord. There are a ton of great creators and resources on there!

This version is finally enough of a change from Comic Babes 1 for me to upload. I think the lines are a bit sharper, shorter prompts produce better images vs CB1, and it recognizes quite a few celebrity faces.

It does have a tendency to bend women at the waist, but I think that's a result of that pose being so prevalent in comic books. Try different pose/camera prompts if you're getting a lot of "45 degree" ladies. It's also a fairly horny model, so women tend to be a bit top-heavy. More on that below.

By default the model will produce 3d, digital painting style images. For a more cartoon/comic look, I recommend (not all at once, try these one or two at a time):

Positive prompts to try for less-realistic style: cartoonish style, low contrast, flat color style, restricted color palette, line art style, sketch style, (glossy:.7), etc.

If your ladies are too busty, try adding "small breasts, medium size breasts" to your positive prompt, along with "huge breasts" or "large breasts" in the negative. Trust me, they'll still be a solid c-d cup lol.

For my negative prompts, I almost always use the easynegative embedding, along with a few "must have" prompts. CB2 does very well with minimal negative prompts:

Negative prompt: easynegative, 3d, render, photorealistic, huge breasts

Really that's it for the negative prompt. If you're seeing things you don't like in your images, try adding one or two negatives at a time.

Also, Clip Skip 1 and 2 are a lot of fun to mess with. I like both enough, so I can't recommend one over the other.

Inpainting works for me when I'm correcting minor things (eyes, hands, mouth, etc). I haven't tried totally inpainting another image. Your mileage may vary.

Here's my typical workflow:

Model: Comic Babes v2

VAE: whatever you want. I've been using Anything

Clip Skip: Try 1, 2, or even 3. I usually start with 1, but CS 2 listens to style prompts a bit better I think. For this example I used Clip Skip 1

Positive Prompt:

(cartoonish style), flat color style, illustration of a woman, walking down the street, long platinum blonde hair blowing in the wind, wearing winter coat and a scarf, looking happy, looking up at the sky, snowing, snow, cold winter day, busy city background, cars, buildings, detailed face, perfect eyes

Negative prompt:

easynegative, 3d, render, photorealistic

Steps: 21

Size: 512x832

CFG: 7

Batch count: 4

Try this a few times, tweaking prompts one or two words at a time, until I find one I like.

Note: faces might not have much detail at 512x! That's what the next step is for.

Send an image I like to img2img

Just resize

Steps: 30

512x832

CFG: 7

Denoise: .3-.4

Script: SD Upscale

Upscaler: ESRGAN_4x

Tile: 64

Scale Factor: 2

Then inpaint any minor details.

Done.

You can find this image in my examples!

I have a slow machine. I'm actually running on a mac. My average iteration takes 2.5s/it, so I work within the limits of what I have. I'm sure you can produce more and larger images with a better machine.


April 2023 Update:

First of all, thank you so much for 1,000 likes (and counting)! I had no idea this model would do so well. I just found myself using it all the time and decided to share it. It makes me happy that so many people enjoy it! And, I hope this encourages you to share your ai assets with the community as well!

Also, I added version 1.0 Baked Vae. It's the same as the original version, just includes the anything v4 vae. I was getting consistent results with this baked version, and decided to share it with the community! Can't wait to see your images!

A model I merged that I just keep coming back to, so I decided to share it.

A 50/50 blend of iCoMix v1 and Babes v1.1. Recommended you use a vae. I use anything_v4, which is available for download here.

EasyNegative also works very well with this merge, and minimal negative prompts tend to produce nice results.

I'm already working on some other versions that incorporate new versions of iCoMix and Babes.

Please share your images! I'd love to see what you create.

Thanks to lostdog and alexds9 for their terrific models.

Tools

View All

We couldn't find any matching results.

King_Hatchet/SereneXL

SereneXL
Run time: 1 second
2554 runs
0

desertPixel/Flat-Pixel-Art-SDXL

Flat Pixel Art SDXL
Run time: 1 second
2643 runs
0

desertPixel/Hyper-Graffiti-Toon-SDXL

Hyper Graffiti Toon SDXL
Run time: 1 second
1180 runs
0

desertPixel/Diamond-Jewel-SDXL

Diamond Jewel SDXL
Run time: 1 second
2978 runs
0

desertPixel/Tattoo-Sketch-Geometric-SDXL

Tattoo Sketch Geometric SDXL
Run time: 1 second
2393 runs
0

desertPixel/Made-Of-Smoke-SDXL

Made Of Smoke SDXL
Run time: 1 second
1893 runs
0

Select Language

Logo of nvidia programLogo of nvidia program
Wiro AI brings machine learning easily accessible to all in the cloud.
  • WIRO
  • About
  • Careers
  • Contact
  • Language Language
  • Product
  • Tools
  • Pricing
  • Roadmap
  • Changelog
  • Status
  • Documentation
  • Introduction
  • Start Your First Project
  • Example Projects

2023 © Wiro.ai | Terms of Service & Privacy Policy