header text

AI Tools 99

Login

face-to-sticker API

Running face-to-sticker workflow. Only pay for the GPU runtime, billed by the second.


Demo

loginlogin
loginlogin

Run time and cost

This model runs on 1002 GPU hardware. Predictions are typically completed within 30 seconds.



Generate API

How to obtain an API key

Notice: When using the API, you must include the apikey in the request header.

  1. Log in and navigate to the ApiKey management page.

login

  1. Add an API key, then copy it into your code.

login

API Domain

api.aitools99.net

HTTP Request

POST /api/v1/generate

Headers

Parameter NameRequiredTypeDescription
Content-TypeYesStringMust be set to application/json
apikeyYesStringUsed for authentication

Request Body (Body)

The request body is in JSON format and includes the following parameters:

    {
    "mid":3124, //the mid of face-to-sticker 
        "input":{
            "image":"https://img.aitools99.net/23258580cfab4380b1165616533121cd.png",   //The image URL must be accessible
            "seed":342383,  //Optional
            "steps": 20,
            "width": 1024,
            "height": 1024,
            "prompt": "woman",
            "upscale": false,
            "upscale_steps": 10,
            "negative_prompt": "",
            "prompt_strength": 4.5,
            "ip_adapter_noise": 0.5,
            "ip_adapter_weight": 0.2,
            "instant_id_strength": 0.7
        }
    }

Request Parameters

Parameter NameRequiredTypeDescription
midYesStringmodel id
inputYesObjectinput data

Request Example

POST /api/v1/generate HTTP/1.1
Host: api.aitools99.net
Content-Type: application/json
apikey:73cf14b2-97bc-48e4-8e68-c7e616a23f07
 
{
    "mid":3124, //the mid of face-to-sticker 
    "input":{
        "image":"https://img.aitools99.net/23258580cfab4380b1165616533121cd.png",   //The image URL must be accessible
        "seed":342383,  //Optional
        "steps": 20,
        "width": 1024,
        "height": 1024,
        "prompt": "woman",
        "upscale": false,
        "upscale_steps": 10,
        "negative_prompt": "",
        "prompt_strength": 4.5,
        "ip_adapter_noise": 0.5,
        "ip_adapter_weight": 0.2,
        "instant_id_strength": 0.7
    }
}

Response Parameters

Parameter NameTypeDescription
messageStringmessage
dataStringdata containing tid
codenumbercode
status_codeStringstatus

Response Example

    {
        "message": "post success.",
        "data": {
            "tid": "207be346-9ed9-49af-9fb3-a1726f14de93"
        },
        "code": 20000,
        "status_code": "success"
    }



Result API

API Domain

api.aitools99.net

HTTP Request

GET /api/v1/result?tid=${tid}

Headers

Parameter NameRequiredTypeDescription
apikeyYesStringUsed for authentication

Request Body (Body)

null

Request Parameters

Parameter NameRequiredTypeDescription
tidYesStringtid

Request Example

https://api.aitools99.net/api/v1/result?tid=207be346-9ed9-49af-9fb3-a1726f14de93

Response Parameters

Parameter NameTypeDescription
messageStringmessage
dataObjectReturned result data
codenumbercode
status_codeStringstatus

Response Example

    {
        "message": "get success.",
        "data": {
            "tid": "35cb5abc-4ef8-4e5d-9b8f-21a19267abed",
            "input": {
                "image": "https://img.aitools99.net/23258580cfab4380b1165616533121cd.png",
                "steps": 20,
                "width": 1024,
                "height": 1024,
                "prompt": "woman",
                "upscale": true,
                "upscale_steps": 10,
                "negative_prompt": "",
                "prompt_strength": 4.5,
                "ip_adapter_noise": 0.5,
                "ip_adapter_weight": 0.2,
                "instant_id_strength": 0.7
            },
            "output": [
                "https://img.aitools99.net/ca44d52c6b9d49e0964d7f56313261a4.png",
                "https://img.aitools99.net/97739187449449f5a1462d05bc04b1b5.png"
            ],
            "created_at": "2024-03-27T04:40:41.940Z",
            "started_at": "2024-03-27T04:40:42.146Z",
            "completed_at": "2024-03-27T04:41:06.458Z",
            "predict_time": 17,
            "total_time": 25
        },
        "code": 20000,
        "status_code": "success"
    }


others

Loras

Loras are all made by artificialguybr. If you like them you can make a donation to their Patreon or Ko-fi:

https://www.patreon.com/user?u=81570187
https://ko-fi.com/artificialguybr

Or follow them on Twitter: https://twitter.com/artificialguybr

notice

Non-commercial use only.

It uses the following weights which are non-commercial:

  • BRIA AI RMBG
  • InsightFace antelopev2 (which is used by InstantID)