Projects

Adds an image to a playable (Roles: user)

Changed on
post/project/playables/{id}/image

Request

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

Path parameters

idstring required

Request body

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.

Response

Success

_idstring
user_idstring
engine'phaser' | 'threejs' | 'pixijs'
titlestring
summarystring
original_promptstring
how_to_playstring
codestring
compiled_codestring
last_modifiedinteger
code_historystring
art_stylestring
perspectivestring

Changes