Jobs

Enqueue a spritesheet new-view job (Roles: user)

post/jobs/generate-spritesheet-new-view

Request body

request_idstring
promptstring

Optional instructions: the character's facing in the new view ("its back to the camera"), where the action goes ("the kick goes to the left of the frame"), or anything else about the motion.

durationnumber float

Seconds of the source animation to re-render (a longer one is sped up to fit). Defaults to the source's own length, capped at 5.

model'hydra'
loopboolean
cropboolean
num_framesnumber
target_frame_sizenumber
margin_rationumber float
margin_ratio_horizontalnumber float
margin_ratio_verticalnumber float
margin_ratio_mode'auto' | 'manual' | 'none'
match_color_paletteboolean
use_pixel_gridboolean
spritesheet_with_backgroundboolean

Response

Accepted

jobIdstring required
status'queued' | 'running' | 'succeeded' | 'failed' | 'canceled' required
queue_positioninteger

Changes

Changed in 1 of the 19 revisions of this API.1