Gamestorming

Generates image suitable for 3d models (Roles: user)

Changed on
post/games/generate/3d-images

Request

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

Query parameters

force3Dboolean

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[]
sprite3d_lookobject

The look saved for rendering this model as a sprite (3D to sprite), a Sprite3DLook, set through POST /games/sprite3d/look (which validates it). Carried through in-place rewrites of the model and onto a re-rig. Mixed rather than a $ref: a $ref here compiles to a subdocument array, which a dotted-path update writes as an array.

sprite3d_attachmentsobject[]

The items this model holds in Directional Sprites, each a Sprite3DAttachment, set through POST /games/sprite3d/attachments (which validates them). Carried through in-place rewrites of the model and onto a re-rig.

Changes