top of page
Поиск

KSuse AI Cloud API

  • Фото автора: Konstantin Kuyukov
    Konstantin Kuyukov
  • 8 мар. 2024 г.
  • 1 мин. чтения

Обновлено: 5 июн. 2024 г.

An API has been created for using KSuse AI Cloud in third-party software.



Requests to the API can be made in two modes: synchronous and asynchronous.


Using an asynchronous approach is preferable, as it allows you to process many photos in parallel without waiting for processing results.


Using an asynchronous approach is preferable, as it allows you to process many photos in parallel without waiting for processing results.

Example for Fotomaster Photo Booth:

rename %1 temp.jpg

curl -X POST -F "token=KSUSE_API_TOKEN" -F "gdpr=0" -F "useCoins=0" -F "asr=SameAS" -F "mode_type=BodyAndBG" -F "prompt_influence=50" -F "autodetect=1" -F "prompt=Cyberpunk city" -F "nprompt=dark, dirty" -F "file=@C:\MirrorMeBooth\Events\MyFirstEvent\raw\temp.jpg" -f "https://api-de.photoswith.me/directFake" -o "%1"

del "C:\MirrorMeBooth\Events\MyFirstEvent\raw\temp.jpg"

 
 

©2018-2025, ИП Куюков Константин Викторович

bottom of page