latestSwagger 2.02026-08-19218237253.7 KB

3af866d68651

Gamestorming

Generates spritesheet by transferring motion from video or spritesheet to image (Roles: user)

post/games/generate/spritesheet-motion-transfer

Request body

request_idstring
videostring
num_framesnumber
target_frame_sizenumber
loopboolean
cropboolean
margin_rationumber float
margin_ratio_horizontalnumber float
margin_ratio_verticalnumber float
margin_ratio_mode'manual' | 'none'
model'tango' | 'forge'
durationnumber float

Animation length in seconds. Available values depend on the model — see /credits/costs (per-model lists are auto-generated into the public API docs).

pixel_art_filterboolean
spritesheet_with_backgroundboolean

Response

Success

tagsstring[]
idstring
audio_b64string
durationnumber float
start_timestampnumber
end_timestampnumber
num_framesnumber
max_num_framesnumber
margin_rationumber
margin_ratio_horizontalnumber float
margin_ratio_verticalnumber float
margin_ratio_modestring
target_frame_sizenumber
loopboolean
bad_loopboolean
out_of_frameboolean
cropboolean
original_promptstring
motion_promptstring
promptstring
seednumber
sprite_sheet_b64string
sprite_sheet_raw_b64string
preview_video_b64string
first_frame_b64string
last_frame_b64string
has_audioboolean
is_editedboolean

True when this spritesheet was produced by an edit (prompt, outpaint, or fix_loop) — the whole animation was re-rendered, so frames may drift from the original.

labelstring
preview_scalenumber float