Gamestorming

Generates images inpainting (Roles: user)

Changed on
post/games/generate/images-inpainting

Request

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

Query parameters

skipGenerationHistoryboolean

Request body

request_idstring
modelstring
descriptionsstring[]
game_idsstring[]
search_imagesinteger
image_typestring
contextstring
art_stylestring
perspectivestring
hintsstring[]
project_idstring
mask_imagestring
strengthnumber float
aspect_ratiostring
preserve_colorboolean
preserve_compositionboolean
preserve_detailsboolean
edit_modestring
camera_rotationinteger
camera_elevationinteger
loopboolean
cropboolean
framesnumber
frame_sizenumber
use_pixel_gridboolean
margin_rationumber float
margin_ratio_horizontalnumber float
margin_ratio_verticalnumber float
margin_ratio_modestring
durationnumber float
forceboolean

3D images with an initial_image_file - always redraw it as a 3D render, even when it is already a cut-out (by default a cut-out is used as is and any other image only has its background removed).

promptstring

3D images with an initial_image_file - instructions for redrawing it as a 3D render, e.g. "keep the sword in the right hand". Implies force.

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