Motion

Make a clip from an image and a prompt

Pass image_url to start at once. Otherwise give content_type, PUT the image to upload_url, then call /start. The price is held from the balance and refunded if the clip fails or is refused.

post/motion/jobs

Request

  • Base URL: https://api.phoenixlabs.space
  • URL: https://api.phoenixlabs.space/motion/jobs
  • Auth: HTTP bearer

Request body

promptstring required
image_urlstring
content_type'image/jpeg' | 'image/png' | 'image/webp'
image_bytesinteger
size'480p' | '720p'
seconds5
loopboolean
seedinteger

Response

The clip (and upload_url when no image_url was given).

upload_urlstring

Changes

No recorded changes to this operation across all 1 revision of this API.