Gamestorming

Generates a video's first frame (Roles: user)

Changed on
post/games/generate/videos/first-frame

Request

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

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
original_promptstring
promptstring
urlstring
seedinteger
durationnumber float
has_audioboolean
modelstring

Codename of the model that generated the video, e.g. eagle. Absent on videos created before it was recorded.

pixel_gridinteger[] nullable

Pixel-art grid dimensions [width, height] detected/used by the generation, or null. Reported by pixel-art-aware models (forge-pixel); must always be persisted with the video.

reference_urlstring

Motion clip the animation was driven by (motion transfer presets), as reported by the ML. Absent on videos saved before it was recorded.

crop_and_center_imageboolean
margin_rationumber float
margin_ratio_horizontalnumber float
margin_ratio_verticalnumber float

Changes