Guest



Sign inSignup
  • Home
  • Dashboard
  • Tools
  • Wiro AppsApps
  • Pricing

Welcome

HomeDashboardToolsWiro AppsApps
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
  • codexq/Particalize
Tools
Task History

codexq/ Particalize
Copy Prompt for LLM

View as Markdown
View as Markdown (Full)

2080runs
0Comments

API Sample: codexq/Particalize

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>
      
                        

Choose an image that will re-generate

Choose an image URL that will re-generate

Trigger Word(s):

Tell us about any details you want to generate

Particalizescale:

negative prompt

codexq-Particalize-sample-1.mp4
codexq-Particalize-sample-2.mp4
codexq-Particalize-sample-3.mp4
codexq-Particalize-sample-4.mp4
codexq-Particalize-sample-5.mp4
codexq-Particalize-sample-6.mp4
codexq-Particalize-sample-7.mp4
codexq-Particalize-sample-8.mp4
codexq-Particalize-sample-9.mp4
codexq-Particalize-sample-10.mp4
codexq-Particalize-sample-11.mp4
codexq-Particalize-sample-12.mp4
codexq-Particalize-sample-13.mp4
codexq-Particalize-sample-14.mp4
codexq-Particalize-sample-15.mp4
1746193355 Report This Model

If you like my lora, you can come and discuss via discord channel

可以通过 QQ 3877209711 联系我

It is a Lora that can Particalize anything. It might require a little bit of imagination to prompt this Lora. Posts are welcome.

这是一个可以将物体粒子化的Lora。写提示词的时候可能需要一些想象力。欢迎使用完之后返视频到post。

---------------------------------------------------------------------------------------------------------------------------------

Please use version1.5, Suggested strength: 0.4-1.0!!!

Suggested step: 30 cfg: 6.0. For better result, DO NOT use Teacache, it will do great damage to the Lora model. Turning on the slg of Kijai workflow might increase the quality.

请使用最新版本v1.5,建议强度0.4-1.0!!!想要效果好,不要开Teacache,否则生成质量会很差!然后最好开kj的slg

建议步数30 CFG: 6.0

---------------------------------------------------------------------------------------------------------------------------------

Prompt examples: something is disintegrating or turning into something ("something" need to be substituted)

eg(weight 1.0). The yellow Pikachu is disintegrating or turning into small yellow leaves. Then a Nintendo Switch appears on the sofa.

eg(weight 0.45). A figurine wearing a yellow jacket and black shirt underneath. It is disintegrating or turning into many white bread slices.

If you wanna do small particles use weight 1.0, if you wanna be more creative use weight 0.4-0.5 (see my post that a figurine turning to bread slices)

You can use "background change" as the negative prompt.

提示词:什么 is disintegrating or turning into 什么 (“什么”要根据你的需求替换)

例如(权重1.0):The yellow Pikachu is disintegrating or turning into small yellow leaves. Then a Nintendo Switch appears on the sofa.

例如(权重0.4-0.5):A figurine wearing a yellow jacket and black shirt underneath. It is disintegrating or turning into many white bread slices.

如果你想做颗粒化那就用权重1.0,如果你想更加有创意那么就用权重0.4-0.5(看我的post那个变成小面包的dio)

你可以把“background change”作为反向提示词

---------------------------------------------------------------------------------------------------------------------------------

Trained on WAN2.1-I2V-480p model, 720p-i2v model might work as well.

在WAN2.1-I2V-480p模型上训练的,但是WAN2.1-I2V-720p模型应该也可以用

Tools

View All

We couldn't find any matching results.

Corruptedcupid/Illumination-style

Illumination style
Run time: 1 second
2864 runs
0

Corruptedcupid/Ghibli-style-Flux

Ghibli style Flux
Run time: 1 second
1975 runs
0

ZyloO/Cinematic-Shot

Cinematic Shot
Run time: 1 second
1183 runs
0

Alexia_Rousse/Doll-Girl-3D

Doll Girl 3D
Run time: 1 second
1465 runs
0

HailoKnight/Fantasy-Wizard-Witches

Fantasy Wizard & Witches
Run time: 1 second
1192 runs
0

debattistacliff519/Soldato-romano-v1

Soldato romano v1
Run time: 1 second
2437 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