Misc

Uploads user images (Roles: user)

post/images/upload

Request

  • Base URL
    https://api.ludo.ai/api
  • Auth
    API key in header Authorization

Request body

filesstring[]
mimesstring[]
compressboolean

Response

Success

tagsstring[]
idstring
image_idstring
urlstring
typestring
final_scorenumber float
nsfw_probnumber float
similaritynumber float
widthinteger
heightinteger
game_idstring
hosted_filenamestring
iconboolean
targetSizeinteger
seedinteger
embeddedboolean
analysedboolean
imagestring
image_typestring
promptstring
motion_promptstring
request_idstring
hintsstring[]
selected_genresstring[]
selected_colorsstring[]
selected_stylestring
selected_perspectivestring
is_safeboolean
platformstring
loadingboolean
original_hintsstring[]
genresstring[]
edit_maskstring
edit_modestring
camera_rotationinteger
camera_elevationinteger
nsfwnumber float
pixel_gridinteger[] nullable

Pixel-art grid dimensions [width, height] the ML detected in (or gave) the image, as on GeneratedVideo. The ML reports it on every image generation; absent when no grid was found and on images saved before it was recorded.

pixel_sizenumber float

Pixel art conversion only: the size of one pixel-art pixel, in the source image's pixels (the caller's, or the detected one).

modelstring

Id of the model the ML reports for the image (klimt, frida, ...). Absent on images saved before it was kept.

Changes

No recorded changes to this operation across all 42 revisions of this API.